Home
last modified time | relevance | path

Searched refs:sk_listener (Results 1 – 16 of 16) sorted by relevance

/kernel/linux/common_modules/newip/third_party/linux-5.10/net/newip/
Dninet_connection_sock.c37 struct sock *sk_listener = req->rsk_listener; in ninet_reqsk_timer_handler() local
38 struct net *net = sock_net(sk_listener); in ninet_reqsk_timer_handler()
39 struct inet_connection_sock *icsk = inet_csk(sk_listener); in ninet_reqsk_timer_handler()
51 req->rsk_ops->rtx_syn_ack(sk_listener, req); in ninet_reqsk_timer_handler()
63 inet_csk_reqsk_queue_drop_and_put(sk_listener, req); in ninet_reqsk_timer_handler()
Dtcp_nip_input.c843 struct sock *sk_listener, in ninet_reqsk_alloc() argument
846 struct request_sock *req = reqsk_alloc(ops, sk_listener, in ninet_reqsk_alloc()
855 write_pnet(&ireq->ireq_net, sock_net(sk_listener)); in ninet_reqsk_alloc()
856 ireq->ireq_family = sk_listener->sk_family; in ninet_reqsk_alloc()
1101 const struct sock *sk_listener, in tcp_nip_openreq_init_rwin() argument
1105 const struct tcp_sock *tp = tcp_sk(sk_listener); in tcp_nip_openreq_init_rwin()
1106 int full_space = tcp_full_space(sk_listener); in tcp_nip_openreq_init_rwin()
1118 if ((sk_listener->sk_userlocks & SOCK_RCVBUF_LOCK) && in tcp_nip_openreq_init_rwin()
1123 tcp_select_initial_window(sk_listener, full_space, in tcp_nip_openreq_init_rwin()
Dtcp_nip.c587 const struct sock *sk_listener, in tcp_nip_init_req() argument
/kernel/linux/linux-5.10/include/net/
Dmptcp.h132 const struct sock *sk_listener,
135 struct sock *sk_listener,
207 const struct sock *sk_listener, in mptcp_subflow_init_cookie_req() argument
214 struct sock *sk_listener, in mptcp_subflow_reqsk_alloc() argument
Drequest_sock.h86 reqsk_alloc(const struct request_sock_ops *ops, struct sock *sk_listener, in reqsk_alloc() argument
96 if (unlikely(!refcount_inc_not_zero(&sk_listener->sk_refcnt))) { in reqsk_alloc()
100 req->rsk_listener = sk_listener; in reqsk_alloc()
103 req_to_sk(req)->sk_prot = sk_listener->sk_prot; in reqsk_alloc()
Dinet_sock.h353 struct sock *sk_listener,
Dtcp.h1448 const struct sock *sk_listener,
2037 const struct sock *sk_listener,
Dsock.h2680 static inline bool sk_listener(const struct sock *sk) in sk_listener() function
/kernel/linux/linux-5.10/net/mptcp/
Dsubflow.c94 static int __subflow_init_req(struct request_sock *req, const struct sock *sk_listener) in __subflow_init_req() argument
107 if (rcu_access_pointer(tcp_sk(sk_listener)->md5sig_info)) in __subflow_init_req()
115 const struct sock *sk_listener, in subflow_init_req() argument
118 struct mptcp_subflow_context *listener = mptcp_subflow_ctx(sk_listener); in subflow_init_req()
125 ret = __subflow_init_req(req, sk_listener); in subflow_init_req()
188 const struct sock *sk_listener, in mptcp_subflow_init_cookie_req() argument
191 struct mptcp_subflow_context *listener = mptcp_subflow_ctx(sk_listener); in mptcp_subflow_init_cookie_req()
196 err = __subflow_init_req(req, sk_listener); in mptcp_subflow_init_cookie_req()
231 const struct sock *sk_listener, in subflow_v4_init_req() argument
236 tcp_request_sock_ipv4_ops.init_req(req, sk_listener, skb); in subflow_v4_init_req()
[all …]
/kernel/linux/linux-5.10/net/ipv4/
Dtcp_minisocks.c361 const struct sock *sk_listener, in tcp_openreq_init_rwin() argument
365 const struct tcp_sock *tp = tcp_sk(sk_listener); in tcp_openreq_init_rwin()
366 int full_space = tcp_full_space(sk_listener); in tcp_openreq_init_rwin()
378 if (sk_listener->sk_userlocks & SOCK_RCVBUF_LOCK && in tcp_openreq_init_rwin()
389 tcp_select_initial_window(sk_listener, full_space, in tcp_openreq_init_rwin()
Dinet_connection_sock.c739 struct sock *sk_listener = req->rsk_listener; in reqsk_timer_handler() local
740 struct net *net = sock_net(sk_listener); in reqsk_timer_handler()
741 struct inet_connection_sock *icsk = inet_csk(sk_listener); in reqsk_timer_handler()
745 if (inet_sk_state_load(sk_listener) != TCP_LISTEN) in reqsk_timer_handler()
767 if ((qlen << 1) > max(8U, READ_ONCE(sk_listener->sk_max_ack_backlog))) { in reqsk_timer_handler()
782 !inet_rtx_syn_ack(sk_listener, req) || in reqsk_timer_handler()
793 inet_csk_reqsk_queue_drop_and_put(sk_listener, req); in reqsk_timer_handler()
Dtcp_input.c6698 struct sock *sk_listener, in inet_reqsk_alloc() argument
6701 struct request_sock *req = reqsk_alloc(ops, sk_listener, in inet_reqsk_alloc()
6713 write_pnet(&ireq->ireq_net, sock_net(sk_listener)); in inet_reqsk_alloc()
6714 ireq->ireq_family = sk_listener->sk_family; in inet_reqsk_alloc()
Dtcp_ipv4.c1451 const struct sock *sk_listener, in tcp_v4_init_req() argument
1455 struct net *net = sock_net(sk_listener); in tcp_v4_init_req()
/kernel/linux/linux-5.10/net/ipv6/
Dtcp_ipv6.c825 const struct sock *sk_listener, in tcp_v6_init_req() argument
830 const struct ipv6_pinfo *np = tcp_inet6_sk(sk_listener); in tcp_v6_init_req()
836 if ((!sk_listener->sk_bound_dev_if || l3_slave) && in tcp_v6_init_req()
841 (ipv6_opt_accepted(sk_listener, skb, &TCP_SKB_CB(skb)->header.h6) || in tcp_v6_init_req()
/kernel/linux/linux-5.10/net/sched/
Dsch_fq.c281 if (!sk || sk_listener(sk)) { in fq_classify()
/kernel/linux/linux-5.10/security/selinux/
Dhooks.c5630 if (sk_listener(sk)) in selinux_ip_output()
5747 !(sk && sk_listener(sk))) in selinux_ip_postroute()
5764 } else if (sk_listener(sk)) { in selinux_ip_postroute()