Home
last modified time | relevance | path

Searched refs:ipv6_only_sock (Results 1 – 20 of 20) sorted by relevance

/linux/include/linux/
H A Dipv6.h327 #define ipv6_only_sock(sk) (sk->sk_ipv6only) macro
341 return ipv6_only_sock(sk); in inet_v6_ipv6only()
344 #define ipv6_only_sock(sk) 0 macro
/linux/net/ipv4/
H A Dinet_connection_sock.c100 ipv6_only_sock(sk), in inet_rcv_saddr_equal()
101 ipv6_only_sock(sk2), in inet_rcv_saddr_equal()
106 ipv6_only_sock(sk2), match_wildcard, in inet_rcv_saddr_equal()
206 if (ipv6_only_sock(sk2)) { in __inet_bhash2_conflict()
454 ipv6_only_sock(sk), true, false); in sk_reuseport_match()
457 ipv6_only_sock(sk), true, false); in sk_reuseport_match()
472 tb->fast_ipv6_only = ipv6_only_sock(sk); in inet_csk_update_fastreuse()
499 tb->fast_ipv6_only = ipv6_only_sock(sk); in inet_csk_update_fastreuse()
H A Dinet_hashtables.c320 !ipv6_only_sock(sk)) { in compute_score()
716 ipv6_only_sock(sk2) == ipv6_only_sock(sk) && in inet_reuseport_add_sock()
H A Dudp.c219 ipv6_only_sock(sk2) == ipv6_only_sock(sk) && in udp_reuseport_add_sock()
380 ipv6_only_sock(sk)) in compute_score()
591 ipv6_only_sock(sk) || in __udp_is_mcast_sock()
H A Dinet_diag.c151 nla_put_u8(skb, INET_DIAG_SKV6ONLY, ipv6_only_sock(sk))) in inet_diag_msg_attrs_fill()
/linux/net/sctp/
H A Dipv6.c692 if (sp && ipv6_only_sock(sctp_opt2sk(sp))) in sctp_v6_available()
728 if (sp && ipv6_only_sock(sctp_opt2sk(sp))) in sctp_v6_addr_valid()
939 if (!ipv6_only_sock(sctp_opt2sk(sp))) in sctp_inet6_af_supported()
965 if (ipv6_only_sock(sk) && af1 != af2) in sctp_inet6_cmp_addr()
1053 if (!opt || !ipv6_only_sock(sctp_opt2sk(opt))) { in sctp_inet6_supported_addrs()
H A Dprotocol.c338 if (sp && ipv6_only_sock(sctp_opt2sk(sp))) in sctp_v4_addr_valid()
368 if (ipv6_only_sock(sctp_opt2sk(sp))) in sctp_v4_available()
H A Dsm_make_chunk.c2568 if (ipv6_only_sock(asoc->base.sk)) in sctp_process_param()
/linux/net/ipv6/
H A Ddatagram.c155 if (ipv6_only_sock(sk)) in __ip6_datagram_connect()
188 if (ipv6_only_sock(sk)) { in __ip6_datagram_connect()
H A Dudp.c1161 if (ipv6_only_sock(sk)) in udpv6_pre_connect()
1398 err = ipv6_only_sock(sk) ? in udpv6_sendmsg()
H A Daf_inet6.c325 if (ipv6_only_sock(sk)) { in __inet6_bind()
H A Dipv6_sockglue.c605 if (ipv6_only_sock(sk) || in do_ipv6_setsockopt()
H A Dtcp_ipv6.c224 if (ipv6_only_sock(sk)) in tcp_v6_connect()
/linux/drivers/net/ethernet/mellanox/mlx5/core/en_accel/
H A Dfs_tcp.c103 if (!ipv6_only_sock(sk) && in mlx5e_accel_fs_add_sk()
/linux/net/mptcp/
H A Dpm.c491 if (ipv6_only_sock(sk)) in mptcp_pm_addr_families_match()
/linux/drivers/net/ethernet/netronome/nfp/crypto/
H A Dtls.c292 if (ipv6_only_sock(sk) || in nfp_net_tls_add()
/linux/net/dccp/
H A Dipv6.c899 if (ipv6_only_sock(sk)) in dccp_v6_connect()
/linux/drivers/net/ethernet/chelsio/inline_crypto/ch_ktls/
H A Dchcr_ktls.c482 if (!ipv6_only_sock(sk) && in chcr_ktls_dev_add()
/linux/net/core/
H A Dfilter.c7383 if (sk->sk_family == AF_INET6 && ipv6_only_sock(sk)) in BPF_CALL_5()
7453 if (sk->sk_family == AF_INET6 && ipv6_only_sock(sk)) in BPF_CALL_5()
11498 (sk->sk_family == AF_INET || ipv6_only_sock(sk))) in BPF_CALL_3()
/linux/drivers/net/bonding/
H A Dbond_main.c5444 if (ipv6_only_sock(sk) || in bond_sk_to_flow()