/linux/net/netfilter/ |
H A D | xt_socket.c | 69 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()
|
H A D | xt_cgroup.c | 106 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()
|
H A D | nft_socket.c | 46 if (!sk_fullsock(sk)) in nft_sock_get_eval_cgroupv2() 132 if (sk_fullsock(sk)) { in nft_socket_eval() 140 if (!sk_fullsock(sk)) { in nft_socket_eval()
|
H A D | nft_meta.c | 137 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()
|
H A D | nfnetlink_queue.c | 439 if (!sk_fullsock(sk)) in nfqnl_put_sk_uidgid() 463 if (sk && sk_fullsock(sk)) { in nfqnl_put_sk_classid() 477 if (!skb || !sk_fullsock(skb->sk)) in nfqnl_get_sk_secctx()
|
H A D | nf_log_syslog.c | 168 if (!sk || !sk_fullsock(sk) || !net_eq(net, sock_net(sk))) in nf_log_dump_sk_uid_gid()
|
/linux/include/trace/events/ |
H A D | mptcp.h | 39 if (subflow->tcp_sock && sk_fullsock(subflow->tcp_sock)) 45 if (ssk && sk_fullsock(ssk)) { 53 if (ssk && sk_fullsock(ssk) && __entry->pace)
|
/linux/net/mptcp/ |
H A D | bpf.c | 17 if (sk && sk_fullsock(sk) && sk->sk_protocol == IPPROTO_TCP && sk_is_mptcp(sk)) in bpf_mptcp_sock_from_subflow()
|
/linux/net/ipv4/ |
H A D | tcp_diag.c | 150 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()
|
H A D | inet_diag.c | 267 BUG_ON(!sk_fullsock(sk)); in inet_sk_diag_fill() 810 entry.userlocks = sk_fullsock(sk) ? sk->sk_userlocks : 0; in inet_diag_bc_sk() 811 if (sk_fullsock(sk)) in inet_diag_bc_sk() 820 entry.cgroup_id = sk_fullsock(sk) ? in inet_diag_bc_sk()
|
H A D | tcp_ipv4.c | 800 if (sk && sk_fullsock(sk)) { in tcp_v4_send_reset() 891 arg.uid = sock_net_uid(net, sk && sk_fullsock(sk) ? sk : NULL); in tcp_v4_send_reset() 1014 arg.uid = sock_net_uid(net, sk_fullsock(sk) ? sk : NULL); in tcp_v4_send_ack() 1991 if (sk_fullsock(sk)) { 3218 if (sk_fullsock(sk)) 3242 if (sk_fullsock(sk))
|
/linux/include/net/ |
H A D | cls_cgroup.h | 70 if (!sk || !sk_fullsock(sk)) in task_get_classid()
|
H A D | tls.h | 355 return sk && sk_fullsock(sk) && in tls_is_skb_tx_device_offloaded() 491 if (!sk_fullsock(sk) || in tls_is_sk_rx_device_offloaded()
|
H A D | inet6_hashtables.h | 119 if (!prefetched || !sk_fullsock(sk)) in inet6_steal_sock()
|
H A D | inet_hashtables.h | 460 if (!prefetched || !sk_fullsock(sk)) in inet_steal_sock()
|
H A D | sock.h | 2752 static inline bool sk_fullsock(const struct sock *sk) in sk_fullsock() function 2761 return !sk_fullsock(sk) || !sock_flag(sk, SOCK_RCU_FREE); in sk_is_refcounted() 2774 if (sk && sk_fullsock(sk) && sk->sk_validate_xmit_skb) { in sk_validate_xmit_skb() 2850 if (!sk || !sk_fullsock(sk) || READ_ONCE(sk->sk_pacing_shift) == val) in sk_pacing_shift_update()
|
H A D | ip.h | 502 if (!sk || !sk_fullsock(sk) || ip_sk_use_pmtu(sk)) { in ip_skb_dst_mtu()
|
/linux/include/linux/ |
H A D | bpf-cgroup.h | 200 sk_fullsock(sk)) \ 212 if (sk_fullsock(__sk) && __sk == skb_to_full_sk(skb) && \ 350 if (__sk && sk_fullsock(__sk)) \
|
H A D | ipv6.h | 322 return sk_fullsock(__sk) ? inet_sk(__sk)->pinet6 : NULL; in inet6_sk()
|
/linux/net/ipv4/netfilter/ |
H A D | nf_defrag_ipv4.c | 68 if (sk && sk_fullsock(sk) && (sk->sk_family == PF_INET) && in ipv4_conntrack_defrag()
|
/linux/net/sched/ |
H A D | sch_etf.c | 85 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/net/core/ |
H A D | bpf_sk_storage.c | 230 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()
|
H A D | filter.c | 3094 if (!sk || !sk_fullsock(sk)) in BPF_CALL_1() 4923 if (!sk || !sk_fullsock(sk)) in BPF_CALL_3() 4950 if (!sk || !sk_fullsock(sk)) in __bpf_sk_cgroup_id() 4976 if (!sk || !sk_fullsock(sk)) in __bpf_sk_ancestor_cgroup_id() 5196 if (!sk || !sk_fullsock(sk)) in BPF_CALL_1() 5472 if (!sk_fullsock(sk)) in __bpf_setsockopt() 5490 if (sk_fullsock(sk)) in _bpf_setsockopt() 5500 if (!sk_fullsock(sk)) { in __bpf_getsockopt() 5527 if (sk_fullsock(sk)) in _bpf_getsockopt() 6771 if (!sk_fullsock(sk2)) in __bpf_sk_lookup() [all …]
|
/linux/net/ipv6/ |
H A D | tcp_ipv6.c | 983 fl6.flowi6_uid = sock_net_uid(net, sk && sk_fullsock(sk) ? sk : NULL); in tcp_v6_send_response() 1047 if (sk && sk_fullsock(sk)) { in tcp_v6_send_reset() 1114 if (sk_fullsock(sk)) { in tcp_v6_send_reset() 2031 if (sk_fullsock(sk)) {
|
/linux/net/sctp/ |
H A D | diag.c | 141 BUG_ON(!sk_fullsock(sk)); in inet_sctp_diag_fill()
|