Home
last modified time | relevance | path

Searched refs:__sk (Results 1 – 15 of 15) sorted by relevance

/linux/include/net/
A Dinet6_hashtables.h108 #define INET6_MATCH(__sk, __net, __saddr, __daddr, __ports, __dif, __sdif) \ argument
109 (((__sk)->sk_portpair == (__ports)) && \
110 ((__sk)->sk_family == AF_INET6) && \
111 ipv6_addr_equal(&(__sk)->sk_v6_daddr, (__saddr)) && \
112 ipv6_addr_equal(&(__sk)->sk_v6_rcv_saddr, (__daddr)) && \
113 (((__sk)->sk_bound_dev_if == (__dif)) || \
114 ((__sk)->sk_bound_dev_if == (__sdif))) && \
115 net_eq(sock_net(__sk), (__net)))
A Dinet_hashtables.h311 (((__sk)->sk_portpair == (__ports)) && \
312 ((__sk)->sk_addrpair == (__cookie)) && \
313 (((__sk)->sk_bound_dev_if == (__dif)) || \
314 ((__sk)->sk_bound_dev_if == (__sdif))) && \
315 net_eq(sock_net(__sk), (__net)))
321 (((__sk)->sk_portpair == (__ports)) && \
322 ((__sk)->sk_daddr == (__saddr)) && \
323 ((__sk)->sk_rcv_saddr == (__daddr)) && \
324 (((__sk)->sk_bound_dev_if == (__dif)) || \
325 ((__sk)->sk_bound_dev_if == (__sdif))) && \
[all …]
A Dsock.h807 #define sk_for_each(__sk, list) \ argument
809 #define sk_for_each_rcu(__sk, list) \ argument
815 #define sk_for_each_from(__sk) \ argument
816 hlist_for_each_entry_from(__sk, sk_node)
818 if (__sk && ({ node = &(__sk)->sk_nulls_node; 1; })) \
822 #define sk_for_each_bound(__sk, list) \ argument
1091 release_sock(__sk); \
1099 lock_sock(__sk); \
1653 #define bh_lock_sock(__sk) spin_lock(&((__sk)->sk_lock.slock)) argument
1654 #define bh_lock_sock_nested(__sk) \ argument
[all …]
A Dping.h19 #define ping_portaddr_for_each_entry(__sk, node, list) \ argument
20 hlist_nulls_for_each_entry(__sk, node, list, sk_nulls_node)
A Daf_vsock.h24 #define vsock_sk(__sk) ((struct vsock_sock *)__sk) argument
/linux/include/linux/
A Dudp.h154 #define udp_portaddr_for_each_entry(__sk, list) \ argument
155 hlist_for_each_entry(__sk, list, __sk_common.skc_portaddr_node)
157 #define udp_portaddr_for_each_entry_rcu(__sk, list) \ argument
158 hlist_for_each_entry_rcu(__sk, list, __sk_common.skc_portaddr_node)
160 #define IS_UDPLITE(__sk) (__sk->sk_protocol == IPPROTO_UDPLITE) argument
A Dipv6.h332 static inline struct ipv6_pinfo *inet6_sk(const struct sock *__sk) in inet6_sk() argument
334 return sk_fullsock(__sk) ? inet_sk(__sk)->pinet6 : NULL; in inet6_sk()
369 static inline struct ipv6_pinfo * inet6_sk(const struct sock *__sk) in inet6_sk() argument
385 #define inet6_rcv_saddr(__sk) NULL argument
386 #define tcp_twsk_ipv6only(__sk) 0 argument
387 #define inet_v6_ipv6only(__sk) 0 argument
A Dbpf-cgroup.h237 typeof(sk) __sk = sk_to_full_sk(sk); \
238 if (sk_fullsock(__sk)) \
239 __ret = __cgroup_bpf_run_filter_skb(__sk, skb, \
369 typeof(sk) __sk = sk_to_full_sk((sock_ops)->sk); \
370 if (__sk && sk_fullsock(__sk)) \
371 __ret = __cgroup_bpf_run_filter_sock_ops(__sk, \
/linux/include/net/iucv/
A Daf_iucv.h108 #define iucv_sk(__sk) ((struct iucv_sock *) __sk) argument
/linux/net/ipv4/
A Dudp_bpf.c36 #define udp_msg_has_data(__sk, __psock) \ argument
37 ({ udp_sk_has_data(__sk) || psock_has_data(__psock); })
/linux/net/unix/
A Dunix_bpf.c9 #define unix_sk_has_data(__sk, __psock) \ argument
10 ({ !skb_queue_empty(&__sk->sk_receive_queue) || \
/linux/include/net/bluetooth/
A Dbluetooth.h311 #define bt_sk(__sk) ((struct bt_sock *) __sk) argument
/linux/net/l2tp/
A Dl2tp_ppp.c121 struct sock *__sk; /* Copy of .sk, for cleanup */ member
402 sock_put(ps->__sk); in pppol2tp_put_sk()
454 ps->__sk = rcu_dereference_protected(ps->sk, in pppol2tp_release()
764 ps->__sk) { in pppol2tp_connect()
/linux/net/rxrpc/
A Dar-internal.h162 #define rxrpc_sk(__sk) container_of((__sk), struct rxrpc_sock, sk) argument
/linux/net/sctp/
A Dinput.c553 __releases(&((__sk)->sk_lock.slock)) in sctp_err_finish()

Completed in 41 milliseconds