Home
last modified time | relevance | path

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

/linux-6.1.9/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-6.1.9/net/ipv4/
Dinet_connection_sock.c879 req_sk = req_to_sk(req); in inet_reqsk_clone()
880 nreq_sk = req_to_sk(nreq); in inet_reqsk_clone()
927 struct sock *sk = req_to_sk(req); in reqsk_queue_unlink()
975 nsk = reuseport_migrate_sock(sk_listener, req_to_sk(req), NULL); in reqsk_timer_handler()
1043 if (!inet_ehash_insert(req_to_sk(nreq), req_to_sk(oreq), NULL)) { in reqsk_timer_handler()
1080 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_minisocks.c555 if (treq->af_specific->req_md5_lookup(sk, req_to_sk(req))) in tcp_create_openreq_child()
Dtcp_ipv4.c1429 sk_rcv_saddr_set(req_to_sk(req), ip_hdr(skb)->daddr); in tcp_v4_init_req()
1430 sk_daddr_set(req_to_sk(req), ip_hdr(skb)->saddr); in tcp_v4_init_req()
1579 *own_req = inet_ehash_nolisten(newsk, req_to_sk(req_unhash), in tcp_v4_syn_recv_sock()
1998 nsk = reuseport_migrate_sock(sk, req_to_sk(req), skb); in tcp_v4_rcv()
Dtcp_output.c3547 skb_set_owner_w(skb, req_to_sk(req)); in tcp_make_synack()
3582 md5 = tcp_rsk(req)->af_specific->req_md5_lookup(sk, req_to_sk(req)); in tcp_make_synack()
3617 md5, req_to_sk(req), skb); in tcp_make_synack()
Dtcp_input.c7007 sk_rx_queue_set(req_to_sk(req), skb); in tcp_conn_request()
/linux-6.1.9/net/dccp/
Dipv4.c444 *own_req = inet_ehash_nolisten(newsk, req_to_sk(req_unhash), NULL); in dccp_v4_request_recv_sock()
635 sk_rcv_saddr_set(req_to_sk(req), ip_hdr(skb)->daddr); in dccp_v4_conn_request()
636 sk_daddr_set(req_to_sk(req), ip_hdr(skb)->saddr); in dccp_v4_conn_request()
Dipv6.c551 *own_req = inet_ehash_nolisten(newsk, req_to_sk(req_unhash), NULL); in dccp_v6_request_recv_sock()
/linux-6.1.9/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.c1384 *own_req = inet_ehash_nolisten(newsk, req_to_sk(req_unhash), in tcp_v6_syn_recv_sock()
1662 nsk = reuseport_migrate_sock(sk, req_to_sk(req), skb); in tcp_v6_rcv()
/linux-6.1.9/net/mptcp/
Dsubflow.c35 MPTCP_INC_STATS(sock_net(req_to_sk(req)), field); in SUBFLOW_REQ_INC_STATS()
90 msk = mptcp_token_get_sock(sock_net(req_to_sk(req)), subflow_req->token); in subflow_token_join_request()