Lines Matching refs:inet
96 const struct inet_sock *inet = inet_sk(sk); in inet_sk_diag_fill() local
123 r->id.idiag_sport = inet->inet_sport; in inet_sk_diag_fill()
124 r->id.idiag_dport = inet->inet_dport; in inet_sk_diag_fill()
129 r->id.idiag_src[0] = inet->inet_rcv_saddr; in inet_sk_diag_fill()
130 r->id.idiag_dst[0] = inet->inet_daddr; in inet_sk_diag_fill()
139 if (nla_put_u8(skb, INET_DIAG_TOS, inet->tos) < 0) in inet_sk_diag_fill()
550 struct inet_sock *inet = inet_sk(sk); in inet_diag_bc_sk() local
564 entry.saddr = &inet->inet_rcv_saddr; in inet_diag_bc_sk()
565 entry.daddr = &inet->inet_daddr; in inet_diag_bc_sk()
567 entry.sport = inet->inet_num; in inet_diag_bc_sk()
568 entry.dport = ntohs(inet->inet_dport); in inet_diag_bc_sk()
816 struct inet_sock *inet = inet_sk(sk); in inet_diag_fill_req() local
839 r->id.idiag_sport = inet->inet_sport; in inet_diag_fill_req()
873 struct inet_sock *inet = inet_sk(sk); in inet_diag_dump_reqs() local
893 entry.sport = inet->inet_num; in inet_diag_dump_reqs()
963 struct inet_sock *inet = inet_sk(sk); in inet_diag_dump_icsk() local
977 if (r->id.idiag_sport != inet->inet_sport && in inet_diag_dump_icsk()