Home
last modified time | relevance | path

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

/openbmc/linux/net/dccp/
H A Dipv4.c415 struct inet_sock *newinet; in dccp_v4_request_recv_sock() local
425 newinet = inet_sk(newsk); in dccp_v4_request_recv_sock()
429 newinet->inet_saddr = ireq->ir_loc_addr; in dccp_v4_request_recv_sock()
430 RCU_INIT_POINTER(newinet->inet_opt, rcu_dereference(ireq->ireq_opt)); in dccp_v4_request_recv_sock()
431 newinet->mc_index = inet_iif(skb); in dccp_v4_request_recv_sock()
432 newinet->mc_ttl = ip_hdr(skb)->ttl; in dccp_v4_request_recv_sock()
433 atomic_set(&newinet->inet_id, get_random_u16()); in dccp_v4_request_recv_sock()
448 newinet->inet_opt = NULL; in dccp_v4_request_recv_sock()
459 newinet->inet_opt = NULL; in dccp_v4_request_recv_sock()
H A Dipv6.c426 struct inet_sock *newinet; in dccp_v6_request_recv_sock() local
440 newinet = inet_sk(newsk); in dccp_v6_request_recv_sock()
441 newinet->pinet6 = &newdp6->inet6; in dccp_v6_request_recv_sock()
499 newinet = inet_sk(newsk); in dccp_v6_request_recv_sock()
500 newinet->pinet6 = &newdp6->inet6; in dccp_v6_request_recv_sock()
514 newinet->inet_opt = NULL; in dccp_v6_request_recv_sock()
547 newinet->inet_daddr = newinet->inet_saddr = LOOPBACK4_IPV6; in dccp_v6_request_recv_sock()
548 newinet->inet_rcv_saddr = LOOPBACK4_IPV6; in dccp_v6_request_recv_sock()
/openbmc/linux/net/sctp/
H A 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()
587 struct inet_sock *newinet; in sctp_v4_create_accept_sk() local
599 newinet = inet_sk(newsk); in sctp_v4_create_accept_sk()
601 newinet->inet_daddr = asoc->peer.primary_addr.v4.sin_addr.s_addr; in sctp_v4_create_accept_sk()
H A Dsocket.c9461 struct inet_sock *newinet; in sctp_copy_sock() local
9485 newinet = inet_sk(newsk); in sctp_copy_sock()
9490 newinet->inet_sport = inet->inet_sport; in sctp_copy_sock()
9491 newinet->inet_saddr = inet->inet_saddr; in sctp_copy_sock()
9492 newinet->inet_rcv_saddr = inet->inet_rcv_saddr; in sctp_copy_sock()
9493 newinet->inet_dport = htons(asoc->peer.port); in sctp_copy_sock()
9494 newinet->pmtudisc = inet->pmtudisc; in sctp_copy_sock()
9495 atomic_set(&newinet->inet_id, get_random_u16()); in sctp_copy_sock()
9497 newinet->uc_ttl = inet->uc_ttl; in sctp_copy_sock()
9499 newinet->mc_ttl = 1; in sctp_copy_sock()
[all …]
/openbmc/linux/net/ipv4/
H A Dtcp_ipv4.c1570 struct inet_sock *newinet; in tcp_v4_syn_recv_sock() local
1591 newinet = inet_sk(newsk); in tcp_v4_syn_recv_sock()
1596 newinet->inet_saddr = ireq->ir_loc_addr; in tcp_v4_syn_recv_sock()
1598 RCU_INIT_POINTER(newinet->inet_opt, inet_opt); in tcp_v4_syn_recv_sock()
1599 newinet->mc_index = inet_iif(skb); in tcp_v4_syn_recv_sock()
1600 newinet->mc_ttl = ip_hdr(skb)->ttl; in tcp_v4_syn_recv_sock()
1601 newinet->rcv_tos = ip_hdr(skb)->tos; in tcp_v4_syn_recv_sock()
1605 atomic_set(&newinet->inet_id, get_random_u16()); in tcp_v4_syn_recv_sock()
1611 newinet->tos = tcp_rsk(req)->syn_tos & ~INET_ECN_MASK; in tcp_v4_syn_recv_sock()
1632 addr = (union tcp_md5_addr *)&newinet->inet_daddr; in tcp_v4_syn_recv_sock()
[all …]
H A Dinet_connection_sock.c848 struct inet_sock *newinet = inet_sk(newsk); in inet_csk_route_child_sock() local
854 fl4 = &newinet->cork.fl.u.ip4; in inet_csk_route_child_sock()
/openbmc/linux/drivers/net/ethernet/chelsio/inline_crypto/chtls/
H A Dchtls_cm.c1116 struct inet_sock *newinet; in chtls_recv_sock() local
1187 newinet = inet_sk(newsk); in chtls_recv_sock()
1190 newinet->inet_daddr = iph->saddr; in chtls_recv_sock()
1191 newinet->inet_rcv_saddr = iph->daddr; in chtls_recv_sock()
1192 newinet->inet_saddr = iph->daddr; in chtls_recv_sock()
1208 newinet->inet_opt = NULL; in chtls_recv_sock()
1209 newinet->inet_daddr = LOOPBACK4_IPV6; in chtls_recv_sock()
1210 newinet->inet_saddr = LOOPBACK4_IPV6; in chtls_recv_sock()
/openbmc/linux/net/ipv6/
H A Dtcp_ipv6.c1198 struct inet_sock *newinet; in tcp_v6_syn_recv_sock() local
1289 newinet = inet_sk(newsk); in tcp_v6_syn_recv_sock()
1305 newinet->inet_opt = NULL; in tcp_v6_syn_recv_sock()
1352 newinet->inet_daddr = newinet->inet_saddr = LOOPBACK4_IPV6; in tcp_v6_syn_recv_sock()
1353 newinet->inet_rcv_saddr = LOOPBACK4_IPV6; in tcp_v6_syn_recv_sock()
/openbmc/linux/net/mptcp/
H A Dprotocol.c3242 struct inet_sock *newinet; in mptcp_copy_ip_options() local
3244 newinet = inet_sk(newsk); in mptcp_copy_ip_options()
3257 RCU_INIT_POINTER(newinet->inet_opt, newopt); in mptcp_copy_ip_options()