/kernel/linux/linux-5.10/include/net/ |
D | tcp_states.h | 13 TCP_ESTABLISHED = 1, enumerator 34 TCPF_ESTABLISHED = (1 << TCP_ESTABLISHED),
|
/kernel/linux/linux-5.10/net/llc/ |
D | llc_if.c | 97 if (existing->sk_state == TCP_ESTABLISHED) { in llc_establish_connection() 136 if (sk->sk_type != SOCK_STREAM || sk->sk_state != TCP_ESTABLISHED || in llc_send_disc()
|
/kernel/linux/linux-5.10/net/phonet/ |
D | pep.c | 231 BUG_ON(sk->sk_state != TCP_ESTABLISHED); in pipe_grant_credits() 430 if (sk->sk_state == TCP_ESTABLISHED) in pipe_do_rcv() 432 sk->sk_state = TCP_ESTABLISHED; in pipe_do_rcv() 594 sk->sk_state = TCP_ESTABLISHED; in pipe_handler_do_rcv() 608 sk->sk_state = TCP_ESTABLISHED; in pipe_handler_do_rcv() 948 else if (sk->sk_state == TCP_ESTABLISHED) in pep_ioctl() 1146 if (sk->sk_state != TCP_ESTABLISHED) { in pep_sendmsg() 1158 BUG_ON(sk->sk_state != TCP_ESTABLISHED); in pep_sendmsg() 1178 if (sk->sk_state != TCP_ESTABLISHED) in pep_sendmsg() 1235 if (sk->sk_state == TCP_ESTABLISHED) in pep_read() [all …]
|
/kernel/linux/linux-5.10/net/netrom/ |
D | af_netrom.c | 494 sk->sk_state = TCP_ESTABLISHED; in nr_make_new() 647 if (sk->sk_state == TCP_ESTABLISHED && sock->state == SS_CONNECTING) { in nr_connect() 658 if (sk->sk_state == TCP_ESTABLISHED) { in nr_connect() 725 if (sk->sk_state != TCP_ESTABLISHED && (flags & O_NONBLOCK)) { in nr_connect() 756 if (sk->sk_state != TCP_ESTABLISHED) { in nr_connect() 845 if (sk->sk_state != TCP_ESTABLISHED) { in nr_getname() 978 make->sk_state = TCP_ESTABLISHED; in nr_rx_frame() 1083 if (sk->sk_state != TCP_ESTABLISHED) { in nr_sendmsg() 1132 if (sk->sk_state != TCP_ESTABLISHED) { in nr_sendmsg() 1161 if (sk->sk_state != TCP_ESTABLISHED) { in nr_recvmsg()
|
D | nr_in.c | 89 sk->sk_state = TCP_ESTABLISHED; in nr_state1_machine()
|
/kernel/linux/linux-5.10/net/rose/ |
D | af_rose.c | 589 sk->sk_state = TCP_ESTABLISHED; in rose_make_new() 756 if (sk->sk_state == TCP_ESTABLISHED && sock->state == SS_CONNECTING) { in rose_connect() 768 if (sk->sk_state == TCP_ESTABLISHED) { in rose_connect() 843 if (sk->sk_state != TCP_ESTABLISHED && (flags & O_NONBLOCK)) { in rose_connect() 875 if (sk->sk_state != TCP_ESTABLISHED) { in rose_connect() 964 if (sk->sk_state != TCP_ESTABLISHED) in rose_getname() 1018 make->sk_state = TCP_ESTABLISHED; in rose_rx_call_request() 1109 if (sk->sk_state != TCP_ESTABLISHED) in rose_sendmsg() 1167 if (sk->sk_state != TCP_ESTABLISHED) { in rose_sendmsg() 1243 if (sk->sk_state != TCP_ESTABLISHED) in rose_recvmsg()
|
D | rose_in.c | 50 sk->sk_state = TCP_ESTABLISHED; in rose_state1_machine()
|
/kernel/linux/linux-5.10/net/x25/ |
D | af_x25.c | 615 sk->sk_state = TCP_ESTABLISHED; in x25_make_new() 739 if (sk->sk_state != TCP_ESTABLISHED) { in x25_wait_for_connection_establishment() 761 if (sk->sk_state == TCP_ESTABLISHED && sock->state == SS_CONNECTING) { in x25_connect() 773 if (sk->sk_state == TCP_ESTABLISHED) in x25_connect() 826 if (sk->sk_state != TCP_ESTABLISHED && (flags & O_NONBLOCK)) in x25_connect() 930 if (sk->sk_state != TCP_ESTABLISHED) { in x25_getname() 1055 make->sk_state = TCP_ESTABLISHED; in x25_rx_call_request() 1160 if (sk->sk_state != TCP_ESTABLISHED) in x25_sendmsg() 1257 if (sk->sk_state != TCP_ESTABLISHED) in x25_sendmsg() 1306 if (sk->sk_state != TCP_ESTABLISHED) in x25_recvmsg() [all …]
|
/kernel/linux/linux-5.10/tools/testing/vsock/ |
D | vsock_diag_test.c | 54 case TCP_ESTABLISHED: in sock_state_str() 393 check_socket_state(st, TCP_ESTABLISHED); in test_connect_client() 418 check_socket_state(st, TCP_ESTABLISHED); in test_connect_server()
|
/kernel/linux/linux-5.10/net/ax25/ |
D | af_ax25.c | 941 sk->sk_state = TCP_ESTABLISHED; in ax25_make_new() 1196 case TCP_ESTABLISHED: /* connection established */ in ax25_connect() 1207 if (sk->sk_state == TCP_ESTABLISHED && sk->sk_type == SOCK_SEQPACKET) { in ax25_connect() 1292 sk->sk_state = TCP_ESTABLISHED; in ax25_connect() 1323 if (sk->sk_state != TCP_ESTABLISHED && (flags & O_NONBLOCK)) { in ax25_connect() 1351 if (sk->sk_state != TCP_ESTABLISHED) { in ax25_connect() 1449 if (sk->sk_state != TCP_ESTABLISHED) { in ax25_getname() 1582 if (sk->sk_state != TCP_ESTABLISHED) { in ax25_sendmsg() 1616 if (sk->sk_state != TCP_ESTABLISHED) { in ax25_sendmsg() 1668 if (sk->sk_type == SOCK_SEQPACKET && sk->sk_state != TCP_ESTABLISHED) { in ax25_recvmsg()
|
/kernel/linux/linux-5.10/fs/ocfs2/cluster/ |
D | tcp.h | 57 if (sock->sk->sk_state != TCP_ESTABLISHED && in o2net_link_down()
|
/kernel/linux/linux-5.10/net/unix/ |
D | af_unix.c | 1346 case TCP_ESTABLISHED: in unix_stream_connect() 1374 newsk->sk_state = TCP_ESTABLISHED; in unix_stream_connect() 1409 sk->sk_state = TCP_ESTABLISHED; in unix_stream_connect() 1452 ska->sk_state = TCP_ESTABLISHED; in unix_socketpair() 1453 skb->sk_state = TCP_ESTABLISHED; in unix_socketpair() 1914 err = sk->sk_state == TCP_ESTABLISHED ? -EISCONN : -EOPNOTSUPP; in unix_stream_sendmsg() 2006 if (!other || sk->sk_state != TCP_ESTABLISHED) in unix_stream_sendpage() 2117 if (sk->sk_state != TCP_ESTABLISHED) in unix_seqpacket_sendmsg() 2131 if (sk->sk_state != TCP_ESTABLISHED) in unix_seqpacket_recvmsg() 2331 if (unlikely(sk->sk_state != TCP_ESTABLISHED)) { in unix_stream_read_generic() [all …]
|
/kernel/linux/linux-5.10/net/vmw_vsock/ |
D | hyperv_transport.c | 401 new->sk_state = TCP_ESTABLISHED; in hvs_open_connection() 411 sk->sk_state = TCP_ESTABLISHED; in hvs_open_connection() 505 if (!(sk->sk_state == TCP_ESTABLISHED || in hvs_close_lock_held()
|
D | af_vsock.c | 1046 if (transport && sk->sk_state == TCP_ESTABLISHED) { in vsock_poll() 1342 while (sk->sk_state != TCP_ESTABLISHED && sk->sk_err == 0) { in vsock_stream_connect() 1370 sk->sk_state = sk->sk_state == TCP_ESTABLISHED ? TCP_CLOSING : TCP_CLOSE; in vsock_stream_connect() 1375 } else if ((sk->sk_state != TCP_ESTABLISHED) && (timeout == 0)) { in vsock_stream_connect() 1716 err = sk->sk_state == TCP_ESTABLISHED ? -EISCONN : -EOPNOTSUPP; in vsock_stream_sendmsg() 1727 if (!transport || sk->sk_state != TCP_ESTABLISHED || in vsock_stream_sendmsg() 1854 if (!transport || sk->sk_state != TCP_ESTABLISHED) { in vsock_stream_recvmsg()
|
D | virtio_transport_common.c | 818 if (!(sk->sk_state == TCP_ESTABLISHED || in virtio_transport_close() 871 sk->sk_state = TCP_ESTABLISHED; in virtio_transport_recv_connecting() 1067 child->sk_state = TCP_ESTABLISHED; in virtio_transport_recv_listen() 1171 case TCP_ESTABLISHED: in virtio_transport_recv_pkt()
|
/kernel/linux/linux-5.10/net/ipv4/netfilter/ |
D | nf_tproxy_ipv4.c | 124 int connected = (sk->sk_state == TCP_ESTABLISHED); in nf_tproxy_get_sock_v4()
|
/kernel/linux/linux-5.10/net/nfc/ |
D | rawsock.c | 118 sk->sk_state = TCP_ESTABLISHED; in rawsock_connect() 306 if (sk->sk_state == TCP_ESTABLISHED) { in rawsock_destruct()
|
/kernel/linux/linux-5.10/net/ipv4/ |
D | datagram.c | 74 sk->sk_state = TCP_ESTABLISHED; in __ip4_datagram_connect()
|
/kernel/linux/linux-5.10/net/ipv6/netfilter/ |
D | nf_tproxy_ipv6.c | 124 int connected = (sk->sk_state == TCP_ESTABLISHED); in nf_tproxy_get_sock_v6()
|
/kernel/linux/linux-5.10/net/ipv6/ |
D | udp.c | 168 if (sk->sk_reuseport && sk->sk_state != TCP_ESTABLISHED) { in lookup_reuseport() 250 if (!IS_ERR_OR_NULL(result) && result->sk_state == TCP_ESTABLISHED) in __udp6_lib_lookup() 622 if (!harderr || sk->sk_state != TCP_ESTABLISHED) in __udp6_lib_err() 1034 if (sk->sk_state == TCP_ESTABLISHED && in __udp6_lib_demux_lookup() 1341 if (sk->sk_state != TCP_ESTABLISHED) in udpv6_sendmsg() 1414 if (sk->sk_state == TCP_ESTABLISHED && in udpv6_sendmsg() 1423 if (sk->sk_state != TCP_ESTABLISHED) in udpv6_sendmsg()
|
/kernel/linux/linux-5.10/include/net/sctp/ |
D | constants.h | 199 SCTP_SS_ESTABLISHED = TCP_ESTABLISHED,
|
/kernel/liteos_m/kal/libc/newlib/porting/include/netinet/ |
D | tcp.h | 44 #define TCP_ESTABLISHED 1 macro
|
/kernel/linux/linux-5.10/net/rds/ |
D | tcp_connect.c | 62 case TCP_ESTABLISHED: in rds_tcp_state_change()
|
/kernel/linux/linux-5.10/net/mptcp/ |
D | protocol.h | 404 return inet_sk_state_load(sk) == TCP_ESTABLISHED && in mptcp_is_fully_established() 543 return sk->sk_state == TCP_ESTABLISHED && in subflow_simultaneous_connect()
|
/kernel/linux/linux-5.10/include/linux/ |
D | dccp.h | 20 DCCP_OPEN = TCP_ESTABLISHED,
|