Searched refs:req_to_sk (Results 1 – 11 of 11) sorted by relevance
/kernel/linux/linux-5.10/include/net/ |
D | request_sock.h | 80 static inline struct sock *req_to_sk(struct request_sock *req) in req_to_sk() function 103 req_to_sk(req)->sk_prot = sk_listener->sk_prot; in reqsk_alloc() 104 sk_node_init(&req_to_sk(req)->sk_node); in reqsk_alloc() 105 sk_tx_queue_clear(req_to_sk(req)); in reqsk_alloc()
|
/kernel/linux/linux-5.10/net/ipv4/ |
D | syncookies.c | 382 sk_rcv_saddr_set(req_to_sk(req), ip_hdr(skb)->daddr); in cookie_v4_check() 383 sk_daddr_set(req_to_sk(req), ip_hdr(skb)->saddr); in cookie_v4_check()
|
D | inet_connection_sock.c | 719 struct inet_hashinfo *hashinfo = req_to_sk(req)->sk_prot->h.hashinfo; in reqsk_queue_unlink() 722 if (sk_hashed(req_to_sk(req))) { in reqsk_queue_unlink() 726 found = __sk_nulls_del_node_init_rcu(req_to_sk(req)); in reqsk_queue_unlink() 819 inet_ehash_insert(req_to_sk(req), NULL, NULL); in reqsk_queue_hash_req()
|
D | tcp_ipv4.c | 1455 sk_rcv_saddr_set(req_to_sk(req), ip_hdr(skb)->daddr); in tcp_v4_init_req() 1456 sk_daddr_set(req_to_sk(req), ip_hdr(skb)->saddr); in tcp_v4_init_req() 1600 *own_req = inet_ehash_nolisten(newsk, req_to_sk(req_unhash), in tcp_v4_syn_recv_sock()
|
D | tcp_output.c | 3535 skb_set_owner_w(skb, req_to_sk(req)); in tcp_make_synack() 3569 md5 = tcp_rsk(req)->af_specific->req_md5_lookup(sk, req_to_sk(req)); in tcp_make_synack() 3604 md5, req_to_sk(req), skb); in tcp_make_synack()
|
D | tcp_input.c | 6860 sk_rx_queue_set(req_to_sk(req), skb); in tcp_conn_request()
|
/kernel/linux/linux-5.10/net/dccp/ |
D | ipv4.c | 430 *own_req = inet_ehash_nolisten(newsk, req_to_sk(req_unhash), NULL); in dccp_v4_request_recv_sock() 618 sk_rcv_saddr_set(req_to_sk(req), ip_hdr(skb)->daddr); in dccp_v4_conn_request() 619 sk_daddr_set(req_to_sk(req), ip_hdr(skb)->saddr); in dccp_v4_conn_request()
|
D | ipv6.c | 541 *own_req = inet_ehash_nolisten(newsk, req_to_sk(req_unhash), NULL); in dccp_v6_request_recv_sock()
|
/kernel/linux/linux-5.10/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 | 1402 *own_req = inet_ehash_nolisten(newsk, req_to_sk(req_unhash), in tcp_v6_syn_recv_sock()
|
/kernel/linux/linux-5.10/net/mptcp/ |
D | subflow.c | 30 MPTCP_INC_STATS(sock_net(req_to_sk(req)), field); in SUBFLOW_REQ_INC_STATS() 72 msk = mptcp_token_get_sock(sock_net(req_to_sk(req)), subflow_req->token); in subflow_token_join_request()
|