Searched refs:sk_listener (Results 1 – 11 of 11) sorted by relevance
/linux-6.12.1/net/ipv4/ |
D | inet_connection_sock.c | 916 reqsk_alloc_noprof(const struct request_sock_ops *ops, struct sock *sk_listener, in reqsk_alloc_noprof() argument 926 if (unlikely(!refcount_inc_not_zero(&sk_listener->sk_refcnt))) { in reqsk_alloc_noprof() 930 req->rsk_listener = sk_listener; in reqsk_alloc_noprof() 933 req_to_sk(req)->sk_prot = sk_listener->sk_prot; in reqsk_alloc_noprof() 949 struct sock *sk_listener, in inet_reqsk_alloc() argument 952 struct request_sock *req = reqsk_alloc(ops, sk_listener, in inet_reqsk_alloc() 964 write_pnet(&ireq->ireq_net, sock_net(sk_listener)); in inet_reqsk_alloc() 965 ireq->ireq_family = sk_listener->sk_family; in inet_reqsk_alloc() 1086 struct sock *sk_listener = req->rsk_listener; in reqsk_timer_handler() local 1092 if (inet_sk_state_load(sk_listener) != TCP_LISTEN) { in reqsk_timer_handler() [all …]
|
D | tcp_minisocks.c | 414 const struct sock *sk_listener, in tcp_openreq_init_rwin() argument 418 const struct tcp_sock *tp = tcp_sk(sk_listener); in tcp_openreq_init_rwin() 419 int full_space = tcp_full_space(sk_listener); in tcp_openreq_init_rwin() 431 if (sk_listener->sk_userlocks & SOCK_RCVBUF_LOCK && in tcp_openreq_init_rwin() 442 tcp_select_initial_window(sk_listener, full_space, in tcp_openreq_init_rwin()
|
D | tcp_ipv4.c | 1664 const struct sock *sk_listener, argument 1668 struct net *net = sock_net(sk_listener);
|
/linux-6.12.1/include/net/ |
D | mptcp.h | 211 const struct sock *sk_listener, 214 struct sock *sk_listener, 298 const struct sock *sk_listener, in mptcp_subflow_init_cookie_req() argument 305 struct sock *sk_listener, in mptcp_subflow_reqsk_alloc() argument
|
D | inet_sock.h | 393 struct sock *sk_listener,
|
D | sock.h | 2789 static inline bool sk_listener(const struct sock *sk) in sk_listener() function
|
D | tcp.h | 1623 const struct sock *sk_listener,
|
/linux-6.12.1/net/mptcp/ |
D | subflow.c | 108 static void subflow_init_req(struct request_sock *req, const struct sock *sk_listener) in subflow_init_req() argument 114 subflow_req->csum_reqd = mptcp_is_checksum_enabled(sock_net(sk_listener)); in subflow_init_req() 115 subflow_req->allow_join_id0 = mptcp_allow_join_id0(sock_net(sk_listener)); in subflow_init_req() 148 const struct sock *sk_listener, in subflow_check_req() argument 151 struct mptcp_subflow_context *listener = mptcp_subflow_ctx(sk_listener); in subflow_check_req() 162 if (rcu_access_pointer(tcp_sk(sk_listener)->md5sig_info)) { in subflow_check_req() 234 if (subflow_use_different_sport(subflow_req->msk, sk_listener)) { in subflow_check_req() 236 ntohs(inet_sk(sk_listener)->inet_sport), in subflow_check_req() 238 if (!mptcp_pm_sport_in_anno_list(subflow_req->msk, sk_listener)) { in subflow_check_req() 265 const struct sock *sk_listener, in mptcp_subflow_init_cookie_req() argument [all …]
|
/linux-6.12.1/net/ipv6/ |
D | tcp_ipv6.c | 791 const struct sock *sk_listener, in tcp_v6_init_req() argument 797 const struct ipv6_pinfo *np = tcp_inet6_sk(sk_listener); in tcp_v6_init_req() 803 if ((!sk_listener->sk_bound_dev_if || l3_slave) && in tcp_v6_init_req() 808 (ipv6_opt_accepted(sk_listener, skb, &TCP_SKB_CB(skb)->header.h6) || in tcp_v6_init_req() 811 np->rxopt.bits.rxohlim || inet6_test_bit(REPFLOW, sk_listener))) { in tcp_v6_init_req()
|
/linux-6.12.1/net/sched/ |
D | sch_fq.c | 365 if (!sk || sk_listener(sk)) { in fq_classify()
|
/linux-6.12.1/security/selinux/ |
D | hooks.c | 5730 if (sk_listener(sk)) in selinux_ip_output() 5827 !(sk && sk_listener(sk))) in selinux_ip_postroute() 5845 } else if (sk_listener(sk)) { in selinux_ip_postroute()
|