| /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 | 130 if (!sk || !sk_fullsock(sk) || !net_eq(xt_net(par), sock_net(sk))) in cgroup_mt_v0() 146 if (!sk || !sk_fullsock(sk) || !net_eq(xt_net(par), sock_net(sk))) in cgroup_mt_v1() 167 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 | 140 if (!sk || !sk_fullsock(sk) || !net_eq(nft_net(pkt), sock_net(sk))) in nft_meta_get_eval_skugid() 175 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 | 529 if (!sk_fullsock(sk)) in nfqnl_put_sk_uidgid() 558 if (sk && sk_fullsock(sk)) { in nfqnl_put_sk_classid()
|
| /linux/include/trace/events/ |
| H A D | mptcp.h | 45 if (subflow->tcp_sock && sk_fullsock(subflow->tcp_sock)) 51 if (ssk && sk_fullsock(ssk)) { 59 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/include/net/ |
| H A D | cls_cgroup.h | 70 if (!sk || !sk_fullsock(sk)) in task_get_classid()
|
| H A D | tls.h | 361 return sk && sk_fullsock(sk) && in tls_is_skb_tx_device_offloaded() 506 if (!sk_fullsock(sk) || in tls_is_sk_rx_device_offloaded()
|
| H A D | inet6_hashtables.h | 118 if (!prefetched || !sk_fullsock(sk)) in inet6_steal_sock()
|
| H A D | inet_hashtables.h | 458 if (!prefetched || !sk_fullsock(sk)) in inet_steal_sock()
|
| H A D | sock.h | 3004 static inline bool sk_fullsock(const struct sock *sk) in sk_fullsock() function 3013 return !sk_fullsock(sk) || !sock_flag(sk, SOCK_RCU_FREE); in sk_is_refcounted() 3019 return sk && sk_fullsock(sk) && sock_flag(sk, SOCK_WIFI_STATUS); in sk_requests_wifi_status() 3094 if (!sk || !sk_fullsock(sk) || READ_ONCE(sk->sk_pacing_shift) == val) in sk_pacing_shift_update()
|
| H A D | ip.h | 515 if (!sk || !sk_fullsock(sk) || ip_sk_use_pmtu(sk)) { in ip_skb_dst_mtu()
|
| /linux/include/net/netfilter/ |
| H A D | nft_fib.h | 37 if (sk && sk_fullsock(sk)) in nft_fib_can_skip()
|
| /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/ipv4/ |
| H A D | inet_diag.c | 240 BUG_ON(!sk_fullsock(sk)); in inet_sk_diag_fill() 614 entry.userlocks = sk_fullsock(sk) ? READ_ONCE(sk->sk_userlocks) : 0; in inet_diag_bc_sk() 616 if (sk_fullsock(sk)) in inet_diag_bc_sk() 627 entry.cgroup_id = sk_fullsock(sk) ? in inet_diag_bc_sk()
|
| H A D | tcp_diag.c | 152 if (net_admin && sk_fullsock(sk)) { in tcp_diag_get_aux_size() 169 if (sk_fullsock(sk)) { in tcp_diag_get_aux_size()
|
| H A D | tcp_ipv4.c | 778 if (sk && sk_fullsock(sk)) { in tcp_v4_send_reset() 867 arg.uid = sock_net_uid(net, sk && sk_fullsock(sk) ? sk : NULL); in tcp_v4_send_reset() 990 arg.uid = sock_net_uid(net, sk_fullsock(sk) ? sk : NULL); in tcp_v4_send_ack() 3228 if (sk_fullsock(sk)) 3252 if (sk_fullsock(sk))
|
| /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/include/linux/ |
| H A D | ipv6.h | 345 return sk_fullsock(__sk) ? inet_sk(__sk)->pinet6 : NULL; in inet6_sk()
|
| /linux/net/core/ |
| H A D | bpf_sk_storage.c | 236 if (!sk || !sk_fullsock(sk) || flags > BPF_SK_STORAGE_GET_F_CREATE) in BPF_CALL_5() 267 if (!sk || !sk_fullsock(sk)) in BPF_CALL_2()
|
| H A D | filter.c | 1886 return sk_fullsock(sk) ? (unsigned long)sk : (unsigned long)NULL; in BPF_CALL_1() 3120 if (!sk || !sk_fullsock(sk)) in BPF_CALL_1() 4987 if (!sk || !sk_fullsock(sk)) in BPF_CALL_3() 5014 if (!sk || !sk_fullsock(sk)) in __bpf_sk_cgroup_id() 5040 if (!sk || !sk_fullsock(sk)) in __bpf_sk_ancestor_cgroup_id() 5271 if (!sk || !sk_fullsock(sk)) in BPF_CALL_1() 5592 if (!sk_fullsock(sk)) in __bpf_setsockopt() 5615 if (sk_fullsock(sk)) in _bpf_setsockopt() 5625 if (!sk_fullsock(sk)) { in __bpf_getsockopt() 5652 if (sk_fullsock(sk)) in _bpf_getsockopt() [all …]
|
| /linux/net/sctp/ |
| H A D | diag.c | 148 BUG_ON(!sk_fullsock(sk)); in inet_sctp_diag_fill()
|
| /linux/net/ipv6/ |
| H A D | tcp_ipv6.c | 962 fl6.flowi6_uid = sock_net_uid(net, sk && sk_fullsock(sk) ? sk : NULL); in tcp_v6_send_response() 1025 if (sk && sk_fullsock(sk)) { in tcp_v6_send_reset() 1091 if (sk_fullsock(sk)) { in tcp_v6_send_reset()
|
| /linux/net/xfrm/ |
| H A D | xfrm_output.c | 849 if (skb->sk && sk_fullsock(skb->sk)) in xfrm4_tunnel_check_size()
|