Home
last modified time | relevance | path

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

12

/Linux-v4.19/net/netfilter/
Dxt_socket.c73 sk_fullsock(sk) && in socket_match()
83 transparent && sk_fullsock(sk)) in socket_match()
134 sk_fullsock(sk) && in socket_mt6_v1_v2_v3()
144 transparent && sk_fullsock(sk)) in socket_mt6_v1_v2_v3()
Dxt_cgroup.c77 if (!sk || !sk_fullsock(sk) || !net_eq(xt_net(par), sock_net(sk))) in cgroup_mt_v0()
91 if (!sk || !sk_fullsock(sk) || !net_eq(xt_net(par), sock_net(sk))) in cgroup_mt_v1()
Dnft_meta.c110 if (!sk || !sk_fullsock(sk) || in nft_meta_get_eval()
127 if (!sk || !sk_fullsock(sk) || in nft_meta_get_eval()
219 if (!sk || !sk_fullsock(sk) || in nft_meta_get_eval()
Dnft_socket.c58 if (sk_fullsock(sk)) { in nft_socket_eval()
Dnf_log_common.c138 if (!sk || !sk_fullsock(sk) || !net_eq(net, sock_net(sk))) in nf_log_dump_sk_uid_gid()
Dnfnetlink_queue.c287 if (!sk_fullsock(sk)) in nfqnl_put_sk_uidgid()
312 if (!skb || !sk_fullsock(skb->sk)) in nfqnl_get_sk_secctx()
Dnfnetlink_log.c555 if (sk && sk_fullsock(sk)) { in __build_packet_message()
/Linux-v4.19/include/net/
Dcls_cgroup.h70 if (!sk || !sk_fullsock(sk)) in task_get_classid()
Dtls.h320 return sk_fullsock(sk) & in tls_is_sk_tx_device_offloaded()
Dsock.h2396 static inline bool sk_fullsock(const struct sock *sk) in sk_fullsock() function
2410 if (sk && sk_fullsock(sk) && sk->sk_validate_xmit_skb) in sk_validate_xmit_skb()
2481 if (!sk || !sk_fullsock(sk) || sk->sk_pacing_shift == val) in sk_pacing_shift_update()
Dip.h414 if (!sk || !sk_fullsock(sk) || ip_sk_use_pmtu(sk)) { in ip_skb_dst_mtu()
Dtcp.h2084 if (sk_fullsock(sk)) { in tcp_call_bpf()
/Linux-v4.19/include/linux/
Dbpf-cgroup.h140 if (sk_fullsock(__sk)) \
218 if (__sk && sk_fullsock(__sk)) \
Dipv6.h330 return sk_fullsock(__sk) ? inet_sk(__sk)->pinet6 : NULL; in inet6_sk()
/Linux-v4.19/net/ipv4/netfilter/
Dnf_defrag_ipv4.c70 if (sk && sk_fullsock(sk) && (sk->sk_family == PF_INET) && in ipv4_conntrack_defrag()
/Linux-v4.19/net/ipv4/
Dtcp_diag.c114 if (net_admin && sk_fullsock(sk)) { in tcp_diag_get_aux_size()
Dinet_diag.c186 BUG_ON(!sk_fullsock(sk)); in inet_sk_diag_fill()
687 entry.userlocks = sk_fullsock(sk) ? sk->sk_userlocks : 0; in inet_diag_bc_sk()
688 if (sk_fullsock(sk)) in inet_diag_bc_sk()
Dtcp_ipv4.c702 if (sk && sk_fullsock(sk)) { in tcp_v4_send_reset()
760 if (sk_fullsock(sk)) in tcp_v4_send_reset()
768 arg.uid = sock_net_uid(net, sk && sk_fullsock(sk) ? sk : NULL); in tcp_v4_send_reset()
860 arg.uid = sock_net_uid(net, sk_fullsock(sk) ? sk : NULL); in tcp_v4_send_ack()
1605 if (sk_fullsock(sk)) { in tcp_v4_early_demux()
/Linux-v4.19/net/ipv6/
Dtcp_ipv6.c881 fl6.flowi6_uid = sock_net_uid(net, sk && sk_fullsock(sk) ? sk : NULL); in tcp_v6_send_response()
927 if (sk && sk_fullsock(sk)) { in tcp_v6_send_reset()
965 if (sk_fullsock(sk)) in tcp_v6_send_reset()
1666 if (sk_fullsock(sk)) { in tcp_v6_early_demux()
/Linux-v4.19/kernel/bpf/
Dcgroup.c529 if (!sk || !sk_fullsock(sk)) in __cgroup_bpf_run_filter_skb()
/Linux-v4.19/net/sctp/
Ddiag.c160 BUG_ON(!sk_fullsock(sk)); in inet_sctp_diag_fill()
/Linux-v4.19/net/core/
Dfilter.c3739 if (!sk || !sk_fullsock(sk)) in BPF_CALL_3()
3766 if (!sk || !sk_fullsock(sk)) in BPF_CALL_1()
3787 if (!sk || !sk_fullsock(sk)) in BPF_CALL_2()
3880 if (!sk || !sk_fullsock(sk)) in BPF_CALL_1()
3900 if (!sk_fullsock(sk)) in BPF_CALL_5()
4043 if (!sk_fullsock(sk)) in BPF_CALL_5()
4115 if (!IS_ENABLED(CONFIG_INET) || !sk_fullsock(sk)) in BPF_CALL_2()
Dsock.c1837 if (unlikely(!sk_fullsock(sk))) { in skb_set_owner_w()
/Linux-v4.19/net/netfilter/ipvs/
Dip_vs_xmit.c211 if (!skb->dev && sk && sk_fullsock(sk)) in maybe_update_pmtu()
/Linux-v4.19/drivers/net/hyperv/
Dnetvsc_drv.c298 sk && sk_fullsock(sk) && rcu_access_pointer(sk->sk_dst_cache)) in netvsc_get_tx_queue()

12