/linux/net/ax25/ |
A D | af_ax25.c | 214 if (s->sk && s->sk->sk_type != SOCK_SEQPACKET) in ax25_find_cb() 650 if (sk->sk_type == SOCK_SEQPACKET && in ax25_setsockopt() 786 if (sk->sk_type == SOCK_SEQPACKET && sk->sk_state != TCP_LISTEN) { in ax25_listen() 827 case SOCK_SEQPACKET: in ax25_create() 908 case SOCK_SEQPACKET: in ax25_make_new() 974 if (sk->sk_type == SOCK_SEQPACKET) { in ax25_release() 1246 if (sk->sk_type == SOCK_SEQPACKET && in ax25_connect() 1259 if (sk->sk_type != SOCK_SEQPACKET) { in ax25_connect() 1352 if (sk->sk_type != SOCK_SEQPACKET) { in ax25_accept() 1536 if (sk->sk_type == SOCK_SEQPACKET && in ax25_sendmsg() [all …]
|
A 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/security/tomoyo/ |
A 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/arch/mips/include/asm/ |
A D | socket.h | 34 SOCK_SEQPACKET = 5, enumerator
|
/linux/tools/testing/vsock/ |
A D | util.c | 130 return vsock_connect(cid, port, SOCK_SEQPACKET); in vsock_seqpacket_connect() 211 return vsock_accept(cid, port, clientaddrp, SOCK_SEQPACKET); in vsock_seqpacket_accept()
|
/linux/tools/testing/selftests/vm/ |
A D | map_populate.c | 96 ret = socketpair(PF_LOCAL, SOCK_SEQPACKET, 0, sock); in main()
|
/linux/net/vmw_vsock/ |
A D | af_vsock.c | 455 case SOCK_SEQPACKET: in vsock_assign_transport() 488 if (sk->sk_type == SOCK_SEQPACKET) { in vsock_assign_transport() 697 case SOCK_SEQPACKET: in __vsock_bind() 784 return (type == SOCK_STREAM) || (type == SOCK_SEQPACKET); in sock_type_connectible() 867 if (sk->sk_type == SOCK_SEQPACKET) in vsock_connectible_has_data() 1832 if (sk->sk_type == SOCK_SEQPACKET) { in vsock_connectible_sendmsg() 2187 case SOCK_SEQPACKET: in vsock_create()
|
/linux/net/unix/ |
A D | af_unix.c | 562 if (sk->sk_type == SOCK_STREAM || sk->sk_type == SOCK_SEQPACKET) { in unix_release_sock() 656 if (sock->type != SOCK_STREAM && sock->type != SOCK_SEQPACKET) in unix_listen() 927 case SOCK_SEQPACKET: in unix_create() 1549 if (sock->type != SOCK_STREAM && sock->type != SOCK_SEQPACKET) in unix_accept() 1891 if (sk->sk_type != SOCK_SEQPACKET) { in unix_dgram_sendmsg() 2322 if (sk->sk_type == SOCK_SEQPACKET && err == -EAGAIN && in __unix_dgram_recvmsg() 2892 (sk->sk_type == SOCK_STREAM || sk->sk_type == SOCK_SEQPACKET)) { in unix_shutdown() 2928 sk->sk_type == SOCK_SEQPACKET) { in unix_inq_len() 3056 if ((sk->sk_type == SOCK_STREAM || sk->sk_type == SOCK_SEQPACKET) && in unix_poll() 3097 if (sk->sk_type == SOCK_SEQPACKET) { in unix_dgram_poll()
|
/linux/tools/testing/selftests/pidfd/ |
A D | pidfd_getfd_test.c | 138 ASSERT_EQ(0, socketpair(PF_LOCAL, SOCK_SEQPACKET, 0, sk_pair)) { in FIXTURE_SETUP()
|
/linux/net/iucv/ |
A D | af_iucv.c | 239 if (sock->sk_type == SOCK_SEQPACKET) { in afiucv_hs_send() 734 if (sk->sk_type != SOCK_STREAM && sk->sk_type != SOCK_SEQPACKET) in iucv_sock_connect() 784 if (sock->type != SOCK_STREAM && sock->type != SOCK_SEQPACKET) in iucv_sock_listen() 924 if (sk->sk_type == SOCK_SEQPACKET && !(msg->msg_flags & MSG_EOR)) in iucv_sock_sendmsg() 1265 if (sk->sk_type == SOCK_SEQPACKET) { in iucv_sock_recvmsg() 1336 if (sk->sk_type == SOCK_SEQPACKET && (flags & MSG_TRUNC)) in iucv_sock_recvmsg() 2239 case SOCK_SEQPACKET: in iucv_sock_create()
|
/linux/tools/testing/selftests/bpf/ |
A D | test_tag.c | 124 fd_base = socket(AF_ALG, SOCK_SEQPACKET, 0); in tag_from_alg()
|
/linux/net/bluetooth/ |
A D | sco.c | 517 if (sock->type != SOCK_SEQPACKET) in sco_sock_create() 550 if (sk->sk_type != SOCK_SEQPACKET) { in sco_sock_bind() 580 if (sk->sk_type != SOCK_SEQPACKET) in sco_sock_connect() 622 if (sk->sk_type != SOCK_SEQPACKET) { in sco_sock_listen()
|
A D | l2cap_sock.c | 276 if (sk->sk_type != SOCK_SEQPACKET && sk->sk_type != SOCK_STREAM) { in l2cap_sock_listen() 611 if (sk->sk_type != SOCK_SEQPACKET && sk->sk_type != SOCK_STREAM in l2cap_sock_getsockopt() 1784 case SOCK_SEQPACKET: in l2cap_sock_init() 1858 if (sock->type != SOCK_SEQPACKET && sock->type != SOCK_STREAM && in l2cap_sock_create()
|
/linux/Documentation/networking/ |
A D | phonet.rst | 151 lfd = socket(PF_PHONET, SOCK_SEQPACKET, PN_PROTO_PIPE); 178 fd = socket(PF_PHONET, SOCK_SEQPACKET, PN_PROTO_PIPE);
|
A D | kcm.rst | 68 KCM supports SOCK_DGRAM and SOCK_SEQPACKET socket types. 120 - type is either SOCK_DGRAM or SOCK_SEQPACKET
|
/linux/samples/seccomp/ |
A D | user-trap.c | 206 if (socketpair(PF_LOCAL, SOCK_SEQPACKET, 0, sk_pair) < 0) { in main()
|
/linux/net/netrom/ |
A 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/include/linux/ |
A D | net.h | 66 SOCK_SEQPACKET = 5, enumerator
|
/linux/net/rose/ |
A D | af_rose.c | 520 if (sock->type != SOCK_SEQPACKET || protocol != 0) in rose_create() 559 if (osk->sk_type != SOCK_SEQPACKET) in rose_make_new() 888 if (sk->sk_type != SOCK_SEQPACKET) { in rose_accept()
|
/linux/net/decnet/ |
A D | af_decnet.c | 681 case SOCK_SEQPACKET: in dn_create() 1654 if (sk->sk_type == SOCK_SEQPACKET) in dn_data_ready() 1786 if (sk->sk_type == SOCK_SEQPACKET) in dn_recvmsg() 1802 if (eor && (sk->sk_type == SOCK_SEQPACKET)) in dn_recvmsg()
|
/linux/net/nfc/ |
A D | rawsock.c | 328 if ((sock->type != SOCK_SEQPACKET) && (sock->type != SOCK_RAW)) in rawsock_create()
|
A D | llcp_sock.c | 208 if ((sock->type != SOCK_SEQPACKET && sock->type != SOCK_STREAM) || in llcp_sock_listen() 901 if (sk->sk_type == SOCK_SEQPACKET && (flags & MSG_TRUNC)) in llcp_sock_recvmsg()
|
/linux/net/sctp/ |
A D | protocol.c | 834 SOCK_SEQPACKET, IPPROTO_SCTP, net); in sctp_ctl_sock_init() 839 SOCK_SEQPACKET, IPPROTO_SCTP, in sctp_ctl_sock_init() 1137 .type = SOCK_SEQPACKET,
|
/linux/net/x25/ |
A D | af_x25.c | 532 if (sock->type != SOCK_SEQPACKET) in x25_create() 586 if (osk->sk_type != SOCK_SEQPACKET) in x25_make_new() 875 if (sk->sk_type != SOCK_SEQPACKET) in x25_accept()
|
/linux/net/phonet/ |
A D | af_phonet.c | 67 case SOCK_SEQPACKET: in pn_socket_create()
|