Searched refs:sdiag_family (Results 1 – 16 of 16) sorted by relevance
20 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()
39 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()
526 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()
237 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()
113 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()
39 __u8 sdiag_family; member56 __u8 sdiag_family; member
12 __u8 sdiag_family; /* must be AF_TIPC */ member
11 __u8 sdiag_family; /* must be AF_VSOCK */ member
11 __u8 sdiag_family; member
8 __u8 sdiag_family; member
13 __u8 sdiag_family; member
90 .sdiag_family = AF_UNIX, in send_request()124 ASSERT_EQ(udr->sdiag_family, AF_UNIX); in render_response()
351 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()
181 .sdiag_family = AF_VSOCK, in send_req()