Searched refs:newinet (Results 1 – 8 of 8) sorted by relevance
799 struct inet_sock *newinet = inet_sk(newsk); in inet_csk_route_child_sock() local805 fl4 = &newinet->cork.fl.u.ip4; in inet_csk_route_child_sock()1211 struct inet_sock *newinet; in inet_csk_clone_lock() local1217 newinet = inet_sk(newsk); in inet_csk_clone_lock()1223 newinet->inet_dport = ireq->ir_rmt_port; in inet_csk_clone_lock()1224 newinet->inet_num = ireq->ir_num; in inet_csk_clone_lock()1225 newinet->inet_sport = htons(ireq->ir_num); in inet_csk_clone_lock()1231 newinet->inet_saddr = ireq->ir_loc_addr; in inet_csk_clone_lock()
1684 struct inet_sock *newinet; local1705 newinet = inet_sk(newsk);1708 RCU_INIT_POINTER(newinet->inet_opt, inet_opt);1709 newinet->mc_index = inet_iif(skb);1710 newinet->mc_ttl = ip_hdr(skb)->ttl;1711 newinet->rcv_tos = ip_hdr(skb)->tos;1715 atomic_set(&newinet->inet_id, get_random_u16());1721 newinet->tos = tcp_rsk(req)->syn_tos & ~INET_ECN_MASK;1746 addr = (union tcp_md5_addr *)&newinet->inet_daddr;1767 newinet->inet_opt = NULL;[all …]
1350 struct inet_sock *newinet = inet_sk(newsk); local1353 newinet->pinet6 = newnp = tcp_inet6_sk(newsk);1354 newinet->ipv6_fl_list = NULL;1374 newnp->mcast_oif = newinet->mc_index;1375 newnp->mcast_hops = newinet->mc_ttl;1393 struct inet_sock *newinet; local1430 newinet = inet_sk(newsk);1431 newinet->cork.fl.u.ip6 = fl6;1432 newinet->pinet6 = tcp_inet6_sk(newsk);1433 newinet->ipv6_fl_list = NULL;[all …]
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()
4861 struct inet_sock *newinet; in sctp_clone_sock() local4872 newinet = inet_sk(newsk); in sctp_clone_sock()4876 newinet->inet_dport = htons(asoc->peer.port); in sctp_clone_sock()4877 atomic_set(&newinet->inet_id, get_random_u16()); in sctp_clone_sock()4880 newinet->mc_ttl = 1; in sctp_clone_sock()4881 newinet->mc_index = 0; in sctp_clone_sock()4882 newinet->mc_list = NULL; in sctp_clone_sock()4888 newinet->pinet6 = &((struct sctp6_sock *)newsk)->inet6; in sctp_clone_sock()4889 newinet->ipv6_fl_list = NULL; in sctp_clone_sock()
3680 struct inet_sock *newinet; in mptcp_copy_ip_options() local3682 newinet = inet_sk(newsk); in mptcp_copy_ip_options()3692 RCU_INIT_POINTER(newinet->inet_opt, newopt); in mptcp_copy_ip_options()