/linux-6.1.9/net/ipv4/ |
D | inet_hashtables.c | 49 if (sk->sk_family == AF_INET6 && in sk_ehashfn() 112 tb->family = sk->sk_family; in inet_bind2_bucket_init() 113 if (sk->sk_family == AF_INET6) in inet_bind2_bucket_init() 151 if (sk->sk_family != tb2->family) in inet_bind2_bucket_addr_match() 154 if (sk->sk_family == AF_INET6) in inet_bind2_bucket_addr_match() 300 if (sk->sk_family == AF_INET6) in inet_lhash2_bucket_sk() 327 if (sk->sk_family == PF_INET) in compute_score() 610 if (sk->sk_family == AF_INET) { in inet_ehash_lookup_by_sk() 617 else if (sk->sk_family == AF_INET6) { in inet_ehash_lookup_by_sk() 707 sk2->sk_family == sk->sk_family && in inet_reuseport_add_sock() [all …]
|
D | udp_tunnel_core.c | 92 ti.sa_family = sk->sk_family; in udp_tunnel_push_rx_port() 106 ti.sa_family = sk->sk_family; in udp_tunnel_drop_rx_port() 122 ti.sa_family = sk->sk_family; in udp_tunnel_notify_add_rx_port() 142 ti.sa_family = sk->sk_family; in udp_tunnel_notify_del_rx_port()
|
D | udp_bpf.c | 17 if (sk->sk_family == AF_INET6) in sk_udp_recvmsg() 140 int family = sk->sk_family == AF_INET ? UDP_BPF_IPV4 : UDP_BPF_IPV6; in udp_bpf_update_proto() 148 if (sk->sk_family == AF_INET6) in udp_bpf_update_proto()
|
D | ping.c | 208 sk->sk_family == AF_INET) { in ping_lookup() 218 sk->sk_family == AF_INET6) { in ping_lookup() 271 if (sk->sk_family == AF_INET6) in ping_init_sock() 322 if (sk->sk_family == AF_INET) { in ping_check_bind_addr() 351 } else if (sk->sk_family == AF_INET6) { in ping_check_bind_addr() 456 if (sk->sk_family == AF_INET && isk->inet_rcv_saddr) in ping_bind() 459 if (sk->sk_family == AF_INET6 && !ipv6_addr_any(&sk->sk_v6_rcv_saddr)) in ping_bind() 470 if (sk->sk_family == AF_INET6) in ping_bind() 870 int family = sk->sk_family; in ping_recvmsg() 1058 sk->sk_family == state->family) in ping_get_first()
|
/linux-6.1.9/include/trace/events/ |
D | sock.h | 169 __entry->family = sk->sk_family; 181 if (sk->sk_family == AF_INET6) { 230 __entry->family = sk->sk_family; 242 if (sk->sk_family == AF_INET6) {
|
D | tcp.h | 28 if (sk->sk_family == AF_INET6) { \ 79 __entry->family = sk->sk_family; 147 __entry->family = sk->sk_family; 217 __entry->family = sk->sk_family; 277 __entry->family = sk->sk_family;
|
D | net_probe_common.h | 23 if (sk->sk_family == AF_INET6) { \
|
/linux-6.1.9/net/core/ |
D | sock.c | 347 switch (sk->sk_family) { in sk_error_report() 456 switch (sk->sk_family) { in sock_needs_netstamp() 762 switch (sk->sk_family) { in sk_mc_loop() 1448 if (sk->sk_family == PF_INET || sk->sk_family == PF_INET6) { in sk_setsockopt() 1453 } else if (sk->sk_family != PF_RDS) { in sk_setsockopt() 1655 v.val = sk->sk_family; in sk_getsockopt() 1971 af_family_kern_slock_key_strings[sk->sk_family], in sock_lock_init() 1972 af_family_kern_slock_keys + sk->sk_family, in sock_lock_init() 1973 af_family_kern_key_strings[sk->sk_family], in sock_lock_init() 1974 af_family_kern_keys + sk->sk_family); in sock_lock_init() [all …]
|
/linux-6.1.9/security/apparmor/include/ |
D | net.h | 68 DEFINE_AUDIT_NET(NAME, OP, SK, (SK)->sk_family, (SK)->sk_type, \ 101 return aa_profile_af_perm(profile, sa, request, sk->sk_family, in aa_profile_af_sk_perm()
|
/linux-6.1.9/tools/testing/selftests/bpf/progs/ |
D | test_tcp_estats.c | 76 #define sk_family __sk_common.skc_family macro 217 if (_(sk->sk_family) == AF_INET6) in tcp_estats_conn_id_init()
|
D | bpf_iter_bpf_sk_storage_map.c | 30 if (sk->sk_family == AF_INET6) in rw_bpf_sk_storage_map()
|
D | bpf_iter_setsockopt.c | 50 if (sk->sk_family != AF_INET6 || in change_tcp_cc()
|
D | bpf_iter_udp4.c | 47 if (inet->sk.sk_family == AF_INET6) in dump_udp4()
|
D | bpf_tracing_net.h | 74 #define sk_family __sk_common.skc_family macro
|
/linux-6.1.9/drivers/net/ethernet/chelsio/inline_crypto/chtls/ |
D | chtls_cm.c | 104 switch (sk->sk_family) { in chtls_find_netdev() 489 if (sk->sk_family == AF_INET) in chtls_destroy_sock() 679 stid = cxgb4_alloc_stid(cdev->tids, sk->sk_family, ctx); in chtls_listen_start() 687 if (sk->sk_family == PF_INET) { in chtls_listen_start() 722 cxgb4_free_stid(cdev->tids, stid, sk->sk_family); in chtls_listen_start() 743 cdev->lldi->rxq_ids[0], sk->sk_family == PF_INET6); in chtls_listen_stop() 746 if (sk->sk_family == PF_INET6) { in chtls_listen_stop() 779 cxgb4_free_stid(cdev->tids, stid, listen_ctx->lsk->sk_family); in chtls_pass_open_rpl() 802 cxgb4_free_stid(cdev->tids, stid, listen_ctx->lsk->sk_family); in chtls_close_listsrv_rpl() 843 cxgb4_remove_tid(tids, csk->port_id, tid, sk->sk_family); in chtls_release_resources() [all …]
|
/linux-6.1.9/net/atm/ |
D | proc.c | 75 return !family || (sk->sk_family == family); in compare_family() 187 switch (sk->sk_family) { in vcc_info() 195 seq_printf(seq, "%3d", sk->sk_family); in vcc_info()
|
/linux-6.1.9/net/sctp/ |
D | bind_addr.c | 378 if (sctp_opt2sk(bp_sp)->sk_family == AF_INET6) in sctp_bind_addr_conflict() 380 else if (sctp_opt2sk(addr_sp)->sk_family == AF_INET6) in sctp_bind_addr_conflict() 495 fam = sk->sk_family; in sctp_is_any()
|
D | diag.c | 39 r->idiag_family = sk->sk_family; in inet_diag_msg_sctpasoc_fill() 46 if (sk->sk_family == AF_INET6) { in inet_diag_msg_sctpasoc_fill() 353 if (r->sdiag_family != AF_UNSPEC && sk->sk_family != r->sdiag_family) in sctp_sock_filter() 380 sk->sk_family != r->sdiag_family) in sctp_ep_dump()
|
/linux-6.1.9/net/sunrpc/ |
D | svcsock.c | 88 switch (sk->sk_family) { in svc_reclassify_socket() 148 switch (svsk->sk_sk->sk_family) { in svc_set_cmsg_data() 191 switch (sk->sk_family) { in svc_one_sock_name() 208 sk->sk_family); in svc_one_sock_name() 670 switch (svsk->sk_sk->sk_family) { in svc_udp_init() 1307 err = svc_register(serv, sock_net(sock->sk), inet->sk_family, in svc_setup_socket() 1380 if ((so->sk->sk_family != PF_INET) && (so->sk->sk_family != PF_INET6)) in svc_addsock()
|
/linux-6.1.9/kernel/bpf/ |
D | reuseport_array.c | 206 if (nsk->sk_family != AF_INET && nsk->sk_family != AF_INET6) in reuseport_array_update_check()
|
/linux-6.1.9/include/linux/ |
D | ipv6.h | 345 #define ipv6_sk_rxinfo(sk) ((sk)->sk_family == PF_INET6 && \ 350 if (sk->sk_family == AF_INET6) in inet6_rcv_saddr()
|
D | sock_diag.h | 51 switch (sk->sk_family) { in sock_diag_destroy_group()
|
/linux-6.1.9/net/rds/ |
D | tcp_listen.c | 115 ret = sock_create_lite(sock->sk->sk_family, in rds_tcp_accept_one() 153 sock->sk->sk_family, in rds_tcp_accept_one()
|
/linux-6.1.9/net/mptcp/ |
D | mptcp_diag.c | 115 sk->sk_family != r->sdiag_family) in mptcp_diag_dump_listeners() 176 sk->sk_family != r->sdiag_family) in mptcp_diag_dump()
|
/linux-6.1.9/include/net/ |
D | inet_sock.h | 270 return sk->sk_family == AF_INET || sk->sk_family == AF_INET6; in sk_is_inet()
|