Home
last modified time | relevance | path

Searched refs:l3index (Results 1 – 4 of 4) sorted by relevance

/linux/net/ipv4/
H A Dtcp_ao.c246 static int __tcp_ao_key_cmp(const struct tcp_ao_key *key, int l3index, in __tcp_ao_key_cmp() argument
254 if (l3index >= 0 && (key->keyflags & TCP_AO_KEYF_IFINDEX)) { in __tcp_ao_key_cmp()
255 if (key->l3index != l3index) in __tcp_ao_key_cmp()
256 return (key->l3index > l3index) ? 1 : -1; in __tcp_ao_key_cmp()
282 static int tcp_ao_key_cmp(const struct tcp_ao_key *key, int l3index, in tcp_ao_key_cmp() argument
290 return __tcp_ao_key_cmp(key, l3index, in tcp_ao_key_cmp()
295 return __tcp_ao_key_cmp(key, l3index, addr, in tcp_ao_key_cmp()
299 static struct tcp_ao_key *__tcp_ao_do_lookup(const struct sock *sk, int l3index, in __tcp_ao_do_lookup() argument
324 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
766 int l3index; tcp_v4_ao_lookup_rsk() local
775 int l3index = l3mdev_master_ifindex_by_index(sock_net(sk), tcp_v4_ao_lookup() local
783 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
901 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
925 int l3index; tcp_ao_syncookie() local
957 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
992 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
1143 int family, l3index; tcp_ao_connect_init() local
1239 int l3index, ret = -ENOMEM; tcp_ao_copy_all_matching() local
1579 int ret, l3index = 0; tcp_ao_add_cmd() local
1795 int err, addr_len, l3index = 0; tcp_ao_del_cmd() local
2093 int err, l3index, user_len; tcp_ao_copy_mkts_to_user() local
[all...]
H A Dtcp_ipv4.c668 int l3index = sdif ? dif : 0; in tcp_v4_ao_sign_reset() local
677 if (tcp_ao_prepare_reset(sk, skb, aoh, l3index, ntohl(reply->seq), in tcp_v4_ao_sign_reset()
780 int l3index; in tcp_v4_send_reset() local
785 l3index = tcp_v4_sdif(skb) ? inet_iif(skb) : 0; in tcp_v4_send_reset()
787 key = tcp_md5_do_lookup(sk, l3index, addr, AF_INET); in tcp_v4_send_reset()
792 int l3index; in tcp_v4_send_reset() local
811 l3index = sdif ? dif : 0; in tcp_v4_send_reset()
813 key = tcp_md5_do_lookup(sk1, l3index, addr, AF_INET); in tcp_v4_send_reset()
1095 int l3index; local
1104 l3index
1134 int l3index; global() local
1239 __tcp_md5_do_lookup(const struct sock * sk,int l3index,const union tcp_md5_addr * addr,int family,bool any_l3index) global() argument
1285 tcp_md5_do_lookup_exact(const struct sock * sk,const union tcp_md5_addr * addr,int family,u8 prefixlen,int l3index,u8 flags) global() argument
1320 int l3index; global() local
1345 __tcp_md5_do_add(struct sock * sk,const union tcp_md5_addr * addr,int family,u8 prefixlen,int l3index,u8 flags,const u8 * newkey,u8 newkeylen,gfp_t gfp) global() argument
1394 tcp_md5_do_add(struct sock * sk,const union tcp_md5_addr * addr,int family,u8 prefixlen,int l3index,u8 flags,const u8 * newkey,u8 newkeylen) global() argument
1423 tcp_md5_key_copy(struct sock * sk,const union tcp_md5_addr * addr,int family,u8 prefixlen,int l3index,struct tcp_md5sig_key * key) global() argument
1450 tcp_md5_do_del(struct sock * sk,const union tcp_md5_addr * addr,int family,u8 prefixlen,int l3index,u8 flags) global() argument
1486 int l3index = 0; global() local
1690 int l3index; global() local
[all...]
/linux/net/ipv6/
H A Dtcp_ipv6.c614 int l3index) in tcp_v6_md5_do_lookup() argument
616 return tcp_md5_do_lookup(sk, l3index, in tcp_v6_md5_do_lookup()
623 int l3index; in tcp_v6_md5_lookup() local
625 l3index = l3mdev_master_ifindex_by_index(sock_net(sk), in tcp_v6_md5_lookup()
628 l3index); in tcp_v6_md5_lookup()
637 int l3index = 0; in tcp_v6_parse_md5_keys() local
671 l3index = dev->ifindex; in tcp_v6_parse_md5_keys()
677 if (!dev || !l3index) in tcp_v6_parse_md5_keys()
685 l3index, flags); in tcp_v6_parse_md5_keys()
687 AF_INET6, prefixlen, l3index, flag in tcp_v6_parse_md5_keys()
1045 int l3index; tcp_v6_send_reset() local
1057 int l3index; tcp_v6_send_reset() local
1096 int l3index; tcp_v6_send_reset() local
1223 int l3index; global() local
1263 int l3index = tcp_v6_sdif(skb) ? tcp_v6_iif_l3_slave(skb) : 0; global() local
1400 int l3index; global() local
[all...]
/linux/include/net/
H A Dtcp_ao.h56 int l3index; member
219 const struct request_sock *req, int l3index,
222 struct tcp_ao_key *tcp_ao_do_lookup(const struct sock *sk, int l3index,
231 const struct tcp_ao_hdr *aoh, int l3index, u32 seq,
303 const struct request_sock *req, int l3index, in tcp_inbound_ao_hash() argument
310 int l3index, const union tcp_ao_addr *addr, in tcp_ao_do_lookup() argument