Searched refs:ipv6_only_sock (Results 1 – 20 of 20) sorted by relevance
/linux/include/linux/ |
H A D | ipv6.h | 327 #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 D | inet_connection_sock.c | 100 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 D | inet_hashtables.c | 320 !ipv6_only_sock(sk)) { in compute_score() 716 ipv6_only_sock(sk2) == ipv6_only_sock(sk) && in inet_reuseport_add_sock()
|
H A D | udp.c | 219 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 D | inet_diag.c | 151 nla_put_u8(skb, INET_DIAG_SKV6ONLY, ipv6_only_sock(sk))) in inet_diag_msg_attrs_fill()
|
/linux/net/sctp/ |
H A D | ipv6.c | 692 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 D | protocol.c | 338 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 D | sm_make_chunk.c | 2568 if (ipv6_only_sock(asoc->base.sk)) in sctp_process_param()
|
/linux/net/ipv6/ |
H A D | datagram.c | 155 if (ipv6_only_sock(sk)) in __ip6_datagram_connect() 188 if (ipv6_only_sock(sk)) { in __ip6_datagram_connect()
|
H A D | udp.c | 1161 if (ipv6_only_sock(sk)) in udpv6_pre_connect() 1398 err = ipv6_only_sock(sk) ? in udpv6_sendmsg()
|
H A D | af_inet6.c | 325 if (ipv6_only_sock(sk)) { in __inet6_bind()
|
H A D | ipv6_sockglue.c | 605 if (ipv6_only_sock(sk) || in do_ipv6_setsockopt()
|
H A D | tcp_ipv6.c | 224 if (ipv6_only_sock(sk)) in tcp_v6_connect()
|
/linux/drivers/net/ethernet/mellanox/mlx5/core/en_accel/ |
H A D | fs_tcp.c | 103 if (!ipv6_only_sock(sk) && in mlx5e_accel_fs_add_sk()
|
/linux/net/mptcp/ |
H A D | pm.c | 491 if (ipv6_only_sock(sk)) in mptcp_pm_addr_families_match()
|
/linux/drivers/net/ethernet/netronome/nfp/crypto/ |
H A D | tls.c | 292 if (ipv6_only_sock(sk) || in nfp_net_tls_add()
|
/linux/net/dccp/ |
H A D | ipv6.c | 899 if (ipv6_only_sock(sk)) in dccp_v6_connect()
|
/linux/drivers/net/ethernet/chelsio/inline_crypto/ch_ktls/ |
H A D | chcr_ktls.c | 482 if (!ipv6_only_sock(sk) && in chcr_ktls_dev_add()
|
/linux/net/core/ |
H A D | filter.c | 7383 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 D | bond_main.c | 5444 if (ipv6_only_sock(sk) || in bond_sk_to_flow()
|