Searched refs:TCPF_LISTEN (Results 1 – 21 of 21) sorted by relevance
43 TCPF_LISTEN = (1 << TCP_LISTEN), enumerator
2707 return (1 << sk->sk_state) & (TCPF_LISTEN | TCPF_NEW_SYN_RECV); in sk_listener()
56 if (((1 << sk->sk_state) & (TCPF_CLOSE | TCPF_LISTEN)) || in tcp_nip_delack_timer_handler()270 if (((1 << sk->sk_state) & (TCPF_CLOSE | TCPF_LISTEN)) || !icsk->icsk_pending) in tcp_nip_write_timer_handler()
318 if (!((1 << old_state) & (TCPF_CLOSE | TCPF_LISTEN))) in ninet_listen()
1042 !((1 << sk->sk_state) & (TCPF_CLOSE | TCPF_LISTEN))) { in tcp_nip_keepalive_para_update()
295 if (((1 << sk->sk_state) & (TCPF_CLOSE | TCPF_LISTEN)) || in tcp_delack_timer_handler()601 if (((1 << sk->sk_state) & (TCPF_CLOSE | TCPF_LISTEN)) || in tcp_write_timer_handler()662 if ((1 << sk->sk_state) & (TCPF_CLOSE | TCPF_LISTEN)) in tcp_set_keepalive()
147 if (((1 << sk->sk_state) & (TCPF_LISTEN | TCPF_CLOSE)) && in inet_diag_msg_attrs_fill()1023 if (!(idiag_states & TCPF_LISTEN) || r->id.idiag_dport) in inet_diag_dump_icsk()1074 if (!(idiag_states & ~TCPF_LISTEN)) in inet_diag_dump_icsk()
206 if (!((1 << sk->sk_state) & (TCPF_CLOSE | TCPF_LISTEN))) in tcp_reinit_congestion_control()
3098 !((1 << sk->sk_state) & (TCPF_CLOSE | TCPF_LISTEN))) { in tcp_sock_set_keepidle_locked()3399 TCPF_LISTEN))) { in do_tcp_setsockopt()3423 else if (!((1 << sk->sk_state) & (TCPF_CLOSE | TCPF_LISTEN))) in do_tcp_setsockopt()3724 ((1 << sk->sk_state) & (TCPF_CLOSE | TCPF_LISTEN))) in do_tcp_getsockopt()
971 (TCPF_LISTEN | TCPF_CLOSE)) && in do_ip_setsockopt()
209 if (!((1 << old_state) & (TCPF_CLOSE | TCPF_LISTEN))) in inet_listen()
347 if ((1 << sk->sk_state) & (TCPF_LISTEN | TCPF_CLOSE)) in tcp_v4_mtu_reduced()
380 if (!(r->idiag_states & TCPF_LISTEN) && !list_empty(&ep->asocs)) in sctp_ep_dump()484 if (!(idiag_states & TCPF_LISTEN)) in sctp_diag_dump()502 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()1142 if ((1 << sk->sk_state) & (TCPF_LISTEN|TCPF_CLOSE)) { in pep_sendmsg()1250 if (unlikely(1 << sk->sk_state & (TCPF_LISTEN | TCPF_CLOSE))) in pep_recvmsg()
358 if ((1 << sk->sk_state) & (TCPF_LISTEN | TCPF_CLOSE)) in tcp_v6_mtu_reduced()1559 !((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()
1010 if (state & TCPF_LISTEN) { in subflow_data_ready()
569 return (1 << sk->sk_state) & (TCPF_ESTABLISHED | TCPF_LISTEN); in sock_map_sk_state_allowed()
1015 (TCPF_CLOSE | TCPF_LISTEN)) { in sock_setsockopt()