Searched refs:newinet (Results 1 – 7 of 7) sorted by relevance
801 struct inet_sock *newinet = inet_sk(newsk); in inet_csk_route_child_sock() local807 fl4 = &newinet->cork.fl.u.ip4; in inet_csk_route_child_sock()1199 struct inet_sock *newinet; in inet_csk_clone_lock() local1205 newinet = inet_sk(newsk); in inet_csk_clone_lock()1211 newinet->inet_dport = ireq->ir_rmt_port; in inet_csk_clone_lock()1212 newinet->inet_num = ireq->ir_num; in inet_csk_clone_lock()1213 newinet->inet_sport = htons(ireq->ir_num); in inet_csk_clone_lock()1219 newinet->inet_saddr = ireq->ir_loc_addr; in inet_csk_clone_lock()
1712 struct inet_sock *newinet; local1733 newinet = inet_sk(newsk);1736 RCU_INIT_POINTER(newinet->inet_opt, inet_opt);1737 newinet->mc_index = inet_iif(skb);1738 newinet->mc_ttl = ip_hdr(skb)->ttl;1739 newinet->rcv_tos = ip_hdr(skb)->tos;1743 atomic_set(&newinet->inet_id, get_random_u16());1749 newinet->tos = tcp_rsk(req)->syn_tos & ~INET_ECN_MASK;1774 addr = (union tcp_md5_addr *)&newinet->inet_daddr;1795 newinet->inet_opt = NULL;[all …]
1316 struct inet_sock *newinet = inet_sk(newsk); local1319 newinet->pinet6 = newnp = tcp_inet6_sk(newsk);1320 newinet->ipv6_fl_list = NULL;1340 newnp->mcast_oif = newinet->mc_index;1341 newnp->mcast_hops = newinet->mc_ttl;1359 struct inet_sock *newinet; local1396 newinet = inet_sk(newsk);1397 newinet->cork.fl.u.ip6 = fl6;1398 newinet->pinet6 = tcp_inet6_sk(newsk);1399 newinet->ipv6_fl_list = NULL;[all …]
1118 struct inet_sock *newinet; in chtls_recv_sock() local1189 newinet = inet_sk(newsk); in chtls_recv_sock()1192 newinet->inet_daddr = iph->saddr; in chtls_recv_sock()1193 newinet->inet_rcv_saddr = iph->daddr; in chtls_recv_sock()1194 newinet->inet_saddr = iph->daddr; in chtls_recv_sock()1202 newinet->pinet6 = &newtcp6sk->inet6; in chtls_recv_sock()1203 newinet->ipv6_fl_list = NULL; in chtls_recv_sock()1210 newinet->inet_opt = NULL; in chtls_recv_sock()1211 newinet->inet_daddr = LOOPBACK4_IPV6; in chtls_recv_sock()1212 newinet->inet_saddr = LOOPBACK4_IPV6; in chtls_recv_sock()
181 struct inet_sock *newinet, *inet = inet_sk(sk); in sctp_v4_copy_ip_options() local184 newinet = inet_sk(newsk); in sctp_v4_copy_ip_options()194 RCU_INIT_POINTER(newinet->inet_opt, newopt); in sctp_v4_copy_ip_options()
4851 struct inet_sock *newinet; in sctp_clone_sock() local4861 newinet = inet_sk(newsk); in sctp_clone_sock()4865 newinet->inet_dport = htons(asoc->peer.port); in sctp_clone_sock()4866 atomic_set(&newinet->inet_id, get_random_u16()); in sctp_clone_sock()4869 newinet->mc_ttl = 1; in sctp_clone_sock()4870 newinet->mc_index = 0; in sctp_clone_sock()4871 newinet->mc_list = NULL; in sctp_clone_sock()4877 newinet->pinet6 = &((struct sctp6_sock *)newsk)->inet6; in sctp_clone_sock()4878 newinet->ipv6_fl_list = NULL; in sctp_clone_sock()
3489 struct inet_sock *newinet; in mptcp_copy_ip_options() 3491 newinet = inet_sk(newsk); in mptcp_copy_ip_options() 3501 RCU_INIT_POINTER(newinet->inet_opt, newopt); in mptcp_sk_clone_init() 3484 struct inet_sock *newinet; mptcp_copy_ip_options() local