Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/include/net/
H A Dtcp_states.h43 TCPF_LISTEN = (1 << TCP_LISTEN), enumerator
H A Dsock.h2690 return (1 << sk->sk_state) & (TCPF_LISTEN | TCPF_NEW_SYN_RECV); in sk_listener()
/OK3568_Linux_fs/kernel/net/sctp/
H A Ddiag.c382 if (!(r->idiag_states & TCPF_LISTEN) && !list_empty(&ep->asocs)) in sctp_ep_dump()
486 if (!(idiag_states & TCPF_LISTEN)) in sctp_diag_dump()
504 if (!(idiag_states & ~(TCPF_LISTEN | TCPF_CLOSE))) in sctp_diag_dump()
/OK3568_Linux_fs/kernel/net/ipv4/
H A Dtcp_timer.c295 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()
H A Dinet_diag.c147 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()
H A Dtcp_cong.c206 if (!((1 << sk->sk_state) & (TCPF_CLOSE | TCPF_LISTEN))) in tcp_reinit_congestion_control()
H A Dtcp.c3062 !((1 << sk->sk_state) & (TCPF_CLOSE | TCPF_LISTEN))) { in tcp_sock_set_keepidle_locked()
3363 TCPF_LISTEN))) { in do_tcp_setsockopt()
3387 else if (!((1 << sk->sk_state) & (TCPF_CLOSE | TCPF_LISTEN))) in do_tcp_setsockopt()
3686 if (!val && ((1 << sk->sk_state) & (TCPF_CLOSE | TCPF_LISTEN))) in do_tcp_getsockopt()
H A Dip_sockglue.c964 (TCPF_LISTEN | TCPF_CLOSE)) && in do_ip_setsockopt()
H A Daf_inet.c209 if (!((1 << old_state) & (TCPF_CLOSE | TCPF_LISTEN))) in inet_listen()
H A Dtcp_ipv4.c345 if ((1 << sk->sk_state) & (TCPF_LISTEN | TCPF_CLOSE)) in tcp_v4_mtu_reduced()
/OK3568_Linux_fs/kernel/include/linux/
H A Ddccp.h56 DCCPF_LISTEN = TCPF_LISTEN,
/OK3568_Linux_fs/kernel/net/phonet/
H A Dpep-gprs.c267 if (unlikely((1 << sk->sk_state & (TCPF_CLOSE|TCPF_LISTEN)) || in gprs_attach()
H A Dpep.c706 & ~(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()
/OK3568_Linux_fs/kernel/net/ipv6/
H A Dtcp_ipv6.c355 if ((1 << sk->sk_state) & (TCPF_LISTEN | TCPF_CLOSE)) in tcp_v6_mtu_reduced()
1556 !((1 << sk->sk_state) & (TCPF_CLOSE | TCPF_LISTEN))) { in tcp_v6_do_rcv()
H A Dipv6_sockglue.c105 !((1 << sk->sk_state) & (TCPF_LISTEN | TCPF_CLOSE)) && in ipv6_update_options()
/OK3568_Linux_fs/kernel/net/mptcp/
H A Dsubflow.c985 if (state & TCPF_LISTEN) { in subflow_data_ready()
/OK3568_Linux_fs/kernel/net/core/
H A Dsock_map.c567 return (1 << sk->sk_state) & (TCPF_ESTABLISHED | TCPF_LISTEN); in sock_map_sk_state_allowed()
H A Dsock.c1016 (TCPF_CLOSE | TCPF_LISTEN)) { in sock_setsockopt()