Home
last modified time | relevance | path

Searched refs:req_to_sk (Results 1 – 11 of 11) sorted by relevance

/Linux-v6.6/include/net/
Drequest_sock.h81 static inline struct sock *req_to_sk(struct request_sock *req) in req_to_sk() function
104 req_to_sk(req)->sk_prot = sk_listener->sk_prot; in reqsk_alloc()
105 sk_node_init(&req_to_sk(req)->sk_node); in reqsk_alloc()
106 sk_tx_queue_clear(req_to_sk(req)); in reqsk_alloc()
/Linux-v6.6/net/ipv4/
Dinet_connection_sock.c903 req_sk = req_to_sk(req); in inet_reqsk_clone()
904 nreq_sk = req_to_sk(nreq); in inet_reqsk_clone()
951 struct sock *sk = req_to_sk(req); in reqsk_queue_unlink()
999 nsk = reuseport_migrate_sock(sk_listener, req_to_sk(req), NULL); in reqsk_timer_handler()
1067 if (!inet_ehash_insert(req_to_sk(nreq), req_to_sk(oreq), NULL)) { in reqsk_timer_handler()
1104 inet_ehash_insert(req_to_sk(req), NULL, NULL); in reqsk_queue_hash_req()
Dsyncookies.c386 sk_rcv_saddr_set(req_to_sk(req), ip_hdr(skb)->daddr); in cookie_v4_check()
387 sk_daddr_set(req_to_sk(req), ip_hdr(skb)->saddr); in cookie_v4_check()
Dtcp_ipv4.c1493 sk_rcv_saddr_set(req_to_sk(req), ip_hdr(skb)->daddr); in tcp_v4_init_req()
1494 sk_daddr_set(req_to_sk(req), ip_hdr(skb)->saddr); in tcp_v4_init_req()
1637 *own_req = inet_ehash_nolisten(newsk, req_to_sk(req_unhash), in tcp_v4_syn_recv_sock()
2057 nsk = reuseport_migrate_sock(sk, req_to_sk(req), skb); in tcp_v4_rcv()
Dtcp_output.c3654 skb_set_owner_w(skb, req_to_sk(req)); in tcp_make_synack()
3689 md5 = tcp_rsk(req)->af_specific->req_md5_lookup(sk, req_to_sk(req)); in tcp_make_synack()
3724 md5, req_to_sk(req), skb); in tcp_make_synack()
Dtcp_input.c7064 sk_rx_queue_set(req_to_sk(req), skb); in tcp_conn_request()
/Linux-v6.6/net/dccp/
Dipv4.c444 *own_req = inet_ehash_nolisten(newsk, req_to_sk(req_unhash), NULL); in dccp_v4_request_recv_sock()
636 sk_rcv_saddr_set(req_to_sk(req), ip_hdr(skb)->daddr); in dccp_v4_conn_request()
637 sk_daddr_set(req_to_sk(req), ip_hdr(skb)->saddr); in dccp_v4_conn_request()
Dipv6.c552 *own_req = inet_ehash_nolisten(newsk, req_to_sk(req_unhash), NULL); in dccp_v6_request_recv_sock()
/Linux-v6.6/net/ipv6/
Dcalipso.c1196 struct sock *sk = sk_to_full_sk(req_to_sk(req)); in calipso_req_setattr()
1236 struct sock *sk = sk_to_full_sk(req_to_sk(req)); in calipso_req_delattr()
Dtcp_ipv6.c1382 *own_req = inet_ehash_nolisten(newsk, req_to_sk(req_unhash), in tcp_v6_syn_recv_sock()
1659 nsk = reuseport_migrate_sock(sk, req_to_sk(req), skb); in tcp_v6_rcv()
/Linux-v6.6/net/mptcp/
Dsubflow.c36 MPTCP_INC_STATS(sock_net(req_to_sk(req)), field); in SUBFLOW_REQ_INC_STATS()
91 msk = mptcp_token_get_sock(sock_net(req_to_sk(req)), subflow_req->token); in subflow_token_join_request()