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
895 struct inet_sock *inet = inet_sk(sk); in do_ip_setsockopt() local
1031 WRITE_ONCE(inet->uc_ttl, val); in do_ip_setsockopt()
1042 WRITE_ONCE(inet->min_ttl, val); in do_ip_setsockopt()
1053 WRITE_ONCE(inet->mc_ttl, val); in do_ip_setsockopt()
1070 WRITE_ONCE(inet->local_port_range, val); in do_ip_setsockopt()
1090 old = rcu_dereference_protected(inet->inet_opt, in do_ip_setsockopt()
1098 inet->inet_daddr != LOOPBACK4_IPV6)) { in do_ip_setsockopt()
1109 rcu_assign_pointer(inet->inet_opt, opt); in do_ip_setsockopt()
1138 WRITE_ONCE(inet->uc_index, 0); in do_ip_setsockopt()
1155 WRITE_ONCE(inet->uc_index, ifindex); in do_ip_setsockopt()
1193 WRITE_ONCE(inet->mc_index, 0); in do_ip_setsockopt()
1194 WRITE_ONCE(inet->mc_addr, 0); in do_ip_setsockopt()
1219 WRITE_ONCE(inet->mc_index, mreq.imr_ifindex); in do_ip_setsockopt()
1220 WRITE_ONCE(inet->mc_addr, mreq.imr_address.s_addr); in do_ip_setsockopt()
1385 * underlying inet{6}_skb_parm struct. This code then overlays in ipv4_pktinfo_prepare()
1510 struct inet_sock *inet = inet_sk(sk); in do_ip_getsockopt() local
1586 val = READ_ONCE(inet->uc_ttl); in do_ip_getsockopt()
1591 val = READ_ONCE(inet->min_ttl); in do_ip_getsockopt()
1594 val = READ_ONCE(inet->mc_ttl); in do_ip_getsockopt()
1597 val = READ_ONCE(inet->pmtudisc); in do_ip_getsockopt()
1600 val = READ_ONCE(inet->tos); in do_ip_getsockopt()
1609 inet_opt = rcu_dereference(inet->inet_opt); in do_ip_getsockopt()
1664 info.ipi_addr.s_addr = READ_ONCE(inet->inet_rcv_saddr); in do_ip_getsockopt()
1665 info.ipi_spec_dst.s_addr = READ_ONCE(inet->inet_rcv_saddr); in do_ip_getsockopt()
1666 info.ipi_ifindex = READ_ONCE(inet->mc_index); in do_ip_getsockopt()
1670 int hlim = READ_ONCE(inet->mc_ttl); in do_ip_getsockopt()
1675 int tos = READ_ONCE(inet->rcv_tos); in do_ip_getsockopt()
1682 val = (__force int)htonl((__u32) READ_ONCE(inet->uc_index)); in do_ip_getsockopt()
1688 addr.s_addr = READ_ONCE(inet->mc_addr); in do_ip_getsockopt()
1697 val = READ_ONCE(inet->local_port_range); in do_ip_getsockopt()