| H A D | tcp_ao.c | 143 static int __tcp_ao_key_cmp(const struct tcp_ao_key *key, int l3index, in __tcp_ao_key_cmp() 151 if (l3index >= 0 && (key->keyflags & TCP_AO_KEYF_IFINDEX)) { in __tcp_ao_key_cmp() 152 if (key->l3index != l3index) in __tcp_ao_key_cmp() 153 return (key->l3index > l3index) ? 1 : -1; in __tcp_ao_key_cmp() 179 static int tcp_ao_key_cmp(const struct tcp_ao_key *key, int l3index, in tcp_ao_key_cmp() 187 return __tcp_ao_key_cmp(key, l3index, in tcp_ao_key_cmp() 192 return __tcp_ao_key_cmp(key, l3index, addr, in tcp_ao_key_cmp() 196 static struct tcp_ao_key *__tcp_ao_do_lookup(const struct sock *sk, int l3index, in __tcp_ao_do_lookup() 142 __tcp_ao_key_cmp(const struct tcp_ao_key * key,int l3index,const union tcp_ao_addr * addr,u8 prefixlen,int family,int sndid,int rcvid) __tcp_ao_key_cmp() argument 178 tcp_ao_key_cmp(const struct tcp_ao_key * key,int l3index,const union tcp_ao_addr * addr,u8 prefixlen,int family,int sndid,int rcvid) tcp_ao_key_cmp() argument 195 __tcp_ao_do_lookup(const struct sock * sk,int l3index,const union tcp_ao_addr * addr,int family,u8 prefix,int sndid,int rcvid) __tcp_ao_do_lookup() argument 220 tcp_ao_do_lookup(const struct sock * sk,int l3index,const union tcp_ao_addr * addr,int family,int sndid,int rcvid) tcp_ao_do_lookup() argument 708 int l3index; tcp_v4_ao_lookup_rsk() local 717 int l3index = l3mdev_master_ifindex_by_index(sock_net(sk), tcp_v4_ao_lookup() local 725 tcp_ao_prepare_reset(const struct sock * sk,struct sk_buff * skb,const struct tcp_ao_hdr * aoh,int l3index,u32 seq,struct tcp_ao_key ** key,char ** traffic_key,bool * allocated_traffic_key,u8 * keyid,u32 * sne) tcp_ao_prepare_reset() argument 848 tcp_ao_inbound_lookup(unsigned short int family,const struct sock * sk,const struct sk_buff * skb,int sndid,int rcvid,int l3index) tcp_ao_inbound_lookup() argument 872 int l3index; tcp_ao_syncookie() local 904 tcp_ao_verify_hash(const struct sock * sk,const struct sk_buff * skb,unsigned short int family,struct tcp_ao_info * info,const struct tcp_ao_hdr * aoh,struct tcp_ao_key * key,u8 * traffic_key,u8 * phash,u32 sne,int l3index) tcp_ao_verify_hash() argument 945 tcp_inbound_ao_hash(struct sock * sk,const struct sk_buff * skb,unsigned short int family,const struct request_sock * req,int l3index,const struct tcp_ao_hdr * aoh) tcp_inbound_ao_hash() argument 1101 int family, l3index; tcp_ao_connect_init() local 1197 int l3index, ret = -ENOMEM; tcp_ao_copy_all_matching() local 1605 int ret, l3index = 0; tcp_ao_add_cmd() local 1818 int err, addr_len, l3index = 0; tcp_ao_del_cmd() local 2116 int err, l3index, user_len; tcp_ao_copy_mkts_to_user() local [all...] |