/linux/include/net/ |
A D | tcp_states.h | 13 TCP_ESTABLISHED = 1, enumerator 34 TCPF_ESTABLISHED = (1 << TCP_ESTABLISHED),
|
/linux/tools/testing/selftests/bpf/progs/ |
A D | bpf_iter_unix.c | 47 (sk->sk_state == TCP_ESTABLISHED ? SS_CONNECTED : SS_UNCONNECTED) : in dump_unix() 48 (sk->sk_state == TCP_ESTABLISHED ? SS_CONNECTING : SS_DISCONNECTING), in dump_unix()
|
A D | bpf_iter_setsockopt.c | 52 sk->sk_state != TCP_ESTABLISHED) || in change_tcp_cc()
|
/linux/net/phonet/ |
A 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 …]
|
/linux/net/netrom/ |
A D | af_netrom.c | 489 sk->sk_state = TCP_ESTABLISHED; in nr_make_new() 642 if (sk->sk_state == TCP_ESTABLISHED && sock->state == SS_CONNECTING) { in nr_connect() 653 if (sk->sk_state == TCP_ESTABLISHED) { in nr_connect() 720 if (sk->sk_state != TCP_ESTABLISHED && (flags & O_NONBLOCK)) { in nr_connect() 751 if (sk->sk_state != TCP_ESTABLISHED) { in nr_connect() 840 if (sk->sk_state != TCP_ESTABLISHED) { in nr_getname() 973 make->sk_state = TCP_ESTABLISHED; in nr_rx_frame() 1078 if (sk->sk_state != TCP_ESTABLISHED) { in nr_sendmsg() 1127 if (sk->sk_state != TCP_ESTABLISHED) { in nr_sendmsg() 1156 if (sk->sk_state != TCP_ESTABLISHED) { in nr_recvmsg()
|
A D | nr_in.c | 89 sk->sk_state = TCP_ESTABLISHED; in nr_state1_machine()
|
/linux/net/llc/ |
A 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/net/x25/ |
A D | af_x25.c | 599 sk->sk_state = TCP_ESTABLISHED; in x25_make_new() 723 if (sk->sk_state != TCP_ESTABLISHED) { in x25_wait_for_connection_establishment() 745 if (sk->sk_state == TCP_ESTABLISHED && sock->state == SS_CONNECTING) { in x25_connect() 757 if (sk->sk_state == TCP_ESTABLISHED) in x25_connect() 810 if (sk->sk_state != TCP_ESTABLISHED && (flags & O_NONBLOCK)) in x25_connect() 914 if (sk->sk_state != TCP_ESTABLISHED) { in x25_getname() 1039 make->sk_state = TCP_ESTABLISHED; in x25_rx_call_request() 1144 if (sk->sk_state != TCP_ESTABLISHED) in x25_sendmsg() 1241 if (sk->sk_state != TCP_ESTABLISHED) in x25_sendmsg() 1290 if (sk->sk_state != TCP_ESTABLISHED) in x25_recvmsg() [all …]
|
/linux/net/rose/ |
A D | af_rose.c | 581 sk->sk_state = TCP_ESTABLISHED; in rose_make_new() 746 if (sk->sk_state == TCP_ESTABLISHED && sock->state == SS_CONNECTING) { in rose_connect() 758 if (sk->sk_state == TCP_ESTABLISHED) { in rose_connect() 829 if (sk->sk_state != TCP_ESTABLISHED && (flags & O_NONBLOCK)) { in rose_connect() 861 if (sk->sk_state != TCP_ESTABLISHED) { in rose_connect() 950 if (sk->sk_state != TCP_ESTABLISHED) in rose_getname() 1004 make->sk_state = TCP_ESTABLISHED; in rose_rx_call_request() 1095 if (sk->sk_state != TCP_ESTABLISHED) in rose_sendmsg() 1153 if (sk->sk_state != TCP_ESTABLISHED) { in rose_sendmsg() 1229 if (sk->sk_state != TCP_ESTABLISHED) in rose_recvmsg()
|
A D | rose_in.c | 50 sk->sk_state = TCP_ESTABLISHED; in rose_state1_machine()
|
/linux/tools/testing/vsock/ |
A D | vsock_diag_test.c | 54 case TCP_ESTABLISHED: in sock_state_str() 391 check_socket_state(st, TCP_ESTABLISHED); in test_connect_client() 416 check_socket_state(st, TCP_ESTABLISHED); in test_connect_server()
|
/linux/net/ax25/ |
A D | af_ax25.c | 923 sk->sk_state = TCP_ESTABLISHED; in ax25_make_new() 1165 case TCP_ESTABLISHED: /* connection established */ in ax25_connect() 1176 if (sk->sk_state == TCP_ESTABLISHED && sk->sk_type == SOCK_SEQPACKET) { in ax25_connect() 1261 sk->sk_state = TCP_ESTABLISHED; in ax25_connect() 1292 if (sk->sk_state != TCP_ESTABLISHED && (flags & O_NONBLOCK)) { in ax25_connect() 1320 if (sk->sk_state != TCP_ESTABLISHED) { in ax25_connect() 1418 if (sk->sk_state != TCP_ESTABLISHED) { in ax25_getname() 1551 if (sk->sk_state != TCP_ESTABLISHED) { in ax25_sendmsg() 1585 if (sk->sk_state != TCP_ESTABLISHED) { in ax25_sendmsg() 1634 if (sk->sk_type == SOCK_SEQPACKET && sk->sk_state != TCP_ESTABLISHED) { in ax25_recvmsg()
|
/linux/net/unix/ |
A D | af_unix.c | 1259 sk->sk_state = other->sk_state = TCP_ESTABLISHED; in unix_dgram_connect() 1419 case TCP_ESTABLISHED: in unix_stream_connect() 1447 newsk->sk_state = TCP_ESTABLISHED; in unix_stream_connect() 1482 sk->sk_state = TCP_ESTABLISHED; in unix_stream_connect() 1524 ska->sk_state = TCP_ESTABLISHED; in unix_socketpair() 1525 skb->sk_state = TCP_ESTABLISHED; in unix_socketpair() 2140 if (!other || sk->sk_state != TCP_ESTABLISHED) in unix_stream_sendpage() 2252 if (sk->sk_state != TCP_ESTABLISHED) in unix_seqpacket_sendmsg() 2266 if (sk->sk_state != TCP_ESTABLISHED) in unix_seqpacket_recvmsg() 2571 if (unlikely(sk->sk_state != TCP_ESTABLISHED)) in unix_stream_read_sock() [all …]
|
/linux/fs/ocfs2/cluster/ |
A D | tcp.h | 55 if (sock->sk->sk_state != TCP_ESTABLISHED && in o2net_link_down()
|
/linux/net/vmw_vsock/ |
A 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()
|
A D | af_vsock.c | 1084 if (transport && sk->sk_state == TCP_ESTABLISHED) { in vsock_poll() 1379 while (sk->sk_state != TCP_ESTABLISHED && sk->sk_err == 0) { in vsock_connect() 1400 sk->sk_state = sk->sk_state == TCP_ESTABLISHED ? TCP_CLOSING : TCP_CLOSE; in vsock_connect() 1743 err = sk->sk_state == TCP_ESTABLISHED ? -EISCONN : -EOPNOTSUPP; in vsock_connectible_sendmsg() 1754 if (!transport || sk->sk_state != TCP_ESTABLISHED || in vsock_connectible_sendmsg() 2079 if (!transport || sk->sk_state != TCP_ESTABLISHED) { in vsock_connectible_recvmsg()
|
A D | virtio_transport_common.c | 942 if (!(sk->sk_state == TCP_ESTABLISHED || in virtio_transport_close() 995 sk->sk_state = TCP_ESTABLISHED; in virtio_transport_recv_connecting() 1201 child->sk_state = TCP_ESTABLISHED; in virtio_transport_recv_listen() 1317 case TCP_ESTABLISHED: in virtio_transport_recv_pkt()
|
/linux/net/nfc/ |
A D | rawsock.c | 118 sk->sk_state = TCP_ESTABLISHED; in rawsock_connect() 306 if (sk->sk_state == TCP_ESTABLISHED) { in rawsock_destruct()
|
/linux/net/ipv6/ |
A D | udp.c | 156 if (sk->sk_reuseport && sk->sk_state != TCP_ESTABLISHED) { in lookup_reuseport() 238 if (!IS_ERR_OR_NULL(result) && result->sk_state == TCP_ESTABLISHED) in __udp6_lib_lookup() 621 if (!harderr || sk->sk_state != TCP_ESTABLISHED) in __udp6_lib_err() 1037 if (sk->sk_state == TCP_ESTABLISHED && in __udp6_lib_demux_lookup() 1344 if (sk->sk_state != TCP_ESTABLISHED) in udpv6_sendmsg() 1415 if (sk->sk_state == TCP_ESTABLISHED && in udpv6_sendmsg() 1424 if (sk->sk_state != TCP_ESTABLISHED) in udpv6_sendmsg()
|
/linux/net/ipv4/netfilter/ |
A D | nf_tproxy_ipv4.c | 124 int connected = (sk->sk_state == TCP_ESTABLISHED); in nf_tproxy_get_sock_v4()
|
/linux/net/ipv6/netfilter/ |
A D | nf_tproxy_ipv6.c | 124 int connected = (sk->sk_state == TCP_ESTABLISHED); in nf_tproxy_get_sock_v6()
|
/linux/net/ipv4/ |
A D | datagram.c | 73 sk->sk_state = TCP_ESTABLISHED; in __ip4_datagram_connect()
|
/linux/net/rds/ |
A D | tcp_connect.c | 62 case TCP_ESTABLISHED: in rds_tcp_state_change()
|
/linux/include/net/sctp/ |
A D | constants.h | 200 SCTP_SS_ESTABLISHED = TCP_ESTABLISHED,
|
/linux/include/linux/ |
A D | dccp.h | 20 DCCP_OPEN = TCP_ESTABLISHED,
|