Home
last modified time | relevance | path

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

123

/linux-6.1.9/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
76 static inline struct request_sock *inet_reqsk(const struct sock *sk) in inet_reqsk() argument
78 return (struct request_sock *)sk; in inet_reqsk()
[all …]
Dmptcp.h107 static inline bool rsk_is_mptcp(const struct request_sock *req) in rsk_is_mptcp()
112 static inline bool rsk_drop_req(const struct request_sock *req) in rsk_drop_req()
120 bool mptcp_synack_options(const struct request_sock *req, unsigned int *size,
186 int mptcp_subflow_init_cookie_req(struct request_sock *req,
189 struct request_sock *mptcp_subflow_reqsk_alloc(const struct request_sock_ops *ops,
213 static inline bool rsk_is_mptcp(const struct request_sock *req) in rsk_is_mptcp()
218 static inline bool rsk_drop_req(const struct request_sock *req) in rsk_drop_req()
230 static inline bool mptcp_synack_options(const struct request_sock *req, in mptcp_synack_options()
271 static inline int mptcp_subflow_init_cookie_req(struct request_sock *req, in mptcp_subflow_init_cookie_req()
278 static inline struct request_sock *mptcp_subflow_reqsk_alloc(const struct request_sock_ops *ops, in mptcp_subflow_reqsk_alloc()
Dinet_connection_sock.h42 struct request_sock *req,
44 struct request_sock *req_unhash,
159 const struct request_sock *req,
257 const struct request_sock *req);
260 const struct request_sock *req);
263 struct request_sock *req,
265 void inet_csk_reqsk_queue_hash_add(struct sock *sk, struct request_sock *req,
268 struct request_sock *req,
286 bool inet_csk_reqsk_queue_drop(struct sock *sk, struct request_sock *req);
287 void inet_csk_reqsk_queue_drop_and_put(struct sock *sk, struct request_sock *req);
[all …]
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.h16 struct request_sock;
22 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()
294 sk = ((const struct request_sock *)sk)->rsk_listener; in sk_const_to_full_sk()
356 struct request_sock *inet_reqsk_alloc(const struct request_sock_ops *ops,
Dtcp.h391 struct request_sock *req, bool fastopen,
401 bool tcp_peer_is_proven(struct request_sock *req, struct dst_entry *dst);
418 void tcp_syn_ack_timeout(const struct request_sock *req);
458 struct request_sock *req,
462 struct request_sock *req,
464 struct request_sock *req_unhash,
475 struct request_sock *req,
487 struct request_sock *req,
492 struct request_sock *cookie_tcp_reqsk_alloc(const struct request_sock_ops *ops,
577 u64 cookie_init_timestamp(struct request_sock *req, u64 now);
[all …]
/linux-6.1.9/net/mptcp/
Dtoken_test.c13 mptcp_token_init_request((struct request_sock *)req); in build_req_sock()
24 mptcp_token_new_request((struct request_sock *)req)); in mptcp_token_test_req_basic()
29 mptcp_token_destroy_request((struct request_sock *)req); in mptcp_token_test_req_basic()
92 mptcp_token_new_request((struct request_sock *)req)); in mptcp_token_test_accept()
98 mptcp_token_destroy_request((struct request_sock *)req); in mptcp_token_test_accept()
115 mptcp_token_new_request((struct request_sock *)req)); in mptcp_token_test_destroyed()
Dsubflow.c32 static void SUBFLOW_REQ_INC_STATS(struct request_sock *req, in SUBFLOW_REQ_INC_STATS()
38 static void subflow_req_destructor(struct request_sock *req) in subflow_req_destructor()
84 static struct mptcp_sock *subflow_token_join_request(struct request_sock *req) in subflow_token_join_request()
106 static void subflow_init_req(struct request_sock *req, const struct sock *sk_listener) in subflow_init_req()
138 static int subflow_check_req(struct request_sock *req, in subflow_check_req()
243 int mptcp_subflow_init_cookie_req(struct request_sock *req, in mptcp_subflow_init_cookie_req()
287 struct request_sock *req) in subflow_v4_route_req()
313 struct request_sock *req) in subflow_v6_route_req()
552 static void subflow_v4_req_destructor(struct request_sock *req) in subflow_v4_req_destructor()
590 static void subflow_v6_req_destructor(struct request_sock *req) in subflow_v6_req_destructor()
[all …]
/linux-6.1.9/net/ipv4/
Dinet_connection_sock.c640 struct request_sock *req; in inet_csk_accept()
763 const struct request_sock *req) in inet_csk_route_req()
799 const struct request_sock *req) in inet_csk_route_child_sock()
834 static void syn_ack_recalc(struct request_sock *req, in syn_ack_recalc()
854 int inet_rtx_syn_ack(const struct sock *parent, struct request_sock *req) in inet_rtx_syn_ack()
864 static struct request_sock *inet_reqsk_clone(struct request_sock *req, in inet_reqsk_clone()
868 struct request_sock *nreq; in inet_reqsk_clone()
906 const struct request_sock *req) in reqsk_queue_migrated()
913 static void reqsk_migrate_reset(struct request_sock *req) in reqsk_migrate_reset()
925 static bool reqsk_queue_unlink(struct request_sock *req) in reqsk_queue_unlink()
[all …]
Dtcp_fastopen.c117 static bool __tcp_fastopen_cookie_gen_cipher(struct request_sock *req, in __tcp_fastopen_cookie_gen_cipher()
153 struct request_sock *req, in tcp_fastopen_cookie_gen()
211 struct request_sock *req, in tcp_fastopen_cookie_gen_check()
240 struct request_sock *req) in tcp_fastopen_create_child()
315 struct request_sock *req1; in tcp_fastopen_queue_check()
346 struct request_sock *req, in tcp_try_fastopen()
Dsyncookies.c63 u64 cookie_init_timestamp(struct request_sock *req, u64 now) in cookie_init_timestamp()
200 struct request_sock *req, in tcp_get_cookie_sock()
283 struct request_sock *cookie_tcp_reqsk_alloc(const struct request_sock_ops *ops, in cookie_tcp_reqsk_alloc()
289 struct request_sock *req; in cookie_tcp_reqsk_alloc()
335 struct request_sock *req; in cookie_v4_check()
Dtcp_minisocks.c374 void tcp_openreq_init_rwin(struct request_sock *req, in tcp_openreq_init_rwin()
415 const struct request_sock *req) in tcp_ecn_openreq_child()
450 struct request_sock *req, in smc_check_reset_syn_req()
471 struct request_sock *req, in tcp_create_openreq_child()
586 struct request_sock *req, in tcp_check_req()
/linux-6.1.9/drivers/net/ethernet/chelsio/inline_crypto/chtls/
Dchtls_cm.h116 static void chtls_rsk_destructor(struct request_sock *req) in chtls_rsk_destructor()
133 static inline void chtls_reqsk_free(struct request_sock *req) in chtls_reqsk_free()
158 static inline void chtls_set_req_port(struct request_sock *oreq, in chtls_set_req_port()
165 static inline void chtls_set_req_addr(struct request_sock *oreq, in chtls_set_req_addr()
/linux-6.1.9/net/dccp/
Dminisocks.c79 const struct request_sock *req, in dccp_create_openreq_child()
144 struct request_sock *req) in dccp_check_req()
250 struct request_sock *rsk) in dccp_reqsk_send_ack()
257 int dccp_reqsk_init(struct request_sock *req, in dccp_reqsk_init()
Ddccp.h220 struct request_sock *rsk);
255 int dccp_reqsk_init(struct request_sock *rq, struct dccp_sock const *dp,
261 const struct request_sock *req,
267 struct request_sock *req,
269 struct request_sock *req_unhash,
272 struct request_sock *req);
286 struct request_sock *req);
Dipv4.c210 struct request_sock *req = inet_reqsk(sk); in dccp_req_err()
409 struct request_sock *req, in dccp_v4_request_recv_sock()
411 struct request_sock *req_unhash, in dccp_v4_request_recv_sock()
491 static int dccp_v4_send_response(const struct sock *sk, struct request_sock *req) in dccp_v4_send_response()
571 static void dccp_v4_reqsk_destructor(struct request_sock *req) in dccp_v4_reqsk_destructor()
577 void dccp_syn_ack_timeout(const struct request_sock *req) in dccp_syn_ack_timeout()
595 struct request_sock *req; in dccp_v4_conn_request()
853 struct request_sock *req = inet_reqsk(sk); in dccp_v4_rcv()
/linux-6.1.9/net/netlabel/
Dnetlabel_calipso.h122 int calipso_req_setattr(struct request_sock *req,
125 void calipso_req_delattr(struct request_sock *req);
/linux-6.1.9/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-6.1.9/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()
Dlsm_cgroup_nonvoid.c10 int BPF_PROG(nonvoid_socket_clone, struct sock *newsk, const struct request_sock *req) in BPF_PROG()
/linux-6.1.9/include/linux/
Dtcp.h170 static inline struct tcp_request_sock *tcp_rsk(const struct request_sock *req) in tcp_rsk()
450 struct request_sock __rcu *fastopen_rsk;
517 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-6.1.9/net/core/
Drequest_sock.c91 void reqsk_fastopen_remove(struct sock *sk, struct request_sock *req, in reqsk_fastopen_remove()

123