Home
last modified time | relevance | path

Searched refs:TCPF_LISTEN (Results 1 – 15 of 15) sorted by relevance

/Linux-v5.4/include/net/
Dtcp_states.h43 TCPF_LISTEN = (1 << TCP_LISTEN), enumerator
Dsock.h2528 return (1 << sk->sk_state) & (TCPF_LISTEN | TCPF_NEW_SYN_RECV); in sk_listener()
/Linux-v5.4/net/ipv4/
Dtcp_timer.c277 if (((1 << sk->sk_state) & (TCPF_CLOSE | TCPF_LISTEN)) || in tcp_delack_timer_handler()
578 if (((1 << sk->sk_state) & (TCPF_CLOSE | TCPF_LISTEN)) || in tcp_write_timer_handler()
639 if ((1 << sk->sk_state) & (TCPF_CLOSE | TCPF_LISTEN)) in tcp_set_keepalive()
Dinet_diag.c141 if (((1 << sk->sk_state) & (TCPF_LISTEN | TCPF_CLOSE)) && in inet_diag_msg_attrs_fill()
912 if (!(idiag_states & TCPF_LISTEN) || r->id.idiag_dport) in inet_diag_dump_icsk()
958 if (!(idiag_states & ~TCPF_LISTEN)) in inet_diag_dump_icsk()
Dtcp.c2989 (TCPF_CLOSE | TCPF_LISTEN))) { in do_tcp_setsockopt()
3072 if ((1 << sk->sk_state) & (TCPF_CLOSE | TCPF_LISTEN)) in do_tcp_setsockopt()
3090 TCPF_LISTEN))) { in do_tcp_setsockopt()
3113 else if (!((1 << sk->sk_state) & (TCPF_CLOSE | TCPF_LISTEN))) in do_tcp_setsockopt()
3414 if (!val && ((1 << sk->sk_state) & (TCPF_CLOSE | TCPF_LISTEN))) in do_tcp_getsockopt()
Dip_sockglue.c665 (TCPF_LISTEN | TCPF_CLOSE)) && in do_ip_setsockopt()
Daf_inet.c208 if (!((1 << old_state) & (TCPF_CLOSE | TCPF_LISTEN))) in inet_listen()
Dtcp_ipv4.c344 if ((1 << sk->sk_state) & (TCPF_LISTEN | TCPF_CLOSE)) in tcp_v4_mtu_reduced()
/Linux-v5.4/net/sctp/
Ddiag.c389 if (!(r->idiag_states & TCPF_LISTEN) && !list_empty(&ep->asocs)) in sctp_ep_dump()
492 if (!(idiag_states & TCPF_LISTEN)) in sctp_diag_dump()
510 if (!(idiag_states & ~(TCPF_LISTEN | TCPF_CLOSE))) in sctp_diag_dump()
/Linux-v5.4/include/linux/
Ddccp.h56 DCCPF_LISTEN = TCPF_LISTEN,
/Linux-v5.4/net/phonet/
Dpep-gprs.c267 if (unlikely((1 << sk->sk_state & (TCPF_CLOSE|TCPF_LISTEN)) || in gprs_attach()
Dpep.c706 & ~(TCPF_CLOSE|TCPF_LISTEN|TCPF_CLOSE_WAIT)) in pep_do_rcv()
1139 if ((1 << sk->sk_state) & (TCPF_LISTEN|TCPF_CLOSE)) { in pep_sendmsg()
1247 if (unlikely(1 << sk->sk_state & (TCPF_LISTEN | TCPF_CLOSE))) in pep_recvmsg()
/Linux-v5.4/net/ipv6/
Dtcp_ipv6.c347 if ((1 << sk->sk_state) & (TCPF_LISTEN | TCPF_CLOSE)) in tcp_v6_mtu_reduced()
1432 !((1 << sk->sk_state) & (TCPF_CLOSE | TCPF_LISTEN))) { in tcp_v6_do_rcv()
Dipv6_sockglue.c105 !((1 << sk->sk_state) & (TCPF_LISTEN | TCPF_CLOSE)) && in ipv6_update_options()
/Linux-v5.4/net/core/
Dsock.c944 (TCPF_CLOSE | TCPF_LISTEN)) { in sock_setsockopt()