Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/net/dccp/
Dipv4.c403 struct inet_sock *newinet; in dccp_v4_request_recv_sock() local
413 newinet = inet_sk(newsk); in dccp_v4_request_recv_sock()
417 newinet->inet_saddr = ireq->ir_loc_addr; in dccp_v4_request_recv_sock()
418 RCU_INIT_POINTER(newinet->inet_opt, rcu_dereference(ireq->ireq_opt)); in dccp_v4_request_recv_sock()
419 newinet->mc_index = inet_iif(skb); in dccp_v4_request_recv_sock()
420 newinet->mc_ttl = ip_hdr(skb)->ttl; in dccp_v4_request_recv_sock()
421 newinet->inet_id = prandom_u32(); in dccp_v4_request_recv_sock()
436 newinet->inet_opt = NULL; in dccp_v4_request_recv_sock()
447 newinet->inet_opt = NULL; in dccp_v4_request_recv_sock()
Dipv6.c412 struct inet_sock *newinet; in dccp_v6_request_recv_sock() local
426 newinet = inet_sk(newsk); in dccp_v6_request_recv_sock()
427 newinet->pinet6 = &newdp6->inet6; in dccp_v6_request_recv_sock()
485 newinet = inet_sk(newsk); in dccp_v6_request_recv_sock()
486 newinet->pinet6 = &newdp6->inet6; in dccp_v6_request_recv_sock()
500 newinet->inet_opt = NULL; in dccp_v6_request_recv_sock()
533 newinet->inet_daddr = newinet->inet_saddr = LOOPBACK4_IPV6; in dccp_v6_request_recv_sock()
534 newinet->inet_rcv_saddr = LOOPBACK4_IPV6; in dccp_v6_request_recv_sock()
/kernel/linux/linux-5.10/net/sctp/
Dprotocol.c178 struct inet_sock *newinet, *inet = inet_sk(sk); in sctp_v4_copy_ip_options() local
181 newinet = inet_sk(newsk); in sctp_v4_copy_ip_options()
194 RCU_INIT_POINTER(newinet->inet_opt, newopt); in sctp_v4_copy_ip_options()
580 struct inet_sock *newinet; in sctp_v4_create_accept_sk() local
592 newinet = inet_sk(newsk); in sctp_v4_create_accept_sk()
594 newinet->inet_daddr = asoc->peer.primary_addr.v4.sin_addr.s_addr; in sctp_v4_create_accept_sk()
Dsocket.c9180 struct inet_sock *newinet; in sctp_copy_sock() local
9205 newinet = inet_sk(newsk); in sctp_copy_sock()
9210 newinet->inet_sport = inet->inet_sport; in sctp_copy_sock()
9211 newinet->inet_saddr = inet->inet_saddr; in sctp_copy_sock()
9212 newinet->inet_rcv_saddr = inet->inet_rcv_saddr; in sctp_copy_sock()
9213 newinet->inet_dport = htons(asoc->peer.port); in sctp_copy_sock()
9214 newinet->pmtudisc = inet->pmtudisc; in sctp_copy_sock()
9215 newinet->inet_id = prandom_u32(); in sctp_copy_sock()
9217 newinet->uc_ttl = inet->uc_ttl; in sctp_copy_sock()
9218 newinet->mc_loop = 1; in sctp_copy_sock()
[all …]
/kernel/linux/linux-5.10/net/ipv4/
Dtcp_ipv4.c1523 struct inet_sock *newinet; in tcp_v4_syn_recv_sock() local
1544 newinet = inet_sk(newsk); in tcp_v4_syn_recv_sock()
1549 newinet->inet_saddr = ireq->ir_loc_addr; in tcp_v4_syn_recv_sock()
1551 RCU_INIT_POINTER(newinet->inet_opt, inet_opt); in tcp_v4_syn_recv_sock()
1552 newinet->mc_index = inet_iif(skb); in tcp_v4_syn_recv_sock()
1553 newinet->mc_ttl = ip_hdr(skb)->ttl; in tcp_v4_syn_recv_sock()
1554 newinet->rcv_tos = ip_hdr(skb)->tos; in tcp_v4_syn_recv_sock()
1558 newinet->inet_id = prandom_u32(); in tcp_v4_syn_recv_sock()
1564 newinet->tos = tcp_rsk(req)->syn_tos & ~INET_ECN_MASK; in tcp_v4_syn_recv_sock()
1585 addr = (union tcp_md5_addr *)&newinet->inet_daddr; in tcp_v4_syn_recv_sock()
[all …]
Dinet_connection_sock.c638 struct inet_sock *newinet = inet_sk(newsk); in inet_csk_route_child_sock() local
644 fl4 = &newinet->cork.fl.u.ip4; in inet_csk_route_child_sock()
/kernel/linux/linux-5.10/drivers/net/ethernet/chelsio/inline_crypto/chtls/
Dchtls_cm.c1117 struct inet_sock *newinet; in chtls_recv_sock() local
1188 newinet = inet_sk(newsk); in chtls_recv_sock()
1191 newinet->inet_daddr = iph->saddr; in chtls_recv_sock()
1192 newinet->inet_rcv_saddr = iph->daddr; in chtls_recv_sock()
1193 newinet->inet_saddr = iph->daddr; in chtls_recv_sock()
1209 newinet->inet_opt = NULL; in chtls_recv_sock()
1210 newinet->inet_daddr = LOOPBACK4_IPV6; in chtls_recv_sock()
1211 newinet->inet_saddr = LOOPBACK4_IPV6; in chtls_recv_sock()
/kernel/linux/linux-5.10/net/ipv6/
Dtcp_ipv6.c1225 struct inet_sock *newinet; in tcp_v6_syn_recv_sock() local
1248 newinet = inet_sk(newsk); in tcp_v6_syn_recv_sock()
1318 newinet = inet_sk(newsk); in tcp_v6_syn_recv_sock()
1332 newinet->inet_opt = NULL; in tcp_v6_syn_recv_sock()
1379 newinet->inet_daddr = newinet->inet_saddr = LOOPBACK4_IPV6; in tcp_v6_syn_recv_sock()
1380 newinet->inet_rcv_saddr = LOOPBACK4_IPV6; in tcp_v6_syn_recv_sock()
/kernel/linux/common_modules/newip/third_party/linux-5.10/net/newip/
Dtcp_nip.c911 struct inet_sock *newinet; in tcp_nip_syn_recv_sock() local
937 newinet = inet_sk(newsk); in tcp_nip_syn_recv_sock()
942 newinet->inet_opt = NULL; in tcp_nip_syn_recv_sock()
978 newinet->inet_opt = NULL; in tcp_nip_syn_recv_sock()