Home
last modified time | relevance | path

Searched refs:request_sock (Results 1 – 25 of 60) sorted by relevance

123

/Linux-v5.10/include/net/
Drequest_sock.h22 struct request_sock;
33 struct request_sock *req);
35 struct request_sock *req);
38 void (*destructor)(struct request_sock *req);
39 void (*syn_ack_timeout)(const struct request_sock *req);
42 int inet_rtx_syn_ack(const struct sock *parent, struct request_sock *req);
53 struct request_sock { struct
61 struct request_sock *dl_next; argument
75 static inline struct request_sock *inet_reqsk(const struct sock *sk) in inet_reqsk() argument
77 return (struct request_sock *)sk; in inet_reqsk()
[all …]
Dmptcp.h70 static inline bool rsk_is_mptcp(const struct request_sock *req) in rsk_is_mptcp()
75 static inline bool rsk_drop_req(const struct request_sock *req) in rsk_drop_req()
83 bool mptcp_synack_options(const struct request_sock *req, unsigned int *size,
133 int mptcp_subflow_init_cookie_req(struct request_sock *req,
147 static inline bool rsk_is_mptcp(const struct request_sock *req) in rsk_is_mptcp()
152 static inline bool rsk_drop_req(const struct request_sock *req) in rsk_drop_req()
170 static inline bool mptcp_synack_options(const struct request_sock *req, in mptcp_synack_options()
205 static inline int mptcp_subflow_init_cookie_req(struct request_sock *req, in mptcp_subflow_init_cookie_req()
Dinet_connection_sock.h41 struct request_sock *req,
43 struct request_sock *req_unhash,
156 const struct request_sock *req,
255 const struct request_sock *req);
258 const struct request_sock *req);
261 struct request_sock *req,
263 void inet_csk_reqsk_queue_hash_add(struct sock *sk, struct request_sock *req,
266 struct request_sock *req,
284 void inet_csk_reqsk_queue_drop(struct sock *sk, struct request_sock *req);
285 void inet_csk_reqsk_queue_drop_and_put(struct sock *sk, struct request_sock *req);
Dcipso_ipv4.h189 int cipso_v4_req_setattr(struct request_sock *req,
192 void cipso_v4_req_delattr(struct request_sock *req);
232 static inline int cipso_v4_req_setattr(struct request_sock *req, in cipso_v4_req_setattr()
239 static inline void cipso_v4_req_delattr(struct request_sock *req) in cipso_v4_req_delattr()
Dinet6_connection_sock.h14 struct request_sock;
20 const struct request_sock *req, u8 proto);
Dnetlabel.h249 int (*req_setattr)(struct request_sock *req,
252 void (*req_delattr)(struct request_sock *req);
481 int netlbl_req_setattr(struct request_sock *req,
483 void netlbl_req_delattr(struct request_sock *req);
636 static inline int netlbl_req_setattr(struct request_sock *req, in netlbl_req_setattr()
641 static inline void netlbl_req_delattr(struct request_sock *req) in netlbl_req_delattr()
Dinet_sock.h69 struct request_sock req;
103 static inline struct inet_request_sock *inet_rsk(const struct request_sock *sk) in inet_rsk()
277 sk = ((const struct request_sock *)sk)->rsk_listener; in sk_const_to_full_sk()
339 struct request_sock *inet_reqsk_alloc(const struct request_sock_ops *ops,
Dtcp.h384 struct request_sock *req, bool fastopen,
394 bool tcp_peer_is_proven(struct request_sock *req, struct dst_entry *dst);
405 void tcp_syn_ack_timeout(const struct request_sock *req);
439 struct request_sock *req,
443 struct request_sock *req,
445 struct request_sock *req_unhash,
456 struct request_sock *req,
468 struct request_sock *req,
473 struct request_sock *cookie_tcp_reqsk_alloc(const struct request_sock_ops *ops,
557 u64 cookie_init_timestamp(struct request_sock *req, u64 now);
[all …]
/Linux-v5.10/net/mptcp/
Dtoken_test.c13 mptcp_token_init_request((struct request_sock *)req); in build_req_sock()
23 mptcp_token_new_request((struct request_sock *)req)); in mptcp_token_test_req_basic()
28 mptcp_token_destroy_request((struct request_sock *)req); in mptcp_token_test_req_basic()
90 mptcp_token_new_request((struct request_sock *)req)); in mptcp_token_test_accept()
96 mptcp_token_destroy_request((struct request_sock *)req); in mptcp_token_test_accept()
113 mptcp_token_new_request((struct request_sock *)req)); in mptcp_token_test_destroyed()
Dsubflow.c27 static void SUBFLOW_REQ_INC_STATS(struct request_sock *req, in SUBFLOW_REQ_INC_STATS()
33 static void subflow_req_destructor(struct request_sock *req) in subflow_req_destructor()
64 static struct mptcp_sock *subflow_token_join_request(struct request_sock *req, in subflow_token_join_request()
95 static int __subflow_init_req(struct request_sock *req, const struct sock *sk_listener) in __subflow_init_req()
115 static void subflow_init_req(struct request_sock *req, in subflow_init_req()
188 int mptcp_subflow_init_cookie_req(struct request_sock *req, in mptcp_subflow_init_cookie_req()
231 static void subflow_v4_init_req(struct request_sock *req, in subflow_v4_init_req()
243 static void subflow_v6_init_req(struct request_sock *req, in subflow_v6_init_req()
411 static bool subflow_hmac_valid(const struct request_sock *req, in subflow_hmac_valid()
498 struct request_sock *req, in subflow_syn_recv_sock()
[all …]
Dprotocol.h279 mptcp_subflow_rsk(const struct request_sock *rsk) in mptcp_subflow_rsk()
397 struct request_sock *req);
416 static inline void mptcp_token_init_request(struct request_sock *req) in mptcp_token_init_request()
421 int mptcp_token_new_request(struct request_sock *req);
422 void mptcp_token_destroy_request(struct request_sock *req);
/Linux-v5.10/net/ipv4/
Dinet_connection_sock.c467 struct request_sock *req; in inet_csk_accept()
589 const struct request_sock *req) in inet_csk_route_req()
625 const struct request_sock *req) in inet_csk_route_child_sock()
660 static void syn_ack_recalc(struct request_sock *req, in syn_ack_recalc()
680 int inet_rtx_syn_ack(const struct sock *parent, struct request_sock *req) in inet_rtx_syn_ack()
691 static bool reqsk_queue_unlink(struct request_sock *req) in reqsk_queue_unlink()
708 void inet_csk_reqsk_queue_drop(struct sock *sk, struct request_sock *req) in inet_csk_reqsk_queue_drop()
717 void inet_csk_reqsk_queue_drop_and_put(struct sock *sk, struct request_sock *req) in inet_csk_reqsk_queue_drop_and_put()
726 struct request_sock *req = from_timer(req, t, rsk_timer); in reqsk_timer_handler()
784 static void reqsk_queue_hash_req(struct request_sock *req, in reqsk_queue_hash_req()
[all …]
Dtcp_fastopen.c134 static bool __tcp_fastopen_cookie_gen_cipher(struct request_sock *req, in __tcp_fastopen_cookie_gen_cipher()
170 struct request_sock *req, in tcp_fastopen_cookie_gen()
228 struct request_sock *req, in tcp_fastopen_cookie_gen_check()
257 struct request_sock *req) in tcp_fastopen_create_child()
331 struct request_sock *req1; in tcp_fastopen_queue_check()
362 struct request_sock *req, in tcp_try_fastopen()
Dsyncookies.c65 u64 cookie_init_timestamp(struct request_sock *req, u64 now) in cookie_init_timestamp()
202 struct request_sock *req, in tcp_get_cookie_sock()
285 struct request_sock *cookie_tcp_reqsk_alloc(const struct request_sock_ops *ops, in cookie_tcp_reqsk_alloc()
290 struct request_sock *req; in cookie_tcp_reqsk_alloc()
333 struct request_sock *req; in cookie_v4_check()
Dtcp_minisocks.c360 void tcp_openreq_init_rwin(struct request_sock *req, in tcp_openreq_init_rwin()
401 const struct request_sock *req) in tcp_ecn_openreq_child()
436 struct request_sock *req, in smc_check_reset_syn_req()
457 struct request_sock *req, in tcp_create_openreq_child()
571 struct request_sock *req, in tcp_check_req()
/Linux-v5.10/drivers/net/ethernet/chelsio/inline_crypto/chtls/
Dchtls_cm.h119 static void chtls_rsk_destructor(struct request_sock *req) in chtls_rsk_destructor()
136 static inline void chtls_reqsk_free(struct request_sock *req) in chtls_reqsk_free()
161 static inline void chtls_set_req_port(struct request_sock *oreq, in chtls_set_req_port()
168 static inline void chtls_set_req_addr(struct request_sock *oreq, in chtls_set_req_addr()
/Linux-v5.10/net/dccp/
Dminisocks.c78 const struct request_sock *req, in dccp_create_openreq_child()
141 struct request_sock *req) in dccp_check_req()
247 struct request_sock *rsk) in dccp_reqsk_send_ack()
254 int dccp_reqsk_init(struct request_sock *req, in dccp_reqsk_init()
Ddccp.h225 struct request_sock *rsk);
260 int dccp_reqsk_init(struct request_sock *rq, struct dccp_sock const *dp,
266 const struct request_sock *req,
272 struct request_sock *req,
274 struct request_sock *req_unhash,
277 struct request_sock *req);
291 struct request_sock *req);
Dipv4.c196 struct request_sock *req = inet_reqsk(sk); in dccp_req_err()
395 struct request_sock *req, in dccp_v4_request_recv_sock()
397 struct request_sock *req_unhash, in dccp_v4_request_recv_sock()
477 static int dccp_v4_send_response(const struct sock *sk, struct request_sock *req) in dccp_v4_send_response()
554 static void dccp_v4_reqsk_destructor(struct request_sock *req) in dccp_v4_reqsk_destructor()
560 void dccp_syn_ack_timeout(const struct request_sock *req) in dccp_syn_ack_timeout()
578 struct request_sock *req; in dccp_v4_conn_request()
836 struct request_sock *req = inet_reqsk(sk); in dccp_v4_rcv()
/Linux-v5.10/net/netlabel/
Dnetlabel_calipso.h122 int calipso_req_setattr(struct request_sock *req,
125 void calipso_req_delattr(struct request_sock *req);
/Linux-v5.10/security/selinux/include/
Dnetlabel.h44 int selinux_netlbl_inet_conn_request(struct request_sock *req, u16 family);
106 static inline int selinux_netlbl_inet_conn_request(struct request_sock *req, in selinux_netlbl_inet_conn_request()
/Linux-v5.10/tools/testing/selftests/bpf/progs/
Dtest_btf_skc_cls_ingress.c102 struct request_sock *req_sk; in handle_ip6_tcp()
104 req_sk = (struct request_sock *)bpf_skc_to_tcp_request_sock(bpf_skc); in handle_ip6_tcp()
/Linux-v5.10/include/linux/
Dtcp.h140 static inline struct tcp_request_sock *tcp_rsk(const struct request_sock *req) in tcp_rsk()
413 struct request_sock __rcu *fastopen_rsk;
480 struct request_sock *req) in tcp_move_syn()
Ddccp.h173 static inline struct dccp_request_sock *dccp_rsk(const struct request_sock *req) in dccp_rsk()
324 extern void dccp_syn_ack_timeout(const struct request_sock *req);
/Linux-v5.10/net/core/
Drequest_sock.c91 void reqsk_fastopen_remove(struct sock *sk, struct request_sock *req, in reqsk_fastopen_remove()

123