Searched refs:req_to_sk (Results 1 – 11 of 11) sorted by relevance
/linux/include/net/ |
A 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()
|
/linux/net/ipv4/ |
A D | inet_connection_sock.c | 714 req_sk = req_to_sk(req); in inet_reqsk_clone() 715 nreq_sk = req_to_sk(nreq); in inet_reqsk_clone() 762 struct inet_hashinfo *hashinfo = req_to_sk(req)->sk_prot->h.hashinfo; in reqsk_queue_unlink() 765 if (sk_hashed(req_to_sk(req))) { in reqsk_queue_unlink() 769 found = __sk_nulls_del_node_init_rcu(req_to_sk(req)); in reqsk_queue_unlink() 809 nsk = reuseport_migrate_sock(sk_listener, req_to_sk(req), NULL); in reqsk_timer_handler() 879 if (!inet_ehash_insert(req_to_sk(nreq), req_to_sk(oreq), NULL)) { in reqsk_timer_handler() 916 inet_ehash_insert(req_to_sk(req), NULL, NULL); in reqsk_queue_hash_req()
|
A 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()
|
A D | tcp_ipv4.c | 1479 sk_rcv_saddr_set(req_to_sk(req), ip_hdr(skb)->daddr); in tcp_v4_init_req() 1480 sk_daddr_set(req_to_sk(req), ip_hdr(skb)->saddr); in tcp_v4_init_req() 1629 *own_req = inet_ehash_nolisten(newsk, req_to_sk(req_unhash), in tcp_v4_syn_recv_sock() 2029 nsk = reuseport_migrate_sock(sk, req_to_sk(req), skb); in tcp_v4_rcv()
|
A D | tcp_output.c | 3521 skb_set_owner_w(skb, req_to_sk(req)); in tcp_make_synack() 3555 md5 = tcp_rsk(req)->af_specific->req_md5_lookup(sk, req_to_sk(req)); in tcp_make_synack() 3590 md5, req_to_sk(req), skb); in tcp_make_synack()
|
A D | tcp_input.c | 6922 sk_rx_queue_set(req_to_sk(req), skb); in tcp_conn_request()
|
/linux/net/dccp/ |
A D | ipv4.c | 437 *own_req = inet_ehash_nolisten(newsk, req_to_sk(req_unhash), NULL); in dccp_v4_request_recv_sock() 628 sk_rcv_saddr_set(req_to_sk(req), ip_hdr(skb)->daddr); in dccp_v4_conn_request() 629 sk_daddr_set(req_to_sk(req), ip_hdr(skb)->saddr); in dccp_v4_conn_request()
|
A D | ipv6.c | 551 *own_req = inet_ehash_nolisten(newsk, req_to_sk(req_unhash), NULL); in dccp_v6_request_recv_sock()
|
/linux/net/ipv6/ |
A 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()
|
A D | tcp_ipv6.c | 1421 *own_req = inet_ehash_nolisten(newsk, req_to_sk(req_unhash), in tcp_v6_syn_recv_sock() 1688 nsk = reuseport_migrate_sock(sk, req_to_sk(req), skb); in tcp_v6_rcv()
|
/linux/net/mptcp/ |
A D | subflow.c | 35 MPTCP_INC_STATS(sock_net(req_to_sk(req)), field); in SUBFLOW_REQ_INC_STATS() 89 msk = mptcp_token_get_sock(sock_net(req_to_sk(req)), subflow_req->token); in subflow_token_join_request()
|
Completed in 42 milliseconds