Searched refs:req_to_sk (Results 1 – 11 of 11) sorted by relevance
/linux-6.6.21/include/net/ |
D | request_sock.h | 81 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.6.21/net/ipv4/ |
D | inet_connection_sock.c | 907 req_sk = req_to_sk(req); in inet_reqsk_clone() 908 nreq_sk = req_to_sk(nreq); in inet_reqsk_clone() 955 struct sock *sk = req_to_sk(req); in reqsk_queue_unlink() 1003 nsk = reuseport_migrate_sock(sk_listener, req_to_sk(req), NULL); in reqsk_timer_handler() 1071 if (!inet_ehash_insert(req_to_sk(nreq), req_to_sk(oreq), NULL)) { in reqsk_timer_handler() 1108 inet_ehash_insert(req_to_sk(req), NULL, NULL); in reqsk_queue_hash_req()
|
D | syncookies.c | 380 sk_rcv_saddr_set(req_to_sk(req), ip_hdr(skb)->daddr); in cookie_v4_check() 381 sk_daddr_set(req_to_sk(req), ip_hdr(skb)->saddr); in cookie_v4_check()
|
D | tcp_ipv4.c | 1493 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()
|
D | tcp_output.c | 3660 skb_set_owner_w(skb, req_to_sk(req)); in tcp_make_synack() 3695 md5 = tcp_rsk(req)->af_specific->req_md5_lookup(sk, req_to_sk(req)); in tcp_make_synack() 3730 md5, req_to_sk(req), skb); in tcp_make_synack()
|
D | tcp_input.c | 7069 sk_rx_queue_set(req_to_sk(req), skb); in tcp_conn_request()
|
/linux-6.6.21/net/dccp/ |
D | ipv4.c | 444 *own_req = inet_ehash_nolisten(newsk, req_to_sk(req_unhash), NULL); in dccp_v4_request_recv_sock() 633 sk_rcv_saddr_set(req_to_sk(req), ip_hdr(skb)->daddr); in dccp_v4_conn_request() 634 sk_daddr_set(req_to_sk(req), ip_hdr(skb)->saddr); in dccp_v4_conn_request()
|
D | ipv6.c | 552 *own_req = inet_ehash_nolisten(newsk, req_to_sk(req_unhash), NULL); in dccp_v6_request_recv_sock()
|
/linux-6.6.21/net/ipv6/ |
D | calipso.c | 1196 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()
|
D | tcp_ipv6.c | 1382 *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-6.6.21/net/mptcp/ |
D | subflow.c | 36 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()
|