Lines Matching refs:inet
136 struct inet_sock *inet = inet_sk(sk); in compute_score() local
139 if (inet->inet_dport) { in compute_score()
140 if (inet->inet_dport != sport) in compute_score()
174 struct inet_sock *inet = inet_sk(sk); in compute_score2() local
179 if (inet->inet_dport) { in compute_score2()
180 if (inet->inet_dport != sport) in compute_score2()
367 struct inet_sock *inet = inet_sk(sk); in udpv6_recvmsg() local
466 if (inet->cmsg_flags) in udpv6_recvmsg()
680 struct inet_sock *inet = inet_sk(s); in udp_v6_mcast_next() local
688 if (inet->inet_dport) { in udp_v6_mcast_next()
689 if (inet->inet_dport != rmt_port) in udp_v6_mcast_next()
954 struct inet_sock *inet = inet_sk(sk); in udp_v6_push_pending_frames() local
955 struct flowi6 *fl6 = &inet->cork.fl.u.ip6; in udp_v6_push_pending_frames()
1010 struct inet_sock *inet = inet_sk(sk); in udpv6_sendmsg() local
1062 sin.sin_port = sin6 ? sin6->sin6_port : inet->inet_dport; in udpv6_sendmsg()
1135 fl6.fl6_dport = inet->inet_dport; in udpv6_sendmsg()
1185 fl6.fl6_sport = inet->inet_sport; in udpv6_sendmsg()
1367 struct inet_sock *inet = inet_sk(sp); in udp6_sock_seq_show() local
1374 destp = ntohs(inet->inet_dport); in udp6_sock_seq_show()
1375 srcp = ntohs(inet->inet_sport); in udp6_sock_seq_show()
1439 struct inet_sock *inet = inet_sk(sk); in udp_v6_clear_sk() local
1444 size -= offsetof(struct inet_sock, pinet6) + sizeof(inet->pinet6); in udp_v6_clear_sk()
1445 memset(&inet->pinet6 + 1, 0, size); in udp_v6_clear_sk()