Home
last modified time | relevance | path

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

1234

/linux/include/net/
A Dtcp_states.h13 TCP_ESTABLISHED = 1, enumerator
34 TCPF_ESTABLISHED = (1 << TCP_ESTABLISHED),
/linux/tools/testing/selftests/bpf/progs/
A Dbpf_iter_unix.c47 (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 Dbpf_iter_setsockopt.c52 sk->sk_state != TCP_ESTABLISHED) || in change_tcp_cc()
/linux/net/phonet/
A 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 …]
/linux/net/netrom/
A Daf_netrom.c489 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 Dnr_in.c89 sk->sk_state = TCP_ESTABLISHED; in nr_state1_machine()
/linux/net/llc/
A 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/net/x25/
A Daf_x25.c599 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 Daf_rose.c581 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 Drose_in.c50 sk->sk_state = TCP_ESTABLISHED; in rose_state1_machine()
/linux/tools/testing/vsock/
A Dvsock_diag_test.c54 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 Daf_ax25.c923 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 Daf_unix.c1259 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 Dtcp.h55 if (sock->sk->sk_state != TCP_ESTABLISHED && in o2net_link_down()
/linux/net/vmw_vsock/
A 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()
A Daf_vsock.c1084 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 Dvirtio_transport_common.c942 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 Drawsock.c118 sk->sk_state = TCP_ESTABLISHED; in rawsock_connect()
306 if (sk->sk_state == TCP_ESTABLISHED) { in rawsock_destruct()
/linux/net/ipv6/
A Dudp.c156 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 Dnf_tproxy_ipv4.c124 int connected = (sk->sk_state == TCP_ESTABLISHED); in nf_tproxy_get_sock_v4()
/linux/net/ipv6/netfilter/
A Dnf_tproxy_ipv6.c124 int connected = (sk->sk_state == TCP_ESTABLISHED); in nf_tproxy_get_sock_v6()
/linux/net/ipv4/
A Ddatagram.c73 sk->sk_state = TCP_ESTABLISHED; in __ip4_datagram_connect()
/linux/net/rds/
A Dtcp_connect.c62 case TCP_ESTABLISHED: in rds_tcp_state_change()
/linux/include/net/sctp/
A Dconstants.h200 SCTP_SS_ESTABLISHED = TCP_ESTABLISHED,
/linux/include/linux/
A Ddccp.h20 DCCP_OPEN = TCP_ESTABLISHED,

Completed in 66 milliseconds

1234