Lines Matching refs:inet
696 struct inet_sock *inet = inet_sk(sk); in ping_v4_sendmsg() local
707 pr_debug("ping_v4_sendmsg(sk=%p,sk->num=%u)\n", inet, inet->inet_num); in ping_v4_sendmsg()
729 daddr = inet->inet_daddr; in ping_v4_sendmsg()
733 ipc.addr = inet->inet_saddr; in ping_v4_sendmsg()
751 inet_opt = rcu_dereference(inet->inet_opt); in ping_v4_sendmsg()
768 tos = RT_TOS(inet->tos); in ping_v4_sendmsg()
777 ipc.oif = inet->mc_index; in ping_v4_sendmsg()
779 saddr = inet->mc_addr; in ping_v4_sendmsg()
781 ipc.oif = inet->uc_index; in ping_v4_sendmsg()
815 pfh.icmph.un.echo.id = inet->inet_sport; in ping_v4_sendmsg()
1090 struct inet_sock *inet = inet_sk(sp); in ping_format_sock() local
1091 __be32 dest = inet->inet_daddr; in ping_format_sock()
1092 __be32 src = inet->inet_rcv_saddr; in ping_format_sock()
1093 __u16 destp = ntohs(inet->inet_dport); in ping_format_sock()
1094 __u16 srcp = ntohs(inet->inet_sport); in ping_format_sock()