Home
last modified time | relevance | path

Searched refs:sdiag_family (Results 1 – 16 of 16) sorted by relevance

/linux-6.12.1/net/ipv4/
Draw_diag.c20 if (r->sdiag_family == AF_INET) { in raw_get_hashinfo()
23 } else if (r->sdiag_family == AF_INET6) { in raw_get_hashinfo()
42 if (r->sdiag_family == AF_INET) in raw_lookup()
169 if (sk->sk_family != r->sdiag_family) in raw_diag_dump()
239 BUILD_BUG_ON(__offset_mismatch(sdiag_family, sdiag_family)); in __check_inet_diag_req_raw()
Dudp_diag.c39 if (req->sdiag_family == AF_INET) in udp_dump_one()
46 else if (req->sdiag_family == AF_INET6) in udp_dump_one()
123 if (r->sdiag_family != AF_UNSPEC && in udp_dump()
124 sk->sk_family != r->sdiag_family) in udp_dump()
177 if (req->sdiag_family == AF_INET) in __udp_diag_destroy()
183 else if (req->sdiag_family == AF_INET6) { in __udp_diag_destroy()
Dinet_diag.c526 if (req->sdiag_family == AF_INET) in inet_diag_find_one_icsk()
531 else if (req->sdiag_family == AF_INET6) { in inet_diag_find_one_icsk()
1064 if (r->sdiag_family != AF_UNSPEC && in inet_diag_dump_icsk()
1065 sk->sk_family != r->sdiag_family) in inet_diag_dump_icsk()
1135 if (r->sdiag_family != AF_UNSPEC && in inet_diag_dump_icsk()
1136 r->sdiag_family != sk->sk_family) in inet_diag_dump_icsk()
1215 if (r->sdiag_family != AF_UNSPEC && in inet_diag_dump_icsk()
1216 sk->sk_family != r->sdiag_family) in inet_diag_dump_icsk()
1383 req.sdiag_family = AF_UNSPEC; /* compatibility */ in inet_diag_dump_compat()
1399 req.sdiag_family = rc->idiag_family; in inet_diag_get_exact_compat()
/linux-6.12.1/net/core/
Dsock_diag.c237 if (req->sdiag_family >= AF_MAX) in __sock_diag_cmd()
239 req->sdiag_family = array_index_nospec(req->sdiag_family, AF_MAX); in __sock_diag_cmd()
241 if (!rcu_access_pointer(sock_diag_handlers[req->sdiag_family])) in __sock_diag_cmd()
242 sock_load_diag_module(req->sdiag_family, 0); in __sock_diag_cmd()
244 hndl = sock_diag_lock_handler(req->sdiag_family); in __sock_diag_cmd()
/linux-6.12.1/net/mptcp/
Dmptcp_diag.c113 if (r->sdiag_family != AF_UNSPEC && in mptcp_diag_dump_listeners()
114 sk->sk_family != r->sdiag_family) in mptcp_diag_dump_listeners()
174 if (r->sdiag_family != AF_UNSPEC && in mptcp_diag_dump()
175 sk->sk_family != r->sdiag_family) in mptcp_diag_dump()
/linux-6.12.1/include/uapi/linux/
Dinet_diag.h39 __u8 sdiag_family; member
56 __u8 sdiag_family; member
Dtipc_sockets_diag.h12 __u8 sdiag_family; /* must be AF_TIPC */ member
Dvm_sockets_diag.h11 __u8 sdiag_family; /* must be AF_VSOCK */ member
Dsock_diag.h11 __u8 sdiag_family; member
Dunix_diag.h8 __u8 sdiag_family; member
Dnetlink_diag.h8 __u8 sdiag_family; member
Dxdp_diag.h13 __u8 sdiag_family; member
Dpacket_diag.h8 __u8 sdiag_family; member
/linux-6.12.1/tools/testing/selftests/net/af_unix/
Ddiag_uid.c90 .sdiag_family = AF_UNIX, in send_request()
124 ASSERT_EQ(udr->sdiag_family, AF_UNIX); in render_response()
/linux-6.12.1/net/sctp/
Ddiag.c351 if (r->sdiag_family != AF_UNSPEC && sk->sk_family != r->sdiag_family) in sctp_sock_filter()
377 if (r->sdiag_family != AF_UNSPEC && in sctp_ep_dump()
378 sk->sk_family != r->sdiag_family) in sctp_ep_dump()
435 if (req->sdiag_family == AF_INET) { in sctp_diag_dump_one()
/linux-6.12.1/tools/testing/vsock/
Dvsock_diag_test.c181 .sdiag_family = AF_VSOCK, in send_req()