| /Linux-v5.4/include/net/ |
| D | tcp_states.h | 13 TCP_ESTABLISHED = 1, enumerator 34 TCPF_ESTABLISHED = (1 << TCP_ESTABLISHED),
|
| /Linux-v5.4/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()
|
| /Linux-v5.4/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() 947 else if (sk->sk_state == TCP_ESTABLISHED) in pep_ioctl() 1143 if (sk->sk_state != TCP_ESTABLISHED) { in pep_sendmsg() 1155 BUG_ON(sk->sk_state != TCP_ESTABLISHED); in pep_sendmsg() 1175 if (sk->sk_state != TCP_ESTABLISHED) in pep_sendmsg() 1232 if (sk->sk_state == TCP_ESTABLISHED) in pep_read() [all …]
|
| /Linux-v5.4/net/netrom/ |
| D | af_netrom.c | 467 sk->sk_state = TCP_ESTABLISHED; in nr_make_new() 620 if (sk->sk_state == TCP_ESTABLISHED && sock->state == SS_CONNECTING) { in nr_connect() 631 if (sk->sk_state == TCP_ESTABLISHED) { in nr_connect() 698 if (sk->sk_state != TCP_ESTABLISHED && (flags & O_NONBLOCK)) { in nr_connect() 729 if (sk->sk_state != TCP_ESTABLISHED) { in nr_connect() 818 if (sk->sk_state != TCP_ESTABLISHED) { in nr_getname() 951 make->sk_state = TCP_ESTABLISHED; in nr_rx_frame() 1056 if (sk->sk_state != TCP_ESTABLISHED) { in nr_sendmsg() 1105 if (sk->sk_state != TCP_ESTABLISHED) { in nr_sendmsg() 1134 if (sk->sk_state != TCP_ESTABLISHED) { in nr_recvmsg()
|
| D | nr_in.c | 89 sk->sk_state = TCP_ESTABLISHED; in nr_state1_machine()
|
| /Linux-v5.4/net/rose/ |
| D | af_rose.c | 558 sk->sk_state = TCP_ESTABLISHED; in rose_make_new() 723 if (sk->sk_state == TCP_ESTABLISHED && sock->state == SS_CONNECTING) { in rose_connect() 735 if (sk->sk_state == TCP_ESTABLISHED) { in rose_connect() 806 if (sk->sk_state != TCP_ESTABLISHED && (flags & O_NONBLOCK)) { in rose_connect() 838 if (sk->sk_state != TCP_ESTABLISHED) { in rose_connect() 927 if (sk->sk_state != TCP_ESTABLISHED) in rose_getname() 981 make->sk_state = TCP_ESTABLISHED; in rose_rx_call_request() 1072 if (sk->sk_state != TCP_ESTABLISHED) in rose_sendmsg() 1130 if (sk->sk_state != TCP_ESTABLISHED) { in rose_sendmsg() 1206 if (sk->sk_state != TCP_ESTABLISHED) in rose_recvmsg()
|
| D | rose_in.c | 50 sk->sk_state = TCP_ESTABLISHED; in rose_state1_machine()
|
| /Linux-v5.4/net/x25/ |
| D | af_x25.c | 609 sk->sk_state = TCP_ESTABLISHED; in x25_make_new() 726 if (sk->sk_state != TCP_ESTABLISHED) { in x25_wait_for_connection_establishment() 748 if (sk->sk_state == TCP_ESTABLISHED && sock->state == SS_CONNECTING) { in x25_connect() 760 if (sk->sk_state == TCP_ESTABLISHED) in x25_connect() 808 if (sk->sk_state != TCP_ESTABLISHED && (flags & O_NONBLOCK)) in x25_connect() 912 if (sk->sk_state != TCP_ESTABLISHED) { in x25_getname() 1037 make->sk_state = TCP_ESTABLISHED; in x25_rx_call_request() 1139 if (sk->sk_state != TCP_ESTABLISHED) in x25_sendmsg() 1236 if (sk->sk_state != TCP_ESTABLISHED) in x25_sendmsg() 1285 if (sk->sk_state != TCP_ESTABLISHED) in x25_recvmsg() [all …]
|
| /Linux-v5.4/net/ax25/ |
| D | af_ax25.c | 918 sk->sk_state = TCP_ESTABLISHED; in ax25_make_new() 1160 case TCP_ESTABLISHED: /* connection established */ in ax25_connect() 1171 if (sk->sk_state == TCP_ESTABLISHED && sk->sk_type == SOCK_SEQPACKET) { in ax25_connect() 1253 sk->sk_state = TCP_ESTABLISHED; in ax25_connect() 1284 if (sk->sk_state != TCP_ESTABLISHED && (flags & O_NONBLOCK)) { in ax25_connect() 1312 if (sk->sk_state != TCP_ESTABLISHED) { in ax25_connect() 1410 if (sk->sk_state != TCP_ESTABLISHED) { in ax25_getname() 1540 if (sk->sk_state != TCP_ESTABLISHED) { in ax25_sendmsg() 1574 if (sk->sk_state != TCP_ESTABLISHED) { in ax25_sendmsg() 1623 if (sk->sk_type == SOCK_SEQPACKET && sk->sk_state != TCP_ESTABLISHED) { in ax25_recvmsg()
|
| D | ax25_ds_in.c | 63 ax25->sk->sk_state = TCP_ESTABLISHED; in ax25_ds_state1_machine()
|
| /Linux-v5.4/tools/testing/vsock/ |
| D | vsock_diag_test.c | 64 case TCP_ESTABLISHED: in sock_state_str() 424 check_socket_state(st, TCP_ESTABLISHED); in test_connect_client() 496 check_socket_state(st, TCP_ESTABLISHED); in test_connect_server()
|
| /Linux-v5.4/fs/ocfs2/cluster/ |
| D | tcp.h | 57 if (sock->sk->sk_state != TCP_ESTABLISHED && in o2net_link_down()
|
| /Linux-v5.4/net/unix/ |
| D | af_unix.c | 1296 case TCP_ESTABLISHED: in unix_stream_connect() 1324 newsk->sk_state = TCP_ESTABLISHED; in unix_stream_connect() 1359 sk->sk_state = TCP_ESTABLISHED; in unix_stream_connect() 1402 ska->sk_state = TCP_ESTABLISHED; in unix_socketpair() 1403 skb->sk_state = TCP_ESTABLISHED; in unix_socketpair() 1797 err = sk->sk_state == TCP_ESTABLISHED ? -EISCONN : -EOPNOTSUPP; in unix_stream_sendmsg() 1888 if (!other || sk->sk_state != TCP_ESTABLISHED) in unix_stream_sendpage() 2000 if (sk->sk_state != TCP_ESTABLISHED) in unix_seqpacket_sendmsg() 2014 if (sk->sk_state != TCP_ESTABLISHED) in unix_seqpacket_recvmsg() 2210 if (unlikely(sk->sk_state != TCP_ESTABLISHED)) { in unix_stream_read_generic() [all …]
|
| /Linux-v5.4/net/ipv4/netfilter/ |
| D | nf_tproxy_ipv4.c | 124 int connected = (sk->sk_state == TCP_ESTABLISHED); in nf_tproxy_get_sock_v4()
|
| /Linux-v5.4/net/nfc/ |
| D | rawsock.c | 118 sk->sk_state = TCP_ESTABLISHED; in rawsock_connect() 310 if (sk->sk_state == TCP_ESTABLISHED) { in rawsock_destruct()
|
| /Linux-v5.4/net/ipv4/ |
| D | datagram.c | 74 sk->sk_state = TCP_ESTABLISHED; in __ip4_datagram_connect()
|
| /Linux-v5.4/net/ipv6/netfilter/ |
| D | nf_tproxy_ipv6.c | 124 int connected = (sk->sk_state == TCP_ESTABLISHED); in nf_tproxy_get_sock_v6()
|
| /Linux-v5.4/include/net/sctp/ |
| D | constants.h | 199 SCTP_SS_ESTABLISHED = TCP_ESTABLISHED,
|
| /Linux-v5.4/net/vmw_vsock/ |
| D | hyperv_transport.c | 428 new->sk_state = TCP_ESTABLISHED; in hvs_open_connection() 441 sk->sk_state = TCP_ESTABLISHED; in hvs_open_connection() 539 if (!(sk->sk_state == TCP_ESTABLISHED || in hvs_close_lock_held()
|
| D | virtio_transport_common.c | 795 if (!(sk->sk_state == TCP_ESTABLISHED || in virtio_transport_close() 855 sk->sk_state = TCP_ESTABLISHED; in virtio_transport_recv_connecting() 1026 child->sk_state = TCP_ESTABLISHED; in virtio_transport_recv_listen() 1122 case TCP_ESTABLISHED: in virtio_transport_recv_pkt()
|
| D | af_vsock.c | 916 if (sk->sk_state == TCP_ESTABLISHED) { in vsock_poll() 1199 while (sk->sk_state != TCP_ESTABLISHED && sk->sk_err == 0) { in vsock_stream_connect() 1540 err = sk->sk_state == TCP_ESTABLISHED ? -EISCONN : -EOPNOTSUPP; in vsock_stream_sendmsg() 1551 if (sk->sk_state != TCP_ESTABLISHED || in vsock_stream_sendmsg() 1675 if (sk->sk_state != TCP_ESTABLISHED) { in vsock_stream_recvmsg()
|
| /Linux-v5.4/net/rds/ |
| D | tcp_connect.c | 62 case TCP_ESTABLISHED: in rds_tcp_state_change()
|
| /Linux-v5.4/net/ipv6/ |
| D | udp.c | 162 sk->sk_state != TCP_ESTABLISHED) { in udp6_lib_lookup2() 553 if (!harderr || sk->sk_state != TCP_ESTABLISHED) in __udp6_lib_err() 963 if (sk->sk_state == TCP_ESTABLISHED && in __udp6_lib_demux_lookup() 1267 if (sk->sk_state != TCP_ESTABLISHED) in udpv6_sendmsg() 1338 if (sk->sk_state == TCP_ESTABLISHED && in udpv6_sendmsg() 1347 if (sk->sk_state != TCP_ESTABLISHED) in udpv6_sendmsg()
|
| /Linux-v5.4/include/linux/ |
| D | dccp.h | 20 DCCP_OPEN = TCP_ESTABLISHED,
|
| /Linux-v5.4/include/trace/events/ |
| D | sock.h | 25 EM(TCP_ESTABLISHED) \
|