Home
last modified time | relevance | path

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

/linux-6.1.9/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()
171 if (sk->sk_family != r->sdiag_family) in raw_diag_dump()
240 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.c517 if (req->sdiag_family == AF_INET) in inet_diag_find_one_icsk()
522 else if (req->sdiag_family == AF_INET6) { in inet_diag_find_one_icsk()
1050 if (r->sdiag_family != AF_UNSPEC && in inet_diag_dump_icsk()
1051 sk->sk_family != r->sdiag_family) in inet_diag_dump_icsk()
1113 if (r->sdiag_family != AF_UNSPEC && in inet_diag_dump_icsk()
1114 sk->sk_family != r->sdiag_family) in inet_diag_dump_icsk()
1281 req.sdiag_family = AF_UNSPEC; /* compatibility */ in inet_diag_dump_compat()
1296 req.sdiag_family = rc->idiag_family; in inet_diag_get_exact_compat()
/linux-6.1.9/net/core/
Dsock_diag.c223 if (req->sdiag_family >= AF_MAX) in __sock_diag_cmd()
225 req->sdiag_family = array_index_nospec(req->sdiag_family, AF_MAX); in __sock_diag_cmd()
227 if (sock_diag_handlers[req->sdiag_family] == NULL) in __sock_diag_cmd()
228 sock_load_diag_module(req->sdiag_family, 0); in __sock_diag_cmd()
231 hndl = sock_diag_handlers[req->sdiag_family]; in __sock_diag_cmd()
/linux-6.1.9/net/mptcp/
Dmptcp_diag.c114 if (r->sdiag_family != AF_UNSPEC && in mptcp_diag_dump_listeners()
115 sk->sk_family != r->sdiag_family) in mptcp_diag_dump_listeners()
175 if (r->sdiag_family != AF_UNSPEC && in mptcp_diag_dump()
176 sk->sk_family != r->sdiag_family) in mptcp_diag_dump()
/linux-6.1.9/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.1.9/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.1.9/net/sctp/
Ddiag.c353 if (r->sdiag_family != AF_UNSPEC && sk->sk_family != r->sdiag_family) in sctp_sock_filter()
379 if (r->sdiag_family != AF_UNSPEC && in sctp_ep_dump()
380 sk->sk_family != r->sdiag_family) in sctp_ep_dump()
436 if (req->sdiag_family == AF_INET) { in sctp_diag_dump_one()
/linux-6.1.9/tools/testing/vsock/
Dvsock_diag_test.c179 .sdiag_family = AF_VSOCK, in send_req()