Home
last modified time | relevance | path

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

12

/linux/net/netfilter/
H A 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()
H A Dxt_cgroup.c130 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 Dnft_meta.c141 if (!sk || !sk_fullsock(sk) || !net_eq(nft_net(pkt), sock_net(sk))) in nft_meta_get_eval_skugid()
176 if (!sk || !sk_fullsock(sk) || !net_eq(nft_net(pkt), sock_net(sk))) in nft_meta_get_eval_cgroup()
H A Dnfnetlink_queue.c573 if (!sk_fullsock(sk)) in nfqnl_put_sk_uidgid()
602 if (sk && sk_fullsock(sk)) { in nfqnl_put_sk_classid()
H A Dnf_log_syslog.c174 if (!sk || !sk_fullsock(sk) || !net_eq(net, sock_net(sk))) in nf_log_dump_sk_uid_gid()
H A Dnfnetlink_log.c634 if (sk && sk_fullsock(sk)) { in __build_packet_message()
/linux/include/trace/events/
H A Dmptcp.h45 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 Dbpf.c17 if (sk && sk_fullsock(sk) && sk_is_tcp(sk) && sk_is_mptcp(sk)) in bpf_mptcp_sock_from_subflow()
/linux/net/ipv4/netfilter/
H A Dnf_defrag_ipv4.c68 if (sk && sk_fullsock(sk) && (sk->sk_family == PF_INET) && in ipv4_conntrack_defrag()
/linux/net/sched/
H A 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/include/net/
H A Dinet6_hashtables.h118 if (!prefetched || !sk_fullsock(sk)) in inet6_steal_sock()
H A Dinet_hashtables.h458 if (!prefetched || !sk_fullsock(sk)) in inet_steal_sock()
H A Dsock.h3030 static inline bool sk_fullsock(const struct sock *sk) in sk_fullsock() function
3039 return !sk_fullsock(sk) || !sock_flag(sk, SOCK_RCU_FREE); in sk_is_refcounted()
3045 return sk && sk_fullsock(sk) && sock_flag(sk, SOCK_WIFI_STATUS); in sk_requests_wifi_status()
3120 if (!sk || !sk_fullsock(sk) || READ_ONCE(sk->sk_pacing_shift) == val) in sk_pacing_shift_update()
H A Dip.h540 if (!sk || !sk_fullsock(sk) || ip_sk_use_pmtu(sk)) { in ip_skb_dst_mtu()
/linux/net/ipv4/
H A Dtcp_diag.c152 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 Dtcp_ipv4.c778 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()
993 arg.uid = sock_net_uid(net, sk_fullsock(sk) ? sk : NULL); in tcp_v4_send_ack()
3239 if (sk_fullsock(sk))
3263 if (sk_fullsock(sk))
H A Dtcp_ao.c223 sk_fullsock(sk) && lockdep_sock_is_held(sk)) { in tcp_ao_established_key()
1521 if (sk_fullsock(sk)) { in setsockopt_ao_info()
1533 if (sk_fullsock(sk)) in getsockopt_ao_info()
H A Desp4.c479 if (sk && sk_fullsock(sk)) in esp_output_head()
/linux/include/linux/
H A Dipv6.h345 return sk_fullsock(__sk) ? inet_sk(__sk)->pinet6 : NULL; in inet6_sk()
/linux/net/core/
H A Dbpf_sk_storage.c234 if (!sk || !sk_fullsock(sk) || flags > BPF_SK_STORAGE_GET_F_CREATE) in BPF_CALL_4()
265 if (!sk || !sk_fullsock(sk)) in BPF_CALL_2()
H A Dfilter.c1899 return sk_fullsock(sk) ? (unsigned long)sk : (unsigned long)NULL; in BPF_CALL_1()
3209 if (!sk || !sk_fullsock(sk)) in BPF_CALL_1()
5160 if (!sk || !sk_fullsock(sk)) in BPF_CALL_3()
5187 if (!sk || !sk_fullsock(sk)) in __bpf_sk_cgroup_id()
5213 if (!sk || !sk_fullsock(sk)) in __bpf_sk_ancestor_cgroup_id()
5444 if (!sk || !sk_fullsock(sk)) in BPF_CALL_1()
5780 if (!sk_fullsock(sk)) in __bpf_setsockopt()
5803 if (sk_fullsock(sk)) in _bpf_setsockopt()
5813 if (!sk_fullsock(sk)) { in __bpf_getsockopt()
5840 if (sk_fullsock(sk)) in _bpf_getsockopt()
[all …]
/linux/net/ipv6/
H A Dip6_input.c76 if (sk_fullsock(sk)) { in tcp_v6_early_demux()
H A Dtcp_ipv6.c981 fl6.flowi6_uid = sock_net_uid(net, sk && sk_fullsock(sk) ? sk : NULL); in tcp_v6_send_response()
1044 if (sk && sk_fullsock(sk)) { in tcp_v6_send_reset()
1110 if (sk_fullsock(sk)) { in tcp_v6_send_reset()
/linux/net/sctp/
H A Ddiag.c149 BUG_ON(!sk_fullsock(sk)); in inet_sctp_diag_fill()
/linux/net/xfrm/
H A Dxfrm_output.c855 if (skb->sk && sk_fullsock(skb->sk)) in xfrm4_tunnel_check_size()

12