Searched refs:newinet (Results 1 – 9 of 9) sorted by relevance
417 struct inet_sock *newinet; in dccp_v4_request_recv_sock() local427 newinet = inet_sk(newsk); in dccp_v4_request_recv_sock()429 RCU_INIT_POINTER(newinet->inet_opt, rcu_dereference(ireq->ireq_opt)); in dccp_v4_request_recv_sock()430 newinet->mc_index = inet_iif(skb); in dccp_v4_request_recv_sock()431 newinet->mc_ttl = ip_hdr(skb)->ttl; in dccp_v4_request_recv_sock()432 atomic_set(&newinet->inet_id, get_random_u16()); in dccp_v4_request_recv_sock()447 newinet->inet_opt = NULL; in dccp_v4_request_recv_sock()458 newinet->inet_opt = NULL; in dccp_v4_request_recv_sock()
431 struct inet_sock *newinet; in dccp_v6_request_recv_sock() local445 newinet = inet_sk(newsk); in dccp_v6_request_recv_sock()446 newinet->pinet6 = &newdp6->inet6; in dccp_v6_request_recv_sock()504 newinet = inet_sk(newsk); in dccp_v6_request_recv_sock()505 newinet->pinet6 = &newdp6->inet6; in dccp_v6_request_recv_sock()516 newinet->inet_opt = NULL; in dccp_v6_request_recv_sock()
842 struct inet_sock *newinet = inet_sk(newsk); in inet_csk_route_child_sock() local848 fl4 = &newinet->cork.fl.u.ip4; in inet_csk_route_child_sock()1240 struct inet_sock *newinet; in inet_csk_clone_lock() local1246 newinet = inet_sk(newsk); in inet_csk_clone_lock()1252 newinet->inet_dport = ireq->ir_rmt_port; in inet_csk_clone_lock()1253 newinet->inet_num = ireq->ir_num; in inet_csk_clone_lock()1254 newinet->inet_sport = htons(ireq->ir_num); in inet_csk_clone_lock()1260 newinet->inet_saddr = ireq->ir_loc_addr; in inet_csk_clone_lock()
1761 struct inet_sock *newinet; local1782 newinet = inet_sk(newsk);1785 RCU_INIT_POINTER(newinet->inet_opt, inet_opt);1786 newinet->mc_index = inet_iif(skb);1787 newinet->mc_ttl = ip_hdr(skb)->ttl;1788 newinet->rcv_tos = ip_hdr(skb)->tos;1792 atomic_set(&newinet->inet_id, get_random_u16());1798 newinet->tos = tcp_rsk(req)->syn_tos & ~INET_ECN_MASK;1819 addr = (union tcp_md5_addr *)&newinet->inet_daddr;1840 newinet->inet_opt = NULL;[all …]
180 struct inet_sock *newinet, *inet = inet_sk(sk); in sctp_v4_copy_ip_options() local183 newinet = inet_sk(newsk); in sctp_v4_copy_ip_options()193 RCU_INIT_POINTER(newinet->inet_opt, newopt); in sctp_v4_copy_ip_options()589 struct inet_sock *newinet; in sctp_v4_create_accept_sk() local601 newinet = inet_sk(newsk); in sctp_v4_create_accept_sk()603 newinet->inet_daddr = asoc->peer.primary_addr.v4.sin_addr.s_addr; in sctp_v4_create_accept_sk()
9474 struct inet_sock *newinet; in sctp_copy_sock() local9498 newinet = inet_sk(newsk); in sctp_copy_sock()9503 newinet->inet_sport = inet->inet_sport; in sctp_copy_sock()9504 newinet->inet_saddr = inet->inet_saddr; in sctp_copy_sock()9505 newinet->inet_rcv_saddr = inet->inet_rcv_saddr; in sctp_copy_sock()9506 newinet->inet_dport = htons(asoc->peer.port); in sctp_copy_sock()9507 newinet->pmtudisc = inet->pmtudisc; in sctp_copy_sock()9510 newinet->uc_ttl = inet->uc_ttl; in sctp_copy_sock()9512 newinet->mc_ttl = 1; in sctp_copy_sock()9513 newinet->mc_index = 0; in sctp_copy_sock()[all …]
1116 struct inet_sock *newinet; in chtls_recv_sock() local1187 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()
1365 struct inet_sock *newinet; local1456 newinet = inet_sk(newsk);1469 newinet->inet_opt = NULL;
3174 struct inet_sock *newinet; in mptcp_copy_ip_options() local3176 newinet = inet_sk(newsk); in mptcp_copy_ip_options()3186 RCU_INIT_POINTER(newinet->inet_opt, newopt); in mptcp_copy_ip_options()