Home
last modified time | relevance | path

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

12

/Linux-v5.4/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_meta.c114 if (!sk || !sk_fullsock(sk) || in nft_meta_get_eval()
131 if (!sk || !sk_fullsock(sk) || in nft_meta_get_eval()
223 if (!sk || !sk_fullsock(sk) || in nft_meta_get_eval()
Dnft_socket.c55 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()
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.c603 if (sk && sk_fullsock(sk)) { in __build_packet_message()
/Linux-v5.4/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.c183 BUG_ON(!sk_fullsock(sk)); in inet_sk_diag_fill()
691 entry.userlocks = sk_fullsock(sk) ? sk->sk_userlocks : 0; in inet_diag_bc_sk()
692 if (sk_fullsock(sk)) in inet_diag_bc_sk()
Dtcp_ipv4.c705 if (sk && sk_fullsock(sk)) { in tcp_v4_send_reset()
763 if (sk_fullsock(sk)) in tcp_v4_send_reset()
771 arg.uid = sock_net_uid(net, sk && sk_fullsock(sk) ? sk : NULL); in tcp_v4_send_reset()
869 arg.uid = sock_net_uid(net, sk_fullsock(sk) ? sk : NULL); in tcp_v4_send_ack()
1635 if (sk_fullsock(sk)) { in tcp_v4_early_demux()
Desp4.c340 if (sk && sk_fullsock(sk)) in esp_output_head()
/Linux-v5.4/include/net/
Dcls_cgroup.h65 if (!sk || !sk_fullsock(sk)) in task_get_classid()
Dtls.h451 return sk_fullsock(sk) && in tls_is_sk_tx_device_offloaded()
Dsock.h2494 static inline bool sk_fullsock(const struct sock *sk) in sk_fullsock() function
2509 if (sk && sk_fullsock(sk) && sk->sk_validate_xmit_skb) { in sk_validate_xmit_skb()
2587 if (!sk || !sk_fullsock(sk) || sk->sk_pacing_shift == val) in sk_pacing_shift_update()
Dip.h454 if (!sk || !sk_fullsock(sk) || ip_sk_use_pmtu(sk)) { in ip_skb_dst_mtu()
/Linux-v5.4/net/ipv4/netfilter/
Dnf_defrag_ipv4.c67 if (sk && sk_fullsock(sk) && (sk->sk_family == PF_INET) && in ipv4_conntrack_defrag()
/Linux-v5.4/include/linux/
Dbpf-cgroup.h183 if (sk_fullsock(__sk)) \
267 if (__sk && sk_fullsock(__sk)) \
Dipv6.h338 return sk_fullsock(__sk) ? inet_sk(__sk)->pinet6 : NULL; in inet6_sk()
/Linux-v5.4/net/ipv6/
Dtcp_ipv6.c902 fl6.flowi6_uid = sock_net_uid(net, sk && sk_fullsock(sk) ? sk : NULL); in tcp_v6_send_response()
953 if (sk && sk_fullsock(sk)) { in tcp_v6_send_reset()
991 if (sk_fullsock(sk)) { in tcp_v6_send_reset()
1724 if (sk_fullsock(sk)) { in tcp_v6_early_demux()
Desp6.c285 if (sk && sk_fullsock(sk)) in esp6_output_head()
/Linux-v5.4/net/sctp/
Ddiag.c145 BUG_ON(!sk_fullsock(sk)); in inet_sctp_diag_fill()
/Linux-v5.4/net/core/
Dfilter.c1832 return sk_fullsock(sk) ? (unsigned long)sk : (unsigned long)NULL; in BPF_CALL_1()
4061 if (!sk || !sk_fullsock(sk)) in BPF_CALL_3()
4088 if (!sk || !sk_fullsock(sk)) in BPF_CALL_1()
4109 if (!sk || !sk_fullsock(sk)) in BPF_CALL_2()
4202 if (!sk || !sk_fullsock(sk)) in BPF_CALL_1()
4242 if (!sk_fullsock(sk)) in BPF_CALL_5()
4402 if (!sk_fullsock(sk)) in BPF_CALL_5()
4486 if (!IS_ENABLED(CONFIG_INET) || !sk_fullsock(sk)) in BPF_CALL_2()
5306 if (!sk_fullsock(sk)) { in __bpf_sk_lookup()
5344 if (!sk_fullsock(sk)) { in bpf_sk_lookup()
[all …]
/Linux-v5.4/include/uapi/linux/
Dbpf.h2850 FN(sk_fullsock), \
/Linux-v5.4/tools/include/uapi/linux/
Dbpf.h2850 FN(sk_fullsock), \
/Linux-v5.4/kernel/bpf/
Dcgroup.c626 if (!sk || !sk_fullsock(sk)) in __cgroup_bpf_run_filter_skb()

12