/include/net/ |
D | inet_hashtables.h | 302 #define INET_MATCH(__sk, __net, __hash, __cookie, __saddr, __daddr, __ports, __dif)\ argument 303 (((__sk)->sk_hash == (__hash)) && net_eq(sock_net(__sk), (__net)) && \ 304 ((*((__addrpair *)&(inet_sk(__sk)->inet_daddr))) == (__cookie)) && \ 305 ((*((__portpair *)&(inet_sk(__sk)->inet_dport))) == (__ports)) && \ 306 (!((__sk)->sk_bound_dev_if) || ((__sk)->sk_bound_dev_if == (__dif)))) 307 #define INET_TW_MATCH(__sk, __net, __hash, __cookie, __saddr, __daddr, __ports, __dif)\ argument 308 (((__sk)->sk_hash == (__hash)) && net_eq(sock_net(__sk), (__net)) && \ 309 ((*((__addrpair *)&(inet_twsk(__sk)->tw_daddr))) == (__cookie)) && \ 310 ((*((__portpair *)&(inet_twsk(__sk)->tw_dport))) == (__ports)) && \ 311 (!((__sk)->sk_bound_dev_if) || ((__sk)->sk_bound_dev_if == (__dif)))) [all …]
|
D | af_unix.h | 65 #define unix_sk(__sk) ((struct unix_sock *)__sk) argument
|
D | sock.h | 576 #define sk_for_each(__sk, node, list) \ argument 577 hlist_for_each_entry(__sk, node, list, sk_node) 578 #define sk_for_each_rcu(__sk, node, list) \ argument 579 hlist_for_each_entry_rcu(__sk, node, list, sk_node) 580 #define sk_nulls_for_each(__sk, node, list) \ argument 581 hlist_nulls_for_each_entry(__sk, node, list, sk_nulls_node) 582 #define sk_nulls_for_each_rcu(__sk, node, list) \ argument 583 hlist_nulls_for_each_entry_rcu(__sk, node, list, sk_nulls_node) 584 #define sk_for_each_from(__sk, node) \ argument 585 if (__sk && ({ node = &(__sk)->sk_node; 1; })) \ [all …]
|
D | ping.h | 23 #define ping_portaddr_for_each_entry(__sk, node, list) \ argument 24 hlist_nulls_for_each_entry(__sk, node, list, sk_nulls_node)
|
D | ax25.h | 248 #define ax25_sk(__sk) ((ax25_cb *)(__sk)->sk_protinfo) argument
|
/include/linux/ |
D | ipv6.h | 421 static inline struct ipv6_pinfo * inet6_sk(const struct sock *__sk) in inet6_sk() argument 423 return inet_sk(__sk)->pinet6; in inet6_sk() 511 static inline struct ipv6_pinfo * inet6_sk(const struct sock *__sk) in inet6_sk() argument 527 #define __inet6_rcv_saddr(__sk) NULL argument 528 #define inet6_rcv_saddr(__sk) NULL argument 529 #define tcp_twsk_ipv6only(__sk) 0 argument 530 #define inet_v6_ipv6only(__sk) 0 argument 533 #define INET6_MATCH(__sk, __net, __hash, __saddr, __daddr, __ports, __dif)\ argument 534 (((__sk)->sk_hash == (__hash)) && sock_net((__sk)) == (__net) && \ 535 ((*((__portpair *)&(inet_sk(__sk)->inet_dport))) == (__ports)) && \ [all …]
|
D | udp.h | 91 #define udp_portaddr_for_each_entry(__sk, node, list) \ argument 92 hlist_nulls_for_each_entry(__sk, node, list, __sk_common.skc_portaddr_node) 94 #define udp_portaddr_for_each_entry_rcu(__sk, node, list) \ argument 95 hlist_nulls_for_each_entry_rcu(__sk, node, list, __sk_common.skc_portaddr_node) 97 #define IS_UDPLITE(__sk) (udp_sk(__sk)->pcflag) argument
|
/include/net/iucv/ |
D | af_iucv.h | 102 #define iucv_sk(__sk) ((struct iucv_sock *) __sk) argument
|
/include/net/bluetooth/ |
D | bluetooth.h | 185 #define bt_sk(__sk) ((struct bt_sock *) __sk) argument
|