Home
last modified time | relevance | path

Searched refs:newinet (Results 1 – 8 of 8) sorted by relevance

/linux/net/dccp/
H A Dipv4.c
H A Dipv6.c
/linux/net/ipv4/
H A Dinet_connection_sock.c799 struct inet_sock *newinet = inet_sk(newsk); in inet_csk_route_child_sock() local
805 fl4 = &newinet->cork.fl.u.ip4; in inet_csk_route_child_sock()
1211 struct inet_sock *newinet; in inet_csk_clone_lock() local
1217 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()
H A Dtcp_ipv4.c1684 struct inet_sock *newinet; local
1705 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 …]
/linux/net/ipv6/
H A Dtcp_ipv6.c1350 struct inet_sock *newinet = inet_sk(newsk); local
1353 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; local
1430 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 …]
/linux/net/sctp/
H A Dprotocol.c181 struct inet_sock *newinet, *inet = inet_sk(sk); in sctp_v4_copy_ip_options() local
184 newinet = inet_sk(newsk); in sctp_v4_copy_ip_options()
194 RCU_INIT_POINTER(newinet->inet_opt, newopt); in sctp_v4_copy_ip_options()
H A Dsocket.c4861 struct inet_sock *newinet; in sctp_clone_sock() local
4872 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()
/linux/net/mptcp/
H A Dprotocol.c3680 struct inet_sock *newinet; in mptcp_copy_ip_options() local
3682 newinet = inet_sk(newsk); in mptcp_copy_ip_options()
3692 RCU_INIT_POINTER(newinet->inet_opt, newopt); in mptcp_copy_ip_options()