Lines Matching full:inet

3  * INET		An implementation of the TCP/IP protocol suite for the LINUX
4 * operating system. INET is implemented using the BSD Socket
122 const struct inet_sock *inet = inet_sk(sk); in raw_v4_match() local
124 if (net_eq(sock_net(sk), net) && inet->inet_num == num && in raw_v4_match()
125 !(inet->inet_daddr && inet->inet_daddr != raddr) && in raw_v4_match()
126 !(inet->inet_rcv_saddr && inet->inet_rcv_saddr != laddr) && in raw_v4_match()
210 struct inet_sock *inet = inet_sk(sk); in raw_err() local
249 harderr = READ_ONCE(inet->pmtudisc) != IP_PMTUDISC_DONT; in raw_err()
331 struct inet_sock *inet = inet_sk(sk); in raw_send_hdrinc() local
341 ip_local_error(sk, EMSGSIZE, fl4->daddr, inet->inet_dport, in raw_send_hdrinc()
484 struct inet_sock *inet = inet_sk(sk); in raw_sendmsg() local
537 daddr = inet->inet_daddr; in raw_sendmsg()
540 ipcm_init_sk(&ipc, inet); in raw_sendmsg()
562 inet_opt = rcu_dereference(inet->inet_opt); in raw_sendmsg()
584 tos = get_rttos(&ipc, inet); in raw_sendmsg()
585 scope = ip_sendmsg_scope(inet, &ipc, msg); in raw_sendmsg()
587 uc_index = READ_ONCE(inet->uc_index); in raw_sendmsg()
590 ipc.oif = READ_ONCE(inet->mc_index); in raw_sendmsg()
592 saddr = READ_ONCE(inet->mc_addr); in raw_sendmsg()
702 struct inet_sock *inet = inet_sk(sk); in raw_bind() local
720 if (!inet_addr_valid_or_nonlocal(net, inet, addr->sin_addr.s_addr, in raw_bind()
724 inet->inet_rcv_saddr = inet->inet_saddr = addr->sin_addr.s_addr; in raw_bind()
726 inet->inet_saddr = 0; /* Use device */ in raw_bind()
742 struct inet_sock *inet = inet_sk(sk); in raw_recvmsg() local
780 if (inet_cmsg_flags(inet)) in raw_recvmsg()
1034 struct inet_sock *inet = inet_sk(sp); in raw_sock_seq_show() local
1035 __be32 dest = inet->inet_daddr, in raw_sock_seq_show()
1036 src = inet->inet_rcv_saddr; in raw_sock_seq_show()
1038 srcp = inet->inet_num; in raw_sock_seq_show()