TCP_ESTABLISHED 688 drivers/block/drbd/drbd_receiver.c if (sk->sk_state == TCP_ESTABLISHED) TCP_ESTABLISHED 1320 drivers/crypto/chelsio/chtls/chtls_cm.c tcp_set_state(sk, TCP_ESTABLISHED); TCP_ESTABLISHED 1724 drivers/crypto/chelsio/chtls/chtls_cm.c case TCP_ESTABLISHED: TCP_ESTABLISHED 142 drivers/crypto/chelsio/chtls/chtls_io.c case TCP_ESTABLISHED: TCP_ESTABLISHED 1706 drivers/crypto/chelsio/chtls/chtls_io.c sk->sk_state == TCP_ESTABLISHED) TCP_ESTABLISHED 1290 drivers/infiniband/sw/siw/siw_cm.c case TCP_ESTABLISHED: TCP_ESTABLISHED 460 fs/dlm/lowcomms.c } else if (sk->sk_state == TCP_ESTABLISHED) { TCP_ESTABLISHED 627 fs/ocfs2/cluster/tcp.c case TCP_ESTABLISHED: TCP_ESTABLISHED 57 fs/ocfs2/cluster/tcp.h if (sock->sk->sk_state != TCP_ESTABLISHED && TCP_ESTABLISHED 20 include/linux/dccp.h DCCP_OPEN = TCP_ESTABLISHED, TCP_ESTABLISHED 199 include/net/sctp/constants.h SCTP_SS_ESTABLISHED = TCP_ESTABLISHED, TCP_ESTABLISHED 992 include/net/sock.h if (sk->sk_state == TCP_ESTABLISHED) TCP_ESTABLISHED 34 include/net/tcp_states.h TCPF_ESTABLISHED = (1 << TCP_ESTABLISHED), TCP_ESTABLISHED 25 include/trace/events/sock.h EM(TCP_ESTABLISHED) \ TCP_ESTABLISHED 523 include/trace/events/sunrpc.h EM( TCP_ESTABLISHED, "ESTABLISHED" ) \ TCP_ESTABLISHED 1229 net/appletalk/ddp.c sk->sk_state = TCP_ESTABLISHED; TCP_ESTABLISHED 1258 net/appletalk/ddp.c if (sk->sk_state != TCP_ESTABLISHED) TCP_ESTABLISHED 1601 net/appletalk/ddp.c if (sk->sk_state != TCP_ESTABLISHED) TCP_ESTABLISHED 920 net/ax25/af_ax25.c sk->sk_state = TCP_ESTABLISHED; TCP_ESTABLISHED 1162 net/ax25/af_ax25.c case TCP_ESTABLISHED: /* connection established */ TCP_ESTABLISHED 1173 net/ax25/af_ax25.c if (sk->sk_state == TCP_ESTABLISHED && sk->sk_type == SOCK_SEQPACKET) { TCP_ESTABLISHED 1255 net/ax25/af_ax25.c sk->sk_state = TCP_ESTABLISHED; TCP_ESTABLISHED 1286 net/ax25/af_ax25.c if (sk->sk_state != TCP_ESTABLISHED && (flags & O_NONBLOCK)) { TCP_ESTABLISHED 1314 net/ax25/af_ax25.c if (sk->sk_state != TCP_ESTABLISHED) { TCP_ESTABLISHED 1412 net/ax25/af_ax25.c if (sk->sk_state != TCP_ESTABLISHED) { TCP_ESTABLISHED 1542 net/ax25/af_ax25.c if (sk->sk_state != TCP_ESTABLISHED) { TCP_ESTABLISHED 1576 net/ax25/af_ax25.c if (sk->sk_state != TCP_ESTABLISHED) { TCP_ESTABLISHED 1625 net/ax25/af_ax25.c if (sk->sk_type == SOCK_SEQPACKET && sk->sk_state != TCP_ESTABLISHED) { TCP_ESTABLISHED 63 net/ax25/ax25_ds_in.c ax25->sk->sk_state = TCP_ESTABLISHED; TCP_ESTABLISHED 357 net/ax25/ax25_in.c make->sk_state = TCP_ESTABLISHED; TCP_ESTABLISHED 71 net/ax25/ax25_std_in.c ax25->sk->sk_state = TCP_ESTABLISHED; TCP_ESTABLISHED 38 net/caif/caif_socket.c CAIF_CONNECTED = TCP_ESTABLISHED, TCP_ESTABLISHED 422 net/ceph/messenger.c case TCP_ESTABLISHED: TCP_ESTABLISHED 113 net/core/datagram.c !(sk->sk_state == TCP_ESTABLISHED || sk->sk_state == TCP_LISTEN)) TCP_ESTABLISHED 428 net/core/sock_map.c if (sk->sk_state != TCP_ESTABLISHED) TCP_ESTABLISHED 753 net/core/sock_map.c if (sk->sk_state != TCP_ESTABLISHED) TCP_ESTABLISHED 302 net/core/sock_reuseport.c while (reuse->socks[i]->sk_state == TCP_ESTABLISHED) { TCP_ESTABLISHED 353 net/decnet/dn_nsp_in.c sk->sk_state = TCP_ESTABLISHED; TCP_ESTABLISHED 862 net/decnet/dn_nsp_in.c sk->sk_state = TCP_ESTABLISHED; TCP_ESTABLISHED 74 net/ipv4/datagram.c sk->sk_state = TCP_ESTABLISHED; TCP_ESTABLISHED 124 net/ipv4/netfilter/nf_tproxy_ipv4.c int connected = (sk->sk_state == TCP_ESTABLISHED); TCP_ESTABLISHED 572 net/ipv4/ping.c if (!harderr || sk->sk_state != TCP_ESTABLISHED) TCP_ESTABLISHED 729 net/ipv4/ping.c if (sk->sk_state != TCP_ESTABLISHED) TCP_ESTABLISHED 245 net/ipv4/raw.c if (!inet->recverr && sk->sk_state != TCP_ESTABLISHED) TCP_ESTABLISHED 555 net/ipv4/raw.c if (sk->sk_state != TCP_ESTABLISHED) TCP_ESTABLISHED 1974 net/ipv4/tcp.c (sk->sk_state == TCP_ESTABLISHED)) TCP_ESTABLISHED 2229 net/ipv4/tcp.c BUILD_BUG_ON((int)BPF_TCP_ESTABLISHED != (int)TCP_ESTABLISHED); TCP_ESTABLISHED 2247 net/ipv4/tcp.c case TCP_ESTABLISHED: TCP_ESTABLISHED 2248 net/ipv4/tcp.c if (oldstate != TCP_ESTABLISHED) TCP_ESTABLISHED 2253 net/ipv4/tcp.c if (oldstate == TCP_CLOSE_WAIT || oldstate == TCP_ESTABLISHED) TCP_ESTABLISHED 2262 net/ipv4/tcp.c if (oldstate == TCP_ESTABLISHED) TCP_ESTABLISHED 2283 net/ipv4/tcp.c [TCP_ESTABLISHED] = TCP_FIN_WAIT1 | TCP_ACTION_FIN, TCP_ESTABLISHED 2968 net/ipv4/tcp.c else if (sk->sk_state == TCP_ESTABLISHED) TCP_ESTABLISHED 4161 net/ipv4/tcp_input.c case TCP_ESTABLISHED: TCP_ESTABLISHED 5499 net/ipv4/tcp_input.c sk->sk_state == TCP_ESTABLISHED) TCP_ESTABLISHED 5759 net/ipv4/tcp_input.c tcp_set_state(sk, TCP_ESTABLISHED); TCP_ESTABLISHED 6234 net/ipv4/tcp_input.c tcp_set_state(sk, TCP_ESTABLISHED); TCP_ESTABLISHED 6356 net/ipv4/tcp_input.c case TCP_ESTABLISHED: TCP_ESTABLISHED 1552 net/ipv4/tcp_ipv4.c if (sk->sk_state == TCP_ESTABLISHED) { /* Fast path */ TCP_ESTABLISHED 3762 net/ipv4/tcp_output.c if (sk->sk_state == TCP_ESTABLISHED) { TCP_ESTABLISHED 553 net/ipv4/tcp_timer.c if (sk->sk_state == TCP_ESTABLISHED && TCP_ESTABLISHED 427 net/ipv4/udp.c sk->sk_state != TCP_ESTABLISHED) { TCP_ESTABLISHED 711 net/ipv4/udp.c if (!harderr || sk->sk_state != TCP_ESTABLISHED) TCP_ESTABLISHED 1032 net/ipv4/udp.c if (sk->sk_state != TCP_ESTABLISHED) TCP_ESTABLISHED 259 net/ipv6/datagram.c sk->sk_state = TCP_ESTABLISHED; TCP_ESTABLISHED 195 net/ipv6/ipv6_sockglue.c if (sk->sk_state != TCP_ESTABLISHED) { TCP_ESTABLISHED 1046 net/ipv6/ipv6_sockglue.c if (sk->sk_state != TCP_ESTABLISHED) TCP_ESTABLISHED 124 net/ipv6/netfilter/nf_tproxy_ipv6.c int connected = (sk->sk_state == TCP_ESTABLISHED); TCP_ESTABLISHED 80 net/ipv6/ping.c if (sk->sk_state != TCP_ESTABLISHED) TCP_ESTABLISHED 336 net/ipv6/raw.c if (!np->recverr && sk->sk_state != TCP_ESTABLISHED) TCP_ESTABLISHED 847 net/ipv6/raw.c if (sk->sk_state == TCP_ESTABLISHED && TCP_ESTABLISHED 856 net/ipv6/raw.c if (sk->sk_state != TCP_ESTABLISHED) TCP_ESTABLISHED 1365 net/ipv6/tcp_ipv6.c if (sk->sk_state == TCP_ESTABLISHED) { /* Fast path */ TCP_ESTABLISHED 162 net/ipv6/udp.c sk->sk_state != TCP_ESTABLISHED) { TCP_ESTABLISHED 553 net/ipv6/udp.c if (!harderr || sk->sk_state != TCP_ESTABLISHED) TCP_ESTABLISHED 963 net/ipv6/udp.c if (sk->sk_state == TCP_ESTABLISHED && TCP_ESTABLISHED 1267 net/ipv6/udp.c if (sk->sk_state != TCP_ESTABLISHED) TCP_ESTABLISHED 1338 net/ipv6/udp.c if (sk->sk_state == TCP_ESTABLISHED && TCP_ESTABLISHED 1347 net/ipv6/udp.c if (sk->sk_state != TCP_ESTABLISHED) TCP_ESTABLISHED 1344 net/kcm/kcmsock.c kcm->sk.sk_state = TCP_ESTABLISHED; TCP_ESTABLISHED 1098 net/l2tp/l2tp_core.c if (tunnel->fd >= 0 && sk->sk_state != TCP_ESTABLISHED) { TCP_ESTABLISHED 438 net/l2tp/l2tp_ip.c if (sk->sk_state != TCP_ESTABLISHED) TCP_ESTABLISHED 562 net/l2tp/l2tp_ip6.c if (sk->sk_state == TCP_ESTABLISHED && TCP_ESTABLISHED 571 net/l2tp/l2tp_ip6.c if (sk->sk_state != TCP_ESTABLISHED) TCP_ESTABLISHED 421 net/llc/af_llc.c if (unlikely(sk->sk_state != TCP_ESTABLISHED)) TCP_ESTABLISHED 699 net/llc/af_llc.c newsk->sk_state = TCP_ESTABLISHED; TCP_ESTABLISHED 1002 net/llc/af_llc.c if (sk->sk_state != TCP_ESTABLISHED) TCP_ESTABLISHED 103 net/llc/llc_conn.c sk->sk_state == TCP_ESTABLISHED) { TCP_ESTABLISHED 144 net/llc/llc_conn.c sk->sk_state = TCP_ESTABLISHED; TCP_ESTABLISHED 97 net/llc/llc_if.c if (existing->sk_state == TCP_ESTABLISHED) { TCP_ESTABLISHED 136 net/llc/llc_if.c if (sk->sk_type != SOCK_STREAM || sk->sk_state != TCP_ESTABLISHED || TCP_ESTABLISHED 467 net/netrom/af_netrom.c sk->sk_state = TCP_ESTABLISHED; TCP_ESTABLISHED 620 net/netrom/af_netrom.c if (sk->sk_state == TCP_ESTABLISHED && sock->state == SS_CONNECTING) { TCP_ESTABLISHED 631 net/netrom/af_netrom.c if (sk->sk_state == TCP_ESTABLISHED) { TCP_ESTABLISHED 698 net/netrom/af_netrom.c if (sk->sk_state != TCP_ESTABLISHED && (flags & O_NONBLOCK)) { TCP_ESTABLISHED 729 net/netrom/af_netrom.c if (sk->sk_state != TCP_ESTABLISHED) { TCP_ESTABLISHED 818 net/netrom/af_netrom.c if (sk->sk_state != TCP_ESTABLISHED) { TCP_ESTABLISHED 951 net/netrom/af_netrom.c make->sk_state = TCP_ESTABLISHED; TCP_ESTABLISHED 1056 net/netrom/af_netrom.c if (sk->sk_state != TCP_ESTABLISHED) { TCP_ESTABLISHED 1105 net/netrom/af_netrom.c if (sk->sk_state != TCP_ESTABLISHED) { TCP_ESTABLISHED 1134 net/netrom/af_netrom.c if (sk->sk_state != TCP_ESTABLISHED) { TCP_ESTABLISHED 89 net/netrom/nr_in.c sk->sk_state = TCP_ESTABLISHED; TCP_ESTABLISHED 118 net/nfc/rawsock.c sk->sk_state = TCP_ESTABLISHED; TCP_ESTABLISHED 310 net/nfc/rawsock.c if (sk->sk_state == TCP_ESTABLISHED) { TCP_ESTABLISHED 231 net/phonet/pep.c BUG_ON(sk->sk_state != TCP_ESTABLISHED); TCP_ESTABLISHED 430 net/phonet/pep.c if (sk->sk_state == TCP_ESTABLISHED) TCP_ESTABLISHED 432 net/phonet/pep.c sk->sk_state = TCP_ESTABLISHED; TCP_ESTABLISHED 594 net/phonet/pep.c sk->sk_state = TCP_ESTABLISHED; TCP_ESTABLISHED 608 net/phonet/pep.c sk->sk_state = TCP_ESTABLISHED; TCP_ESTABLISHED 947 net/phonet/pep.c else if (sk->sk_state == TCP_ESTABLISHED) TCP_ESTABLISHED 1143 net/phonet/pep.c if (sk->sk_state != TCP_ESTABLISHED) { TCP_ESTABLISHED 1155 net/phonet/pep.c BUG_ON(sk->sk_state != TCP_ESTABLISHED); TCP_ESTABLISHED 1175 net/phonet/pep.c if (sk->sk_state != TCP_ESTABLISHED) TCP_ESTABLISHED 1232 net/phonet/pep.c if (sk->sk_state == TCP_ESTABLISHED) TCP_ESTABLISHED 1276 net/phonet/pep.c if (sk->sk_state == TCP_ESTABLISHED) TCP_ESTABLISHED 348 net/phonet/socket.c if (sk->sk_state == TCP_ESTABLISHED && TCP_ESTABLISHED 757 net/qrtr/qrtr.c } else if (sk->sk_state == TCP_ESTABLISHED) { TCP_ESTABLISHED 893 net/qrtr/qrtr.c sk->sk_state = TCP_ESTABLISHED; TCP_ESTABLISHED 909 net/qrtr/qrtr.c if (sk->sk_state != TCP_ESTABLISHED) { TCP_ESTABLISHED 62 net/rds/tcp_connect.c case TCP_ESTABLISHED: TCP_ESTABLISHED 558 net/rose/af_rose.c sk->sk_state = TCP_ESTABLISHED; TCP_ESTABLISHED 723 net/rose/af_rose.c if (sk->sk_state == TCP_ESTABLISHED && sock->state == SS_CONNECTING) { TCP_ESTABLISHED 735 net/rose/af_rose.c if (sk->sk_state == TCP_ESTABLISHED) { TCP_ESTABLISHED 806 net/rose/af_rose.c if (sk->sk_state != TCP_ESTABLISHED && (flags & O_NONBLOCK)) { TCP_ESTABLISHED 838 net/rose/af_rose.c if (sk->sk_state != TCP_ESTABLISHED) { TCP_ESTABLISHED 927 net/rose/af_rose.c if (sk->sk_state != TCP_ESTABLISHED) TCP_ESTABLISHED 981 net/rose/af_rose.c make->sk_state = TCP_ESTABLISHED; TCP_ESTABLISHED 1072 net/rose/af_rose.c if (sk->sk_state != TCP_ESTABLISHED) TCP_ESTABLISHED 1130 net/rose/af_rose.c if (sk->sk_state != TCP_ESTABLISHED) { TCP_ESTABLISHED 1206 net/rose/af_rose.c if (sk->sk_state != TCP_ESTABLISHED) TCP_ESTABLISHED 50 net/rose/rose_in.c sk->sk_state = TCP_ESTABLISHED; TCP_ESTABLISHED 765 net/sunrpc/svcsock.c if (sk->sk_state != TCP_ESTABLISHED) { TCP_ESTABLISHED 1237 net/sunrpc/svcsock.c case TCP_ESTABLISHED: TCP_ESTABLISHED 1521 net/sunrpc/xprtsock.c case TCP_ESTABLISHED: TCP_ESTABLISHED 60 net/tipc/socket.c TIPC_ESTABLISHED = TCP_ESTABLISHED, TCP_ESTABLISHED 780 net/tls/tls_main.c if (sk->sk_state != TCP_ESTABLISHED) TCP_ESTABLISHED 1308 net/unix/af_unix.c case TCP_ESTABLISHED: TCP_ESTABLISHED 1336 net/unix/af_unix.c newsk->sk_state = TCP_ESTABLISHED; TCP_ESTABLISHED 1371 net/unix/af_unix.c sk->sk_state = TCP_ESTABLISHED; TCP_ESTABLISHED 1414 net/unix/af_unix.c ska->sk_state = TCP_ESTABLISHED; TCP_ESTABLISHED 1415 net/unix/af_unix.c skb->sk_state = TCP_ESTABLISHED; TCP_ESTABLISHED 1809 net/unix/af_unix.c err = sk->sk_state == TCP_ESTABLISHED ? -EISCONN : -EOPNOTSUPP; TCP_ESTABLISHED 1900 net/unix/af_unix.c if (!other || sk->sk_state != TCP_ESTABLISHED) TCP_ESTABLISHED 2012 net/unix/af_unix.c if (sk->sk_state != TCP_ESTABLISHED) TCP_ESTABLISHED 2026 net/unix/af_unix.c if (sk->sk_state != TCP_ESTABLISHED) TCP_ESTABLISHED 2222 net/unix/af_unix.c if (unlikely(sk->sk_state != TCP_ESTABLISHED)) { TCP_ESTABLISHED 2793 net/unix/af_unix.c (s->sk_state == TCP_ESTABLISHED ? SS_CONNECTED : SS_UNCONNECTED) : TCP_ESTABLISHED 2794 net/unix/af_unix.c (s->sk_state == TCP_ESTABLISHED ? SS_CONNECTING : SS_DISCONNECTING), TCP_ESTABLISHED 916 net/vmw_vsock/af_vsock.c if (sk->sk_state == TCP_ESTABLISHED) { TCP_ESTABLISHED 1199 net/vmw_vsock/af_vsock.c while (sk->sk_state != TCP_ESTABLISHED && sk->sk_err == 0) { TCP_ESTABLISHED 1540 net/vmw_vsock/af_vsock.c err = sk->sk_state == TCP_ESTABLISHED ? -EISCONN : -EOPNOTSUPP; TCP_ESTABLISHED 1551 net/vmw_vsock/af_vsock.c if (sk->sk_state != TCP_ESTABLISHED || TCP_ESTABLISHED 1675 net/vmw_vsock/af_vsock.c if (sk->sk_state != TCP_ESTABLISHED) { TCP_ESTABLISHED 390 net/vmw_vsock/hyperv_transport.c new->sk_state = TCP_ESTABLISHED; TCP_ESTABLISHED 401 net/vmw_vsock/hyperv_transport.c sk->sk_state = TCP_ESTABLISHED; TCP_ESTABLISHED 499 net/vmw_vsock/hyperv_transport.c if (!(sk->sk_state == TCP_ESTABLISHED || TCP_ESTABLISHED 795 net/vmw_vsock/virtio_transport_common.c if (!(sk->sk_state == TCP_ESTABLISHED || TCP_ESTABLISHED 855 net/vmw_vsock/virtio_transport_common.c sk->sk_state = TCP_ESTABLISHED; TCP_ESTABLISHED 1026 net/vmw_vsock/virtio_transport_common.c child->sk_state = TCP_ESTABLISHED; TCP_ESTABLISHED 1122 net/vmw_vsock/virtio_transport_common.c case TCP_ESTABLISHED: TCP_ESTABLISHED 770 net/vmw_vsock/vmci_transport.c if (sk->sk_state == TCP_ESTABLISHED) TCP_ESTABLISHED 924 net/vmw_vsock/vmci_transport.c case TCP_ESTABLISHED: TCP_ESTABLISHED 1231 net/vmw_vsock/vmci_transport.c pending->sk_state = TCP_ESTABLISHED; TCP_ESTABLISHED 1300 net/vmw_vsock/vmci_transport.c sk->sk_state = TCP_ESTABLISHED; TCP_ESTABLISHED 350 net/vmw_vsock/vmci_transport_notify.c if (sk->sk_state == TCP_ESTABLISHED) { TCP_ESTABLISHED 171 net/vmw_vsock/vmci_transport_notify_qstate.c if (sk->sk_state == TCP_ESTABLISHED) TCP_ESTABLISHED 609 net/x25/af_x25.c sk->sk_state = TCP_ESTABLISHED; TCP_ESTABLISHED 726 net/x25/af_x25.c if (sk->sk_state != TCP_ESTABLISHED) { TCP_ESTABLISHED 748 net/x25/af_x25.c if (sk->sk_state == TCP_ESTABLISHED && sock->state == SS_CONNECTING) { TCP_ESTABLISHED 760 net/x25/af_x25.c if (sk->sk_state == TCP_ESTABLISHED) TCP_ESTABLISHED 812 net/x25/af_x25.c if (sk->sk_state != TCP_ESTABLISHED && (flags & O_NONBLOCK)) TCP_ESTABLISHED 916 net/x25/af_x25.c if (sk->sk_state != TCP_ESTABLISHED) { TCP_ESTABLISHED 1041 net/x25/af_x25.c make->sk_state = TCP_ESTABLISHED; TCP_ESTABLISHED 1143 net/x25/af_x25.c if (sk->sk_state != TCP_ESTABLISHED) TCP_ESTABLISHED 1240 net/x25/af_x25.c if (sk->sk_state != TCP_ESTABLISHED) TCP_ESTABLISHED 1289 net/x25/af_x25.c if (sk->sk_state != TCP_ESTABLISHED) TCP_ESTABLISHED 1591 net/x25/af_x25.c if (sk->sk_state != TCP_ESTABLISHED) TCP_ESTABLISHED 103 net/x25/x25_in.c sk->sk_state = TCP_ESTABLISHED; TCP_ESTABLISHED 64 tools/testing/vsock/vsock_diag_test.c case TCP_ESTABLISHED: TCP_ESTABLISHED 424 tools/testing/vsock/vsock_diag_test.c check_socket_state(st, TCP_ESTABLISHED); TCP_ESTABLISHED 496 tools/testing/vsock/vsock_diag_test.c check_socket_state(st, TCP_ESTABLISHED);