Searched refs:TCPF_LISTEN (Results 1 – 15 of 15) sorted by relevance
43 TCPF_LISTEN = (1 << TCP_LISTEN), enumerator
2528 return (1 << sk->sk_state) & (TCPF_LISTEN | TCPF_NEW_SYN_RECV); in sk_listener()
277 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()
141 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()
2989 (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()
665 (TCPF_LISTEN | TCPF_CLOSE)) && in do_ip_setsockopt()
208 if (!((1 << old_state) & (TCPF_CLOSE | TCPF_LISTEN))) in inet_listen()
344 if ((1 << sk->sk_state) & (TCPF_LISTEN | TCPF_CLOSE)) in tcp_v4_mtu_reduced()
389 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()
56 DCCPF_LISTEN = TCPF_LISTEN,
267 if (unlikely((1 << sk->sk_state & (TCPF_CLOSE|TCPF_LISTEN)) || in gprs_attach()
706 & ~(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()
347 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()
105 !((1 << sk->sk_state) & (TCPF_LISTEN | TCPF_CLOSE)) && in ipv6_update_options()
944 (TCPF_CLOSE | TCPF_LISTEN)) { in sock_setsockopt()