Home
last modified time | relevance | path

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

/linux/include/net/
A Dtcp_states.h43 TCPF_LISTEN = (1 << TCP_LISTEN), enumerator
A Dsock.h2759 return (1 << sk->sk_state) & (TCPF_LISTEN | TCPF_NEW_SYN_RECV); in sk_listener()
/linux/net/sctp/
A Ddiag.c379 if (!(r->idiag_states & TCPF_LISTEN) && !list_empty(&ep->asocs)) in sctp_ep_dump()
483 if (!(idiag_states & TCPF_LISTEN)) in sctp_diag_dump()
501 if (!(idiag_states & ~(TCPF_LISTEN | TCPF_CLOSE))) in sctp_diag_dump()
/linux/net/ipv4/
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()
A Dinet_diag.c147 if (((1 << sk->sk_state) & (TCPF_LISTEN | TCPF_CLOSE)) && in inet_diag_msg_attrs_fill()
1028 if (!(idiag_states & TCPF_LISTEN) || r->id.idiag_dport) in inet_diag_dump_icsk()
1079 if (!(idiag_states & ~TCPF_LISTEN)) in inet_diag_dump_icsk()
A Dtcp_cong.c206 if (!((1 << sk->sk_state) & (TCPF_CLOSE | TCPF_LISTEN))) in tcp_reinit_congestion_control()
A Dtcp.c3279 !((1 << sk->sk_state) & (TCPF_CLOSE | TCPF_LISTEN))) { in tcp_sock_set_keepidle_locked()
3588 TCPF_LISTEN))) { in do_tcp_setsockopt()
3611 else if (!((1 << sk->sk_state) & (TCPF_CLOSE | TCPF_LISTEN))) in do_tcp_setsockopt()
3926 if (!val && ((1 << sk->sk_state) & (TCPF_CLOSE | TCPF_LISTEN))) in do_tcp_getsockopt()
A Daf_inet.c205 if (!((1 << old_state) & (TCPF_CLOSE | TCPF_LISTEN))) in inet_listen()
A Dip_sockglue.c966 (TCPF_LISTEN | TCPF_CLOSE)) && in do_ip_setsockopt()
A Dtcp_ipv4.c343 if ((1 << sk->sk_state) & (TCPF_LISTEN | TCPF_CLOSE)) in tcp_v4_mtu_reduced()
/linux/include/linux/
A Ddccp.h56 DCCPF_LISTEN = TCPF_LISTEN,
/linux/net/phonet/
A Dpep-gprs.c267 if (unlikely((1 << sk->sk_state & (TCPF_CLOSE|TCPF_LISTEN)) || in gprs_attach()
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()
/linux/net/ipv6/
A Dtcp_ipv6.c353 if ((1 << sk->sk_state) & (TCPF_LISTEN | TCPF_CLOSE)) in tcp_v6_mtu_reduced()
1579 !((1 << sk->sk_state) & (TCPF_CLOSE | TCPF_LISTEN))) { in tcp_v6_do_rcv()
A Dipv6_sockglue.c107 !((1 << sk->sk_state) & (TCPF_LISTEN | TCPF_CLOSE)) && in ipv6_update_options()
/linux/net/core/
A Dsock_map.c535 return (1 << sk->sk_state) & (TCPF_ESTABLISHED | TCPF_LISTEN); in sock_map_sk_state_allowed()
A Dsock.c878 (TCPF_CLOSE | TCPF_LISTEN)) in sock_set_timestamping()
/linux/net/mptcp/
A Dprotocol.c498 (TCPF_SYN_SENT | TCPF_SYN_RECV | TCPF_TIME_WAIT | TCPF_CLOSE | TCPF_LISTEN)); in tcp_can_send_ack()
2690 if ((1 << sk->sk_state) & (TCPF_LISTEN | TCPF_CLOSE)) { in mptcp_close()
A Dsubflow.c1289 if (state & TCPF_LISTEN) { in subflow_data_ready()

Completed in 58 milliseconds