| /Linux-v5.10/arch/mips/include/asm/ |
| D | socket.h | 34 SOCK_SEQPACKET = 5, enumerator
|
| /Linux-v5.10/net/ax25/ |
| D | af_ax25.c | 212 if (s->sk && s->sk->sk_type != SOCK_SEQPACKET) in ax25_find_cb() 648 if (sk->sk_type == SOCK_SEQPACKET && in ax25_setsockopt() 784 if (sk->sk_type == SOCK_SEQPACKET && sk->sk_state != TCP_LISTEN) { in ax25_listen() 825 case SOCK_SEQPACKET: in ax25_create() 905 case SOCK_SEQPACKET: in ax25_make_new() 971 if (sk->sk_type == SOCK_SEQPACKET) { in ax25_release() 1173 if (sk->sk_state == TCP_ESTABLISHED && sk->sk_type == SOCK_SEQPACKET) { in ax25_connect() 1243 if (sk->sk_type == SOCK_SEQPACKET && in ax25_connect() 1256 if (sk->sk_type != SOCK_SEQPACKET) { in ax25_connect() 1349 if (sk->sk_type != SOCK_SEQPACKET) { in ax25_accept() [all …]
|
| D | ax25_in.c | 336 sk = ax25_find_listener(&dest, 0, dev, SOCK_SEQPACKET); in ax25_rcv() 338 sk = ax25_find_listener(next_digi, 1, dev, SOCK_SEQPACKET); in ax25_rcv()
|
| /Linux-v5.10/security/tomoyo/ |
| D | network.c | 37 [SOCK_SEQPACKET] = "seqpacket", 174 [SOCK_SEQPACKET] = { 658 if (!family || (type != SOCK_STREAM && type != SOCK_SEQPACKET)) in tomoyo_socket_listen_permission() 702 case SOCK_SEQPACKET: in tomoyo_socket_connect_permission() 736 case SOCK_SEQPACKET: in tomoyo_socket_bind_permission()
|
| /Linux-v5.10/tools/testing/selftests/vm/ |
| D | map_populate.c | 96 ret = socketpair(PF_LOCAL, SOCK_SEQPACKET, 0, sock); in main()
|
| /Linux-v5.10/net/unix/ |
| D | af_unix.c | 545 if (sk->sk_type == SOCK_STREAM || sk->sk_type == SOCK_SEQPACKET) { in unix_release_sock() 618 if (sock->type != SOCK_STREAM && sock->type != SOCK_SEQPACKET) in unix_listen() 842 case SOCK_SEQPACKET: in unix_create() 1455 if (sock->type != SOCK_STREAM && sock->type != SOCK_SEQPACKET) in unix_accept() 1749 if (sk->sk_type != SOCK_SEQPACKET) { in unix_dgram_sendmsg() 2118 if (sk->sk_type == SOCK_SEQPACKET && err == -EAGAIN && in unix_dgram_recvmsg() 2522 (sk->sk_type == SOCK_STREAM || sk->sk_type == SOCK_SEQPACKET)) { in unix_shutdown() 2555 sk->sk_type == SOCK_SEQPACKET) { in unix_inq_len() 2667 if ((sk->sk_type == SOCK_STREAM || sk->sk_type == SOCK_SEQPACKET) && in unix_poll() 2706 if (sk->sk_type == SOCK_SEQPACKET) { in unix_dgram_poll()
|
| /Linux-v5.10/tools/testing/selftests/pidfd/ |
| D | pidfd_getfd_test.c | 138 ASSERT_EQ(0, socketpair(PF_LOCAL, SOCK_SEQPACKET, 0, sk_pair)) { in FIXTURE_SETUP()
|
| /Linux-v5.10/tools/testing/selftests/bpf/ |
| D | test_tag.c | 124 fd_base = socket(AF_ALG, SOCK_SEQPACKET, 0); in tag_from_alg()
|
| /Linux-v5.10/net/bluetooth/ |
| D | sco.c | 518 if (sock->type != SOCK_SEQPACKET) in sco_sock_create() 551 if (sk->sk_type != SOCK_SEQPACKET) { in sco_sock_bind() 580 if (sk->sk_type != SOCK_SEQPACKET) in sco_sock_connect() 615 if (sk->sk_type != SOCK_SEQPACKET) { in sco_sock_listen()
|
| D | l2cap_sock.c | 268 if (sk->sk_type != SOCK_SEQPACKET && sk->sk_type != SOCK_STREAM) { in l2cap_sock_listen() 603 if (sk->sk_type != SOCK_SEQPACKET && sk->sk_type != SOCK_STREAM in l2cap_sock_getsockopt() 1768 case SOCK_SEQPACKET: in l2cap_sock_init() 1842 if (sock->type != SOCK_SEQPACKET && sock->type != SOCK_STREAM && in l2cap_sock_create()
|
| /Linux-v5.10/net/iucv/ |
| D | af_iucv.c | 256 if (sock->sk_type == SOCK_SEQPACKET) { in afiucv_hs_send() 756 if (sk->sk_type != SOCK_STREAM && sk->sk_type != SOCK_SEQPACKET) in iucv_sock_connect() 806 if (sock->type != SOCK_STREAM && sock->type != SOCK_SEQPACKET) in iucv_sock_listen() 946 if (sk->sk_type == SOCK_SEQPACKET && !(msg->msg_flags & MSG_EOR)) in iucv_sock_sendmsg() 1282 if (sk->sk_type == SOCK_SEQPACKET) { in iucv_sock_recvmsg() 1353 if (sk->sk_type == SOCK_SEQPACKET && (flags & MSG_TRUNC)) in iucv_sock_recvmsg() 2272 case SOCK_SEQPACKET: in iucv_sock_create()
|
| /Linux-v5.10/Documentation/networking/ |
| D | phonet.rst | 151 lfd = socket(PF_PHONET, SOCK_SEQPACKET, PN_PROTO_PIPE); 178 fd = socket(PF_PHONET, SOCK_SEQPACKET, PN_PROTO_PIPE);
|
| D | kcm.rst | 68 KCM supports SOCK_DGRAM and SOCK_SEQPACKET socket types. 120 - type is either SOCK_DGRAM or SOCK_SEQPACKET
|
| /Linux-v5.10/samples/seccomp/ |
| D | user-trap.c | 206 if (socketpair(PF_LOCAL, SOCK_SEQPACKET, 0, sk_pair) < 0) { in main()
|
| /Linux-v5.10/include/linux/ |
| D | net.h | 68 SOCK_SEQPACKET = 5, enumerator
|
| /Linux-v5.10/net/netrom/ |
| D | af_netrom.c | 430 if (sock->type != SOCK_SEQPACKET || protocol != 0) in nr_create() 473 if (osk->sk_type != SOCK_SEQPACKET) in nr_make_new() 778 if (sk->sk_type != SOCK_SEQPACKET) { in nr_accept()
|
| /Linux-v5.10/net/sctp/ |
| D | protocol.c | 828 SOCK_SEQPACKET, IPPROTO_SCTP, net); in sctp_ctl_sock_init() 833 SOCK_SEQPACKET, IPPROTO_SCTP, in sctp_ctl_sock_init() 1043 .type = SOCK_SEQPACKET,
|
| /Linux-v5.10/net/rose/ |
| D | af_rose.c | 519 if (sock->type != SOCK_SEQPACKET || protocol != 0) in rose_create() 558 if (osk->sk_type != SOCK_SEQPACKET) in rose_make_new() 887 if (sk->sk_type != SOCK_SEQPACKET) { in rose_accept()
|
| /Linux-v5.10/net/nfc/ |
| D | rawsock.c | 328 if ((sock->type != SOCK_SEQPACKET) && (sock->type != SOCK_RAW)) in rawsock_create()
|
| D | llcp_sock.c | 202 if ((sock->type != SOCK_SEQPACKET && sock->type != SOCK_STREAM) || in llcp_sock_listen() 885 if (sk->sk_type == SOCK_SEQPACKET && (flags & MSG_TRUNC)) in llcp_sock_recvmsg()
|
| /Linux-v5.10/net/decnet/ |
| D | af_decnet.c | 681 case SOCK_SEQPACKET: in dn_create() 1657 if (sk->sk_type == SOCK_SEQPACKET) in dn_data_ready() 1789 if (sk->sk_type == SOCK_SEQPACKET) in dn_recvmsg() 1805 if (eor && (sk->sk_type == SOCK_SEQPACKET)) in dn_recvmsg()
|
| /Linux-v5.10/net/x25/ |
| D | af_x25.c | 542 if (sock->type != SOCK_SEQPACKET) in x25_create() 596 if (osk->sk_type != SOCK_SEQPACKET) in x25_make_new() 885 if (sk->sk_type != SOCK_SEQPACKET) in x25_accept()
|
| /Linux-v5.10/net/phonet/ |
| D | af_phonet.c | 67 case SOCK_SEQPACKET: in pn_socket_create()
|
| /Linux-v5.10/net/core/ |
| D | datagram.c | 72 return sk->sk_type == SOCK_SEQPACKET || sk->sk_type == SOCK_STREAM; in connection_based()
|
| /Linux-v5.10/net/tipc/ |
| D | topsrv.c | 504 rc = sock_create_kern(srv->net, AF_TIPC, SOCK_SEQPACKET, 0, &lsock); in tipc_topsrv_create_listener()
|