Home
last modified time | relevance | path

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

/Linux-v5.4/include/net/
Drequest_sock.h79 reqsk_alloc(const struct request_sock_ops *ops, struct sock *sk_listener, in reqsk_alloc() argument
89 if (unlikely(!refcount_inc_not_zero(&sk_listener->sk_refcnt))) { in reqsk_alloc()
93 req->rsk_listener = sk_listener; in reqsk_alloc()
96 req_to_sk(req)->sk_prot = sk_listener->sk_prot; in reqsk_alloc()
Dinet_sock.h346 struct sock *sk_listener,
Dtcp.h1394 const struct sock *sk_listener,
1963 const struct sock *sk_listener,
Dsock.h2526 static inline bool sk_listener(const struct sock *sk) in sk_listener() function
/Linux-v5.4/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.c688 struct sock *sk_listener = req->rsk_listener; in reqsk_timer_handler() local
689 struct net *net = sock_net(sk_listener); in reqsk_timer_handler()
690 struct inet_connection_sock *icsk = inet_csk(sk_listener); in reqsk_timer_handler()
696 if (inet_sk_state_load(sk_listener) != TCP_LISTEN) in reqsk_timer_handler()
719 if ((qlen << 1) > max(8U, sk_listener->sk_max_ack_backlog)) { in reqsk_timer_handler()
737 !inet_rtx_syn_ack(sk_listener, req) || in reqsk_timer_handler()
748 inet_csk_reqsk_queue_drop_and_put(sk_listener, req); in reqsk_timer_handler()
Dtcp_input.c6450 struct sock *sk_listener, in inet_reqsk_alloc() argument
6453 struct request_sock *req = reqsk_alloc(ops, sk_listener, in inet_reqsk_alloc()
6465 write_pnet(&ireq->ireq_net, sock_net(sk_listener)); in inet_reqsk_alloc()
6466 ireq->ireq_family = sk_listener->sk_family; in inet_reqsk_alloc()
Dtcp_ipv4.c1349 const struct sock *sk_listener, in tcp_v4_init_req() argument
1353 struct net *net = sock_net(sk_listener); in tcp_v4_init_req()
/Linux-v5.4/net/ipv6/
Dtcp_ipv6.c746 const struct sock *sk_listener, in tcp_v6_init_req() argument
751 const struct ipv6_pinfo *np = tcp_inet6_sk(sk_listener); in tcp_v6_init_req()
757 if ((!sk_listener->sk_bound_dev_if || l3_slave) && in tcp_v6_init_req()
762 (ipv6_opt_accepted(sk_listener, skb, &TCP_SKB_CB(skb)->header.h6) || in tcp_v6_init_req()
/Linux-v5.4/net/sched/
Dsch_fq.c261 if (!sk || sk_listener(sk)) { in fq_classify()
/Linux-v5.4/security/selinux/
Dhooks.c5640 if (sk_listener(sk)) in selinux_ip_output()
5757 !(sk && sk_listener(sk))) in selinux_ip_postroute()
5774 } else if (sk_listener(sk)) { in selinux_ip_postroute()