Home
last modified time | relevance | path

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

/linux/net/ipv4/
A 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()
43 if (r->sdiag_family == AF_INET) in raw_lookup()
168 if (sk->sk_family != r->sdiag_family) in raw_diag_dump()
237 BUILD_BUG_ON(__offset_mismatch(sdiag_family, sdiag_family)); in __check_inet_diag_req_raw()
A 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()
A 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()
1049 if (r->sdiag_family != AF_UNSPEC && in inet_diag_dump_icsk()
1050 sk->sk_family != r->sdiag_family) in inet_diag_dump_icsk()
1112 if (r->sdiag_family != AF_UNSPEC && in inet_diag_dump_icsk()
1113 sk->sk_family != r->sdiag_family) in inet_diag_dump_icsk()
1280 req.sdiag_family = AF_UNSPEC; /* compatibility */ in inet_diag_dump_compat()
1295 req.sdiag_family = rc->idiag_family; in inet_diag_get_exact_compat()
/linux/net/core/
A Dsock_diag.c222 if (req->sdiag_family >= AF_MAX) in __sock_diag_cmd()
224 req->sdiag_family = array_index_nospec(req->sdiag_family, AF_MAX); in __sock_diag_cmd()
226 if (sock_diag_handlers[req->sdiag_family] == NULL) in __sock_diag_cmd()
227 sock_load_diag_module(req->sdiag_family, 0); in __sock_diag_cmd()
230 hndl = sock_diag_handlers[req->sdiag_family]; in __sock_diag_cmd()
/linux/include/uapi/linux/
A Dinet_diag.h39 __u8 sdiag_family; member
56 __u8 sdiag_family; member
A Dtipc_sockets_diag.h12 __u8 sdiag_family; /* must be AF_TIPC */ member
A Dvm_sockets_diag.h11 __u8 sdiag_family; /* must be AF_VSOCK */ member
A Dsock_diag.h11 __u8 sdiag_family; member
A Dunix_diag.h8 __u8 sdiag_family; member
A Dnetlink_diag.h8 __u8 sdiag_family; member
A Dxdp_diag.h13 __u8 sdiag_family; member
A Dpacket_diag.h8 __u8 sdiag_family; member
/linux/net/sctp/
A Ddiag.c356 if (r->sdiag_family != AF_UNSPEC && sk->sk_family != r->sdiag_family) in sctp_sock_filter()
382 if (r->sdiag_family != AF_UNSPEC && in sctp_ep_dump()
383 sk->sk_family != r->sdiag_family) in sctp_ep_dump()
439 if (req->sdiag_family == AF_INET) { in sctp_diag_dump_one()
/linux/net/mptcp/
A Dmptcp_diag.c89 if (r->sdiag_family != AF_UNSPEC && in mptcp_diag_dump()
90 sk->sk_family != r->sdiag_family) in mptcp_diag_dump()
/linux/tools/testing/vsock/
A Dvsock_diag_test.c179 .sdiag_family = AF_VSOCK, in send_req()

Completed in 25 milliseconds