/linux-2.6.39/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 | sock.h | 520 #define sk_for_each(__sk, node, list) \ argument 521 hlist_for_each_entry(__sk, node, list, sk_node) 522 #define sk_for_each_rcu(__sk, node, list) \ argument 523 hlist_for_each_entry_rcu(__sk, node, list, sk_node) 524 #define sk_nulls_for_each(__sk, node, list) \ argument 525 hlist_nulls_for_each_entry(__sk, node, list, sk_nulls_node) 526 #define sk_nulls_for_each_rcu(__sk, node, list) \ argument 527 hlist_nulls_for_each_entry_rcu(__sk, node, list, sk_nulls_node) 528 #define sk_for_each_from(__sk, node) \ argument 529 if (__sk && ({ node = &(__sk)->sk_node; 1; })) \ [all …]
|
D | af_unix.h | 63 #define unix_sk(__sk) ((struct unix_sock *)__sk) argument
|
D | ax25.h | 248 #define ax25_sk(__sk) ((ax25_cb *)(__sk)->sk_protinfo) argument
|
/linux-2.6.39/include/linux/ |
D | ipv6.h | 408 static inline struct ipv6_pinfo * inet6_sk(const struct sock *__sk) in inet6_sk() argument 410 return inet_sk(__sk)->pinet6; in inet6_sk() 498 static inline struct ipv6_pinfo * inet6_sk(const struct sock *__sk) in inet6_sk() argument 514 #define __inet6_rcv_saddr(__sk) NULL argument 515 #define inet6_rcv_saddr(__sk) NULL argument 516 #define tcp_twsk_ipv6only(__sk) 0 argument 517 #define inet_v6_ipv6only(__sk) 0 argument 520 #define INET6_MATCH(__sk, __net, __hash, __saddr, __daddr, __ports, __dif)\ argument 521 (((__sk)->sk_hash == (__hash)) && sock_net((__sk)) == (__net) && \ 522 ((*((__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
|
/linux-2.6.39/include/net/iucv/ |
D | af_iucv.h | 60 #define iucv_sk(__sk) ((struct iucv_sock *) __sk) argument
|
/linux-2.6.39/include/net/bluetooth/ |
D | bluetooth.h | 113 #define bt_sk(__sk) ((struct bt_sock *) __sk) argument
|
/linux-2.6.39/net/rxrpc/ |
D | ar-internal.h | 76 #define rxrpc_sk(__sk) container_of((__sk), struct rxrpc_sock, sk) argument
|