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/ipv6/
H A Dtcp_ipv6.c1316 struct inet_sock *newinet = inet_sk(newsk); local
1319 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; local
1396 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 …]
/linux/drivers/net/ethernet/chelsio/inline_crypto/chtls/
H A Dchtls_cm.c1118 struct inet_sock *newinet; in chtls_recv_sock() local
1189 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()
/linux/net/ipv4/
H A Dtcp_ipv4.c1712 struct inet_sock *newinet; local
1733 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 …]
/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.c4851 struct inet_sock *newinet; in sctp_clone_sock() local
4861 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()
/linux/net/mptcp/
H A Dprotocol.c3484 struct inet_sock *newinet; in mptcp_copy_ip_options() local
3486 newinet = inet_sk(newsk); in mptcp_copy_ip_options()
3496 RCU_INIT_POINTER(newinet->inet_opt, newopt); in mptcp_copy_ip_options()