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
27 #include <linux/inet.h>
700 struct inet_sock *inet = inet_sk(sk); in ping_v4_sendmsg() local
711 pr_debug("ping_v4_sendmsg(sk=%p,sk->num=%u)\n", inet, inet->inet_num); in ping_v4_sendmsg()
733 daddr = inet->inet_daddr; in ping_v4_sendmsg()
737 ipcm_init_sk(&ipc, inet); in ping_v4_sendmsg()
752 inet_opt = rcu_dereference(inet->inet_opt); in ping_v4_sendmsg()
771 tos = get_rttos(&ipc, inet); in ping_v4_sendmsg()
772 scope = ip_sendmsg_scope(inet, &ipc, msg); in ping_v4_sendmsg()
776 ipc.oif = READ_ONCE(inet->mc_index); in ping_v4_sendmsg()
778 saddr = READ_ONCE(inet->mc_addr); in ping_v4_sendmsg()
780 ipc.oif = READ_ONCE(inet->uc_index); in ping_v4_sendmsg()
816 pfh.icmph.un.echo.id = inet->inet_sport; in ping_v4_sendmsg()
1117 struct inet_sock *inet = inet_sk(sp); in ping_v4_format_sock() local
1118 __be32 dest = inet->inet_daddr; in ping_v4_format_sock()
1119 __be32 src = inet->inet_rcv_saddr; in ping_v4_format_sock()
1120 __u16 destp = ntohs(inet->inet_dport); in ping_v4_format_sock()
1121 __u16 srcp = ntohs(inet->inet_sport); in ping_v4_format_sock()