Searched refs:newinet (Results 1 – 8 of 8) sorted by relevance
402 struct inet_sock *newinet; in dccp_v4_request_recv_sock() local412 newinet = inet_sk(newsk); in dccp_v4_request_recv_sock()416 newinet->inet_saddr = ireq->ir_loc_addr; in dccp_v4_request_recv_sock()417 RCU_INIT_POINTER(newinet->inet_opt, rcu_dereference(ireq->ireq_opt)); in dccp_v4_request_recv_sock()418 newinet->mc_index = inet_iif(skb); in dccp_v4_request_recv_sock()419 newinet->mc_ttl = ip_hdr(skb)->ttl; in dccp_v4_request_recv_sock()420 newinet->inet_id = jiffies; in dccp_v4_request_recv_sock()435 newinet->inet_opt = NULL; in dccp_v4_request_recv_sock()446 newinet->inet_opt = NULL; in dccp_v4_request_recv_sock()
407 struct inet_sock *newinet; in dccp_v6_request_recv_sock() local421 newinet = inet_sk(newsk); in dccp_v6_request_recv_sock()422 newinet->pinet6 = &newdp6->inet6; in dccp_v6_request_recv_sock()480 newinet = inet_sk(newsk); in dccp_v6_request_recv_sock()481 newinet->pinet6 = &newdp6->inet6; in dccp_v6_request_recv_sock()495 newinet->inet_opt = NULL; in dccp_v6_request_recv_sock()528 newinet->inet_daddr = newinet->inet_saddr = LOOPBACK4_IPV6; in dccp_v6_request_recv_sock()529 newinet->inet_rcv_saddr = LOOPBACK4_IPV6; in dccp_v6_request_recv_sock()
1405 struct inet_sock *newinet; in tcp_v4_syn_recv_sock() local1424 newinet = inet_sk(newsk); in tcp_v4_syn_recv_sock()1429 newinet->inet_saddr = ireq->ir_loc_addr; in tcp_v4_syn_recv_sock()1431 RCU_INIT_POINTER(newinet->inet_opt, inet_opt); in tcp_v4_syn_recv_sock()1432 newinet->mc_index = inet_iif(skb); in tcp_v4_syn_recv_sock()1433 newinet->mc_ttl = ip_hdr(skb)->ttl; in tcp_v4_syn_recv_sock()1434 newinet->rcv_tos = ip_hdr(skb)->tos; in tcp_v4_syn_recv_sock()1438 newinet->inet_id = newtp->write_seq ^ jiffies; in tcp_v4_syn_recv_sock()1458 key = tcp_md5_do_lookup(sk, (union tcp_md5_addr *)&newinet->inet_daddr, in tcp_v4_syn_recv_sock()1467 tcp_md5_do_add(newsk, (union tcp_md5_addr *)&newinet->inet_daddr, in tcp_v4_syn_recv_sock()[all …]
580 struct inet_sock *newinet = inet_sk(newsk); in inet_csk_route_child_sock() local586 fl4 = &newinet->cork.fl.u.ip4; in inet_csk_route_child_sock()
193 struct inet_sock *newinet, *inet = inet_sk(sk); in sctp_v4_copy_ip_options() local196 newinet = inet_sk(newsk); in sctp_v4_copy_ip_options()209 RCU_INIT_POINTER(newinet->inet_opt, newopt); in sctp_v4_copy_ip_options()573 struct inet_sock *newinet; in sctp_v4_create_accept_sk() local585 newinet = inet_sk(newsk); in sctp_v4_create_accept_sk()587 newinet->inet_daddr = asoc->peer.primary_addr.v4.sin_addr.s_addr; in sctp_v4_create_accept_sk()
8774 struct inet_sock *newinet; in sctp_copy_sock() local8799 newinet = inet_sk(newsk); in sctp_copy_sock()8804 newinet->inet_sport = inet->inet_sport; in sctp_copy_sock()8805 newinet->inet_saddr = inet->inet_saddr; in sctp_copy_sock()8806 newinet->inet_rcv_saddr = inet->inet_rcv_saddr; in sctp_copy_sock()8807 newinet->inet_dport = htons(asoc->peer.port); in sctp_copy_sock()8808 newinet->pmtudisc = inet->pmtudisc; in sctp_copy_sock()8809 newinet->inet_id = asoc->next_tsn ^ jiffies; in sctp_copy_sock()8811 newinet->uc_ttl = inet->uc_ttl; in sctp_copy_sock()8812 newinet->mc_loop = 1; in sctp_copy_sock()[all …]
1070 struct inet_sock *newinet; in tcp_v6_syn_recv_sock() local1092 newinet = inet_sk(newsk); in tcp_v6_syn_recv_sock()1161 newinet = inet_sk(newsk); in tcp_v6_syn_recv_sock()1175 newinet->inet_opt = NULL; in tcp_v6_syn_recv_sock()1216 newinet->inet_daddr = newinet->inet_saddr = LOOPBACK4_IPV6; in tcp_v6_syn_recv_sock()1217 newinet->inet_rcv_saddr = LOOPBACK4_IPV6; in tcp_v6_syn_recv_sock()
1018 struct inet_sock *newinet; in chtls_recv_sock() local1061 newinet = inet_sk(newsk); in chtls_recv_sock()1063 newinet->inet_daddr = iph->saddr; in chtls_recv_sock()1064 newinet->inet_rcv_saddr = iph->daddr; in chtls_recv_sock()1065 newinet->inet_saddr = iph->daddr; in chtls_recv_sock()