Home
last modified time | relevance | path

Searched refs:TCP_ESTABLISHED (Results 1 – 25 of 71) sorted by relevance

123

/Linux-v5.4/include/net/
Dtcp_states.h13 TCP_ESTABLISHED = 1, enumerator
34 TCPF_ESTABLISHED = (1 << TCP_ESTABLISHED),
/Linux-v5.4/net/llc/
Dllc_if.c97 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/
Dpep.c231 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/
Daf_netrom.c467 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()
Dnr_in.c89 sk->sk_state = TCP_ESTABLISHED; in nr_state1_machine()
/Linux-v5.4/net/rose/
Daf_rose.c558 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()
Drose_in.c50 sk->sk_state = TCP_ESTABLISHED; in rose_state1_machine()
/Linux-v5.4/net/x25/
Daf_x25.c609 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/
Daf_ax25.c918 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()
Dax25_ds_in.c63 ax25->sk->sk_state = TCP_ESTABLISHED; in ax25_ds_state1_machine()
/Linux-v5.4/tools/testing/vsock/
Dvsock_diag_test.c64 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/
Dtcp.h57 if (sock->sk->sk_state != TCP_ESTABLISHED && in o2net_link_down()
/Linux-v5.4/net/unix/
Daf_unix.c1296 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/
Dnf_tproxy_ipv4.c124 int connected = (sk->sk_state == TCP_ESTABLISHED); in nf_tproxy_get_sock_v4()
/Linux-v5.4/net/nfc/
Drawsock.c118 sk->sk_state = TCP_ESTABLISHED; in rawsock_connect()
310 if (sk->sk_state == TCP_ESTABLISHED) { in rawsock_destruct()
/Linux-v5.4/net/ipv4/
Ddatagram.c74 sk->sk_state = TCP_ESTABLISHED; in __ip4_datagram_connect()
/Linux-v5.4/net/ipv6/netfilter/
Dnf_tproxy_ipv6.c124 int connected = (sk->sk_state == TCP_ESTABLISHED); in nf_tproxy_get_sock_v6()
/Linux-v5.4/include/net/sctp/
Dconstants.h199 SCTP_SS_ESTABLISHED = TCP_ESTABLISHED,
/Linux-v5.4/net/vmw_vsock/
Dhyperv_transport.c428 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()
Dvirtio_transport_common.c795 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()
Daf_vsock.c916 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/
Dtcp_connect.c62 case TCP_ESTABLISHED: in rds_tcp_state_change()
/Linux-v5.4/net/ipv6/
Dudp.c162 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/
Ddccp.h20 DCCP_OPEN = TCP_ESTABLISHED,
/Linux-v5.4/include/trace/events/
Dsock.h25 EM(TCP_ESTABLISHED) \

123