Home
last modified time | relevance | path

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

12

/Linux-v6.6/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.c45 if (!sk_fullsock(sk)) in nft_sock_get_eval_cgroupv2()
109 if (sk_fullsock(sk)) { in nft_socket_eval()
117 if (!sk_fullsock(sk)) { in nft_socket_eval()
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.c285 if (!sk_fullsock(sk)) in nfqnl_put_sk_uidgid()
309 if (sk && sk_fullsock(sk)) { in nfqnl_put_sk_classid()
323 if (!skb || !sk_fullsock(skb->sk)) in nfqnl_get_sk_secctx()
Dnf_log_syslog.c167 if (!sk || !sk_fullsock(sk) || !net_eq(net, sock_net(sk))) in nf_log_dump_sk_uid_gid()
/Linux-v6.6/include/trace/events/
Dmptcp.h39 if (subflow->tcp_sock && sk_fullsock(subflow->tcp_sock))
45 if (ssk && sk_fullsock(ssk)) {
53 if (ssk && sk_fullsock(ssk) && __entry->pace)
/Linux-v6.6/net/mptcp/
Dbpf.c17 if (sk && sk_fullsock(sk) && sk->sk_protocol == IPPROTO_TCP && sk_is_mptcp(sk)) in bpf_mptcp_sock_from_subflow()
/Linux-v6.6/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()
800 entry.userlocks = sk_fullsock(sk) ? sk->sk_userlocks : 0; in inet_diag_bc_sk()
801 if (sk_fullsock(sk)) in inet_diag_bc_sk()
810 entry.cgroup_id = sk_fullsock(sk) ? in inet_diag_bc_sk()
Dtcp_ipv4.c731 if (sk && sk_fullsock(sk)) { in tcp_v4_send_reset()
815 if (sk_fullsock(sk)) in tcp_v4_send_reset()
823 arg.uid = sock_net_uid(net, sk && sk_fullsock(sk) ? sk : NULL); in tcp_v4_send_reset()
929 arg.uid = sock_net_uid(net, sk_fullsock(sk) ? sk : NULL); in tcp_v4_send_ack()
1803 if (sk_fullsock(sk)) { in tcp_v4_early_demux()
2981 if (sk_fullsock(sk)) in bpf_iter_tcp_seq_show()
3005 if (sk_fullsock(sk)) in bpf_iter_tcp_seq_show()
/Linux-v6.6/include/net/
Dcls_cgroup.h70 if (!sk || !sk_fullsock(sk)) in task_get_classid()
Dtls.h364 return sk && sk_fullsock(sk) && in tls_is_skb_tx_device_offloaded()
500 if (!sk_fullsock(sk) || in tls_is_sk_rx_device_offloaded()
Dinet6_hashtables.h119 if (!prefetched || !sk_fullsock(sk)) in inet6_steal_sock()
Dinet_hashtables.h465 if (!prefetched || !sk_fullsock(sk)) in inet_steal_sock()
Dsock.h2816 static inline bool sk_fullsock(const struct sock *sk) in sk_fullsock() function
2825 return !sk_fullsock(sk) || !sock_flag(sk, SOCK_RCU_FREE); in sk_is_refcounted()
2863 if (sk && sk_fullsock(sk) && sk->sk_validate_xmit_skb) { in sk_validate_xmit_skb()
2942 if (!sk || !sk_fullsock(sk) || READ_ONCE(sk->sk_pacing_shift) == val) in sk_pacing_shift_update()
Dip.h490 if (!sk || !sk_fullsock(sk) || ip_sk_use_pmtu(sk)) { in ip_skb_dst_mtu()
/Linux-v6.6/net/ipv4/netfilter/
Dnf_defrag_ipv4.c68 if (sk && sk_fullsock(sk) && (sk->sk_family == PF_INET) && in ipv4_conntrack_defrag()
/Linux-v6.6/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()
/Linux-v6.6/include/linux/
Dbpf-cgroup.h204 if (sk_fullsock(__sk) && __sk == skb_to_full_sk(skb) && \
333 if (__sk && sk_fullsock(__sk)) \
Dipv6.h331 return sk_fullsock(__sk) ? inet_sk(__sk)->pinet6 : NULL; in inet6_sk()
/Linux-v6.6/net/core/
Dbpf_sk_storage.c230 if (!sk || !sk_fullsock(sk) || flags > BPF_SK_STORAGE_GET_F_CREATE) in BPF_CALL_5()
261 if (!sk || !sk_fullsock(sk)) in BPF_CALL_2()
Dfilter.c1868 return sk_fullsock(sk) ? (unsigned long)sk : (unsigned long)NULL; in BPF_CALL_1()
3046 if (!sk || !sk_fullsock(sk)) in BPF_CALL_1()
4798 if (!sk || !sk_fullsock(sk)) in BPF_CALL_3()
4825 if (!sk || !sk_fullsock(sk)) in __bpf_sk_cgroup_id()
4851 if (!sk || !sk_fullsock(sk)) in __bpf_sk_ancestor_cgroup_id()
5071 if (!sk || !sk_fullsock(sk)) in BPF_CALL_1()
5331 if (!sk_fullsock(sk)) in __bpf_setsockopt()
5349 if (sk_fullsock(sk)) in _bpf_setsockopt()
5359 if (!sk_fullsock(sk)) { in __bpf_getsockopt()
5386 if (sk_fullsock(sk)) in _bpf_getsockopt()
[all …]
/Linux-v6.6/net/ipv6/
Dtcp_ipv6.c952 fl6.flowi6_uid = sock_net_uid(net, sk && sk_fullsock(sk) ? sk : NULL); in tcp_v6_send_response()
1007 if (sk && sk_fullsock(sk)) { in tcp_v6_send_reset()
1057 if (sk_fullsock(sk)) { in tcp_v6_send_reset()
1867 if (sk_fullsock(sk)) { in tcp_v6_early_demux()
/Linux-v6.6/net/sctp/
Ddiag.c141 BUG_ON(!sk_fullsock(sk)); in inet_sctp_diag_fill()

12