Home
last modified time | relevance | path

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

/linux/include/net/
A Drequest_sock.h80 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 Dinet_connection_sock.c714 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 Dsyncookies.c380 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 Dtcp_ipv4.c1479 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 Dtcp_output.c3521 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 Dtcp_input.c6922 sk_rx_queue_set(req_to_sk(req), skb); in tcp_conn_request()
/linux/net/dccp/
A Dipv4.c437 *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 Dipv6.c551 *own_req = inet_ehash_nolisten(newsk, req_to_sk(req_unhash), NULL); in dccp_v6_request_recv_sock()
/linux/net/ipv6/
A 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()
A Dtcp_ipv6.c1421 *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 Dsubflow.c35 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 40 milliseconds