Home
last modified time | relevance | path

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

1234

/kernel/linux/linux-5.10/include/net/
Dtcp_states.h13 TCP_ESTABLISHED = 1, enumerator
34 TCPF_ESTABLISHED = (1 << TCP_ESTABLISHED),
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
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/
Daf_netrom.c494 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()
Dnr_in.c89 sk->sk_state = TCP_ESTABLISHED; in nr_state1_machine()
/kernel/linux/linux-5.10/net/rose/
Daf_rose.c589 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()
Drose_in.c50 sk->sk_state = TCP_ESTABLISHED; in rose_state1_machine()
/kernel/linux/linux-5.10/net/x25/
Daf_x25.c615 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/
Dvsock_diag_test.c54 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/
Daf_ax25.c941 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/
Dtcp.h57 if (sock->sk->sk_state != TCP_ESTABLISHED && in o2net_link_down()
/kernel/linux/linux-5.10/net/unix/
Daf_unix.c1346 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/
Dhyperv_transport.c401 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()
Daf_vsock.c1046 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()
Dvirtio_transport_common.c818 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/
Dnf_tproxy_ipv4.c124 int connected = (sk->sk_state == TCP_ESTABLISHED); in nf_tproxy_get_sock_v4()
/kernel/linux/linux-5.10/net/nfc/
Drawsock.c118 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/
Ddatagram.c74 sk->sk_state = TCP_ESTABLISHED; in __ip4_datagram_connect()
/kernel/linux/linux-5.10/net/ipv6/netfilter/
Dnf_tproxy_ipv6.c124 int connected = (sk->sk_state == TCP_ESTABLISHED); in nf_tproxy_get_sock_v6()
/kernel/linux/linux-5.10/net/ipv6/
Dudp.c168 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/
Dconstants.h199 SCTP_SS_ESTABLISHED = TCP_ESTABLISHED,
/kernel/liteos_m/kal/libc/newlib/porting/include/netinet/
Dtcp.h44 #define TCP_ESTABLISHED 1 macro
/kernel/linux/linux-5.10/net/rds/
Dtcp_connect.c62 case TCP_ESTABLISHED: in rds_tcp_state_change()
/kernel/linux/linux-5.10/net/mptcp/
Dprotocol.h404 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/
Ddccp.h20 DCCP_OPEN = TCP_ESTABLISHED,

1234