Home
last modified time | relevance | path

Searched refs:sk_fullsock (Results 1 – 25 of 37) sorted by relevance

12

/kernel/linux/linux-5.10/net/netfilter/
Dxt_socket.c69 sk_fullsock(sk) && in socket_match()
79 transparent && sk_fullsock(sk)) in socket_match()
130 sk_fullsock(sk) && in socket_mt6_v1_v2_v3()
140 transparent && sk_fullsock(sk)) in socket_mt6_v1_v2_v3()
Dxt_cgroup.c106 if (!sk || !sk_fullsock(sk) || !net_eq(xt_net(par), sock_net(sk))) in cgroup_mt_v0()
120 if (!sk || !sk_fullsock(sk) || !net_eq(xt_net(par), sock_net(sk))) in cgroup_mt_v1()
138 if (!sk || !sk_fullsock(sk) || !net_eq(xt_net(par), sock_net(sk))) in cgroup_mt_v2()
Dnft_socket.c87 if (sk_fullsock(sk)) { in nft_socket_eval()
95 if (!sk_fullsock(sk)) { in nft_socket_eval()
Dnf_log_common.c135 if (!sk || !sk_fullsock(sk) || !net_eq(net, sock_net(sk))) in nf_log_dump_sk_uid_gid()
Dnft_meta.c137 if (!sk || !sk_fullsock(sk) || !net_eq(nft_net(pkt), sock_net(sk))) in nft_meta_get_eval_skugid()
170 if (!sk || !sk_fullsock(sk) || !net_eq(nft_net(pkt), sock_net(sk))) in nft_meta_get_eval_cgroup()
Dnfnetlink_queue.c283 if (!sk_fullsock(sk)) in nfqnl_put_sk_uidgid()
308 if (!skb || !sk_fullsock(skb->sk)) in nfqnl_get_sk_secctx()
Dnfnetlink_log.c598 if (sk && sk_fullsock(sk)) { in __build_packet_message()
/kernel/linux/linux-5.10/net/ipv4/
Dtcp_diag.c150 if (net_admin && sk_fullsock(sk)) { in tcp_diag_get_aux_size()
167 if (net_admin && sk_fullsock(sk)) { in tcp_diag_get_aux_size()
Dinet_diag.c258 BUG_ON(!sk_fullsock(sk)); in inet_sk_diag_fill()
797 entry.userlocks = sk_fullsock(sk) ? sk->sk_userlocks : 0; in inet_diag_bc_sk()
798 if (sk_fullsock(sk)) in inet_diag_bc_sk()
805 entry.cgroup_id = sk_fullsock(sk) ? in inet_diag_bc_sk()
Dtcp_ipv4.c714 if (sk && sk_fullsock(sk)) { in tcp_v4_send_reset()
787 if (sk_fullsock(sk)) in tcp_v4_send_reset()
795 arg.uid = sock_net_uid(net, sk && sk_fullsock(sk) ? sk : NULL); in tcp_v4_send_reset()
893 arg.uid = sock_net_uid(net, sk_fullsock(sk) ? sk : NULL); in tcp_v4_send_ack()
1760 if (sk_fullsock(sk)) { in tcp_v4_early_demux()
/kernel/linux/linux-5.10/include/net/
Dcls_cgroup.h70 if (!sk || !sk_fullsock(sk)) in task_get_classid()
Dtls.h463 return sk_fullsock(sk) && in tls_is_sk_tx_device_offloaded()
724 if (!sk_fullsock(sk) || in tls_is_sk_rx_device_offloaded()
Dsock.h2619 static inline bool sk_fullsock(const struct sock *sk) in sk_fullsock() function
2628 return !sk_fullsock(sk) || !sock_flag(sk, SOCK_RCU_FREE); in sk_is_refcounted()
2663 if (sk && sk_fullsock(sk) && sk->sk_validate_xmit_skb) { in sk_validate_xmit_skb()
2742 if (!sk || !sk_fullsock(sk) || READ_ONCE(sk->sk_pacing_shift) == val) in sk_pacing_shift_update()
Dip.h461 if (!sk || !sk_fullsock(sk) || ip_sk_use_pmtu(sk)) { in ip_skb_dst_mtu()
/kernel/linux/linux-5.10/net/ipv4/netfilter/
Dnf_defrag_ipv4.c67 if (sk && sk_fullsock(sk) && (sk->sk_family == PF_INET) && in ipv4_conntrack_defrag()
/kernel/linux/linux-5.10/include/linux/
Dbpf-cgroup.h189 if (sk_fullsock(__sk)) \
301 if (__sk && sk_fullsock(__sk)) \
Dipv6.h328 return sk_fullsock(__sk) ? inet_sk(__sk)->pinet6 : NULL; in inet6_sk()
/kernel/linux/linux-5.10/net/sched/
Dsch_etf.c85 if (!sk || !sk_fullsock(sk)) in is_packet_valid()
142 if (!sk || !sk_fullsock(sk) || !(sk->sk_txtime_report_errors)) in report_sock_error()
/kernel/linux/linux-5.10/net/core/
Dbpf_sk_storage.c260 if (!sk || !sk_fullsock(sk) || flags > BPF_SK_STORAGE_GET_F_CREATE) in BPF_CALL_4()
290 if (!sk || !sk_fullsock(sk)) in BPF_CALL_2()
Dfilter.c1854 return sk_fullsock(sk) ? (unsigned long)sk : (unsigned long)NULL; in BPF_CALL_1()
3051 if (!sk || !sk_fullsock(sk)) in BPF_CALL_1()
4456 if (!sk || !sk_fullsock(sk)) in BPF_CALL_3()
4483 if (!sk || !sk_fullsock(sk)) in __bpf_sk_cgroup_id()
4509 if (!sk || !sk_fullsock(sk)) in __bpf_sk_ancestor_cgroup_id()
4693 if (!sk || !sk_fullsock(sk)) in BPF_CALL_1()
4715 if (!sk_fullsock(sk)) in _bpf_setsockopt()
4938 if (!sk_fullsock(sk)) in _bpf_getsockopt()
5172 if (!IS_ENABLED(CONFIG_INET) || !sk_fullsock(sk)) in BPF_CALL_2()
6002 if (!sk_fullsock(sk2)) in __bpf_sk_lookup()
[all …]
/kernel/linux/linux-5.10/net/ipv6/
Dtcp_ipv6.c981 fl6.flowi6_uid = sock_net_uid(net, sk && sk_fullsock(sk) ? sk : NULL); in tcp_v6_send_response()
1032 if (sk && sk_fullsock(sk)) { in tcp_v6_send_reset()
1083 if (sk_fullsock(sk)) { in tcp_v6_send_reset()
1851 if (sk_fullsock(sk)) { in tcp_v6_early_demux()
/kernel/linux/linux-5.10/net/sctp/
Ddiag.c141 BUG_ON(!sk_fullsock(sk)); in inet_sctp_diag_fill()
/kernel/linux/linux-5.10/include/uapi/linux/
Dbpf.h3842 FN(sk_fullsock), \
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/linux/
Dbpf.h455 …(msg_pop_data), FN(rc_pointer_rel), FN(spin_lock), FN(spin_unlock), FN(sk_fullsock), FN(tcp_sock),…
/kernel/linux/linux-5.10/tools/include/uapi/linux/
Dbpf.h3842 FN(sk_fullsock), \

12