Home
last modified time | relevance | path

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

/kernel/linux/common_modules/newip/third_party/linux-5.10/include/net/
Dninet_hashtables.h98 #define ninet_match(__sk, __net, __saddr, __daddr, __ports, __dif) \ argument
99 (((__sk)->sk_portpair == (__ports)) && \
100 ((__sk)->sk_family == AF_NINET) && \
101 nip_addr_eq(&(__sk)->SK_NIP_DADDR, (__saddr)) && \
102 nip_addr_eq(&(__sk)->SK_NIP_RCV_SADDR, (__daddr)) && \
103 (!(__sk)->sk_bound_dev_if || \
104 ((__sk)->sk_bound_dev_if == (__dif))) && \
105 net_eq(sock_net(__sk), (__net)))
/kernel/linux/linux-5.10/include/linux/
Dudp.h148 #define udp_portaddr_for_each_entry(__sk, list) \ argument
149 hlist_for_each_entry(__sk, list, __sk_common.skc_portaddr_node)
151 #define udp_portaddr_for_each_entry_rcu(__sk, list) \ argument
152 hlist_for_each_entry_rcu(__sk, list, __sk_common.skc_portaddr_node)
154 #define IS_UDPLITE(__sk) (__sk->sk_protocol == IPPROTO_UDPLITE) argument
Dipv6.h326 static inline struct ipv6_pinfo *inet6_sk(const struct sock *__sk) in inet6_sk() argument
328 return sk_fullsock(__sk) ? inet_sk(__sk)->pinet6 : NULL; in inet6_sk()
363 static inline struct ipv6_pinfo * inet6_sk(const struct sock *__sk) in inet6_sk() argument
379 #define inet6_rcv_saddr(__sk) NULL argument
380 #define tcp_twsk_ipv6only(__sk) 0 argument
381 #define inet_v6_ipv6only(__sk) 0 argument
Dbpf-cgroup.h188 typeof(sk) __sk = sk_to_full_sk(sk); \
189 if (sk_fullsock(__sk)) \
190 __ret = __cgroup_bpf_run_filter_skb(__sk, skb, \
300 typeof(sk) __sk = sk_to_full_sk((sock_ops)->sk); \
301 if (__sk && sk_fullsock(__sk)) \
302 __ret = __cgroup_bpf_run_filter_sock_ops(__sk, \
/kernel/linux/linux-5.10/include/net/
Dsock.h826 #define sk_for_each(__sk, list) \ argument
827 hlist_for_each_entry(__sk, list, sk_node)
828 #define sk_for_each_rcu(__sk, list) \ argument
829 hlist_for_each_entry_rcu(__sk, list, sk_node)
830 #define sk_nulls_for_each(__sk, node, list) \ argument
831 hlist_nulls_for_each_entry(__sk, node, list, sk_nulls_node)
832 #define sk_nulls_for_each_rcu(__sk, node, list) \ argument
833 hlist_nulls_for_each_entry_rcu(__sk, node, list, sk_nulls_node)
834 #define sk_for_each_from(__sk) \ argument
835 hlist_for_each_entry_from(__sk, sk_node)
[all …]
Dping.h19 #define ping_portaddr_for_each_entry(__sk, node, list) \ argument
20 hlist_nulls_for_each_entry(__sk, node, list, sk_nulls_node)
Daf_vsock.h24 #define vsock_sk(__sk) ((struct vsock_sock *)__sk) argument
/kernel/linux/linux-5.10/include/net/iucv/
Daf_iucv.h108 #define iucv_sk(__sk) ((struct iucv_sock *) __sk) argument
/kernel/linux/linux-5.10/include/net/bluetooth/
Dbluetooth.h289 #define bt_sk(__sk) ((struct bt_sock *) __sk) argument
/kernel/linux/linux-5.10/net/l2tp/
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()
/kernel/linux/linux-5.10/net/rxrpc/
Dar-internal.h152 #define rxrpc_sk(__sk) container_of((__sk), struct rxrpc_sock, sk) argument
/kernel/linux/linux-5.10/net/sctp/
Dinput.c553 __releases(&((__sk)->sk_lock.slock)) in sctp_err_finish()