Home
last modified time | relevance | path

Searched refs:newinet (Results 1 – 9 of 9) 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()
1202 struct inet_sock *newinet; in inet_csk_clone_lock() local
1208 newinet = inet_sk(newsk); in inet_csk_clone_lock()
1214 newinet->inet_dport = ireq->ir_rmt_port; in inet_csk_clone_lock()
1215 newinet->inet_num = ireq->ir_num; in inet_csk_clone_lock()
1216 newinet->inet_sport = htons(ireq->ir_num); in inet_csk_clone_lock()
1222 newinet->inet_saddr = ireq->ir_loc_addr; in inet_csk_clone_lock()
H A Dtcp_ipv4.c1681 struct inet_sock *newinet; local
1702 newinet = inet_sk(newsk);
1705 RCU_INIT_POINTER(newinet->inet_opt, inet_opt);
1706 newinet->mc_index = inet_iif(skb);
1707 newinet->mc_ttl = ip_hdr(skb)->ttl;
1708 newinet->rcv_tos = ip_hdr(skb)->tos;
1712 atomic_set(&newinet->inet_id, get_random_u16());
1718 newinet->tos = tcp_rsk(req)->syn_tos & ~INET_ECN_MASK;
1743 addr = (union tcp_md5_addr *)&newinet->inet_daddr;
1764 newinet->inet_opt = NULL;
[all …]
/linux/net/ipv6/
H A Dtcp_ipv6.c1333 struct inet_sock *newinet = inet_sk(newsk); local
1336 newinet->pinet6 = newnp = tcp_inet6_sk(newsk);
1337 newinet->ipv6_fl_list = NULL;
1357 newnp->mcast_oif = newinet->mc_index;
1358 newnp->mcast_hops = newinet->mc_ttl;
1376 struct inet_sock *newinet; local
1413 newinet = inet_sk(newsk);
1414 newinet->cork.fl.u.ip6 = fl6;
1415 newinet->pinet6 = tcp_inet6_sk(newsk);
1416 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/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.c4860 struct inet_sock *newinet; in sctp_clone_sock() local
4871 newinet = inet_sk(newsk); in sctp_clone_sock()
4875 newinet->inet_dport = htons(asoc->peer.port); in sctp_clone_sock()
4876 atomic_set(&newinet->inet_id, get_random_u16()); in sctp_clone_sock()
4879 newinet->mc_ttl = 1; in sctp_clone_sock()
4880 newinet->mc_index = 0; in sctp_clone_sock()
4881 newinet->mc_list = NULL; in sctp_clone_sock()
4887 newinet->pinet6 = &((struct sctp6_sock *)newsk)->inet6; in sctp_clone_sock()
4888 newinet->ipv6_fl_list = NULL; in sctp_clone_sock()
/linux/net/mptcp/
H A Dprotocol.c3537 struct inet_sock *newinet; in mptcp_copy_ip_options() local
3539 newinet = inet_sk(newsk); in mptcp_copy_ip_options()
3549 RCU_INIT_POINTER(newinet->inet_opt, newopt); in mptcp_copy_ip_options()