/kernel/linux/linux-5.10/net/ipv4/ |
D | udp_bpf.c | 46 int family = sk->sk_family == AF_INET ? UDP_BPF_IPV4 : UDP_BPF_IPV6; in udp_bpf_get_proto() 48 if (sk->sk_family == AF_INET6) in udp_bpf_get_proto()
|
D | udp_tunnel_core.c | 98 ti.sa_family = sk->sk_family; in udp_tunnel_push_rx_port() 116 ti.sa_family = sk->sk_family; in udp_tunnel_drop_rx_port() 132 ti.sa_family = sk->sk_family; in udp_tunnel_notify_add_rx_port() 156 ti.sa_family = sk->sk_family; in udp_tunnel_notify_del_rx_port()
|
D | inet_hashtables.c | 52 if (sk->sk_family == AF_INET6 && in sk_ehashfn() 61 if (sk->sk_family == AF_NINET) in sk_ehashfn() 196 if (sk->sk_family == AF_INET6) in inet_lhash2_bucket_sk() 218 if (sk->sk_reuseport && sk->sk_family == AF_INET6) in inet_hash2() 259 if (sk->sk_family == PF_INET) in compute_score() 546 if (sk->sk_family == AF_INET) { in inet_ehash_lookup_by_sk() 555 else if (sk->sk_family == AF_INET6) { in inet_ehash_lookup_by_sk() 632 sk2->sk_family == sk->sk_family && in inet_reuseport_add_sock() 665 sk->sk_family == AF_INET6) in __inet_hash()
|
D | ping.c | 197 sk->sk_family == AF_INET) { in ping_lookup() 207 sk->sk_family == AF_INET6) { in ping_lookup() 262 if (sk->sk_family == AF_INET6) in ping_init_sock() 300 if (sk->sk_family == AF_INET) { in ping_check_bind_addr() 327 } else if (sk->sk_family == AF_INET6) { in ping_check_bind_addr() 424 if (sk->sk_family == AF_INET && isk->inet_rcv_saddr) in ping_bind() 427 if (sk->sk_family == AF_INET6 && !ipv6_addr_any(&sk->sk_v6_rcv_saddr)) in ping_bind() 438 if (sk->sk_family == AF_INET6) in ping_bind() 847 int family = sk->sk_family; in ping_recvmsg() 1024 sk->sk_family == state->family) in ping_get_first()
|
D | inet_connection_sock.c | 98 if (sk->sk_family == AF_INET6) in inet_rcv_saddr_equal() 110 if (sk->sk_family == AF_NINET) in inet_rcv_saddr_equal() 113 sk2->sk_family == AF_NINET, in inet_rcv_saddr_equal() 127 if (sk->sk_family == AF_INET6) in inet_rcv_saddr_any() 312 sk->sk_family == AF_NINET, in sk_reuseport_match() 332 tb->fast_sk_family = sk->sk_family; in inet_csk_update_fastreuse() 362 tb->fast_sk_family = sk->sk_family; in inet_csk_update_fastreuse()
|
D | inet_diag.c | 77 r->idiag_family = sk->sk_family; in inet_diag_msg_common_fill() 85 if (sk->sk_family == AF_INET6) { in inet_diag_msg_common_fill() 773 if (sk->sk_family == AF_INET6) { in entry_fill_addrs() 792 entry.family = sk->sk_family; in inet_diag_bc_sk() 981 offsetof(struct sock, sk_family)); in twsk_build_assert() 1045 sk->sk_family != r->sdiag_family) in inet_diag_dump_icsk() 1108 sk->sk_family != r->sdiag_family) in inet_diag_dump_icsk()
|
/kernel/linux/linux-5.10/net/core/ |
D | sock.c | 418 switch (sk->sk_family) { in sock_needs_netstamp() 693 switch (sk->sk_family) { in sk_mc_loop() 1200 if (sk->sk_family == PF_INET || sk->sk_family == PF_INET6) { in sock_setsockopt() 1206 } else if (sk->sk_family != PF_RDS) { in sock_setsockopt() 1362 v.val = sk->sk_family; in sock_getsockopt() 1642 af_family_kern_slock_key_strings[sk->sk_family], in sock_lock_init() 1643 af_family_kern_slock_keys + sk->sk_family, in sock_lock_init() 1644 af_family_kern_key_strings[sk->sk_family], in sock_lock_init() 1645 af_family_kern_keys + sk->sk_family); in sock_lock_init() 1649 af_family_slock_key_strings[sk->sk_family], in sock_lock_init() [all …]
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/progs/ |
D | bpf_iter_bpf_sk_storage_map.c | 29 if (sk->sk_family == AF_INET6) in dump_bpf_sk_storage_map()
|
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_tracing_net.h | 35 #define sk_family __sk_common.skc_family macro
|
D | bpf_iter_udp4.c | 48 if (inet->sk.sk_family == AF_INET6) in dump_udp4()
|
/kernel/linux/linux-5.10/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 …]
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/include/trace/events/ |
D | sock.h | 167 __entry->family = sk->sk_family; 179 if (sk->sk_family == AF_INET6) {
|
D | net_probe_common.h | 23 if (sk->sk_family == AF_INET6) { \
|
/kernel/linux/linux-5.10/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() 362 if (r->sdiag_family != AF_UNSPEC && sk->sk_family != r->sdiag_family) in sctp_sock_filter() 389 sk->sk_family != r->sdiag_family) in sctp_ep_dump()
|
/kernel/linux/linux-5.10/net/sunrpc/ |
D | svcsock.c | 88 switch (sk->sk_family) { in svc_reclassify_socket() 157 switch (svsk->sk_sk->sk_family) { in svc_set_cmsg_data() 200 switch (sk->sk_family) { in svc_one_sock_name() 217 sk->sk_family); in svc_one_sock_name() 675 switch (svsk->sk_sk->sk_family) { in svc_udp_init() 1312 err = svc_register(serv, sock_net(sock->sk), inet->sk_family, in svc_setup_socket() 1385 if ((so->sk->sk_family != PF_INET) && (so->sk->sk_family != PF_INET6)) in svc_addsock()
|
/kernel/linux/linux-5.10/include/linux/ |
D | ipv6.h | 338 #define ipv6_sk_rxinfo(sk) ((sk)->sk_family == PF_INET6 && \ 343 if (sk->sk_family == AF_INET6) in inet6_rcv_saddr()
|
D | sock_diag.h | 51 switch (sk->sk_family) { in sock_diag_destroy_group()
|
/kernel/linux/linux-5.10/net/rds/ |
D | tcp_listen.c | 115 ret = sock_create_lite(sock->sk->sk_family, in rds_tcp_accept_one() 150 sock->sk->sk_family, in rds_tcp_accept_one()
|
/kernel/linux/linux-5.10/kernel/bpf/ |
D | reuseport_array.c | 220 if (nsk->sk_family != AF_INET && nsk->sk_family != AF_INET6) in reuseport_array_update_check()
|
/kernel/linux/linux-5.10/security/selinux/ |
D | netlabel.c | 280 if (ep->base.sk->sk_family != PF_INET && in selinux_netlbl_sctp_assoc_request() 281 ep->base.sk->sk_family != PF_INET6) in selinux_netlbl_sctp_assoc_request()
|
/kernel/linux/linux-5.10/net/l2tp/ |
D | l2tp_debugfs.c | 147 if (tunnel->sock->sk_family == AF_INET6) { in l2tp_dfs_seq_tunnel_show() 154 if (tunnel->sock->sk_family == AF_INET) in l2tp_dfs_seq_tunnel_show()
|