/Linux-v6.1/arch/mips/include/asm/ |
D | socket.h | 34 SOCK_SEQPACKET = 5, enumerator
|
/Linux-v6.1/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-v6.1/net/ax25/ |
D | af_ax25.c | 232 if (s->sk && s->sk->sk_type != SOCK_SEQPACKET) in ax25_find_cb() 673 if (sk->sk_type == SOCK_SEQPACKET && in ax25_setsockopt() 809 if (sk->sk_type == SOCK_SEQPACKET && sk->sk_state != TCP_LISTEN) { in ax25_listen() 850 case SOCK_SEQPACKET: in ax25_create() 931 case SOCK_SEQPACKET: in ax25_make_new() 999 if (sk->sk_type == SOCK_SEQPACKET) { in ax25_release() 1216 if (sk->sk_state == TCP_ESTABLISHED && sk->sk_type == SOCK_SEQPACKET) { in ax25_connect() 1286 if (sk->sk_type == SOCK_SEQPACKET && in ax25_connect() 1299 if (sk->sk_type != SOCK_SEQPACKET) { in ax25_connect() 1392 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-v6.1/tools/testing/vsock/ |
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-v6.1/tools/testing/selftests/vm/ |
D | map_populate.c | 96 ret = socketpair(PF_LOCAL, SOCK_SEQPACKET, 0, sock); in main()
|
/Linux-v6.1/net/vmw_vsock/ |
D | af_vsock.c | 461 case SOCK_SEQPACKET: in vsock_assign_transport() 494 if (sk->sk_type == SOCK_SEQPACKET) { in vsock_assign_transport() 703 case SOCK_SEQPACKET: in __vsock_bind() 790 return (type == SOCK_STREAM) || (type == SOCK_SEQPACKET); in sock_type_connectible() 873 if (sk->sk_type == SOCK_SEQPACKET) in vsock_connectible_has_data() 1858 if (sk->sk_type == SOCK_SEQPACKET) { in vsock_connectible_sendmsg() 2234 case SOCK_SEQPACKET: in vsock_create()
|
/Linux-v6.1/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-v6.1/tools/testing/selftests/bpf/ |
D | test_tag.c | 124 fd_base = socket(AF_ALG, SOCK_SEQPACKET, 0); in tag_from_alg()
|
/Linux-v6.1/net/iucv/ |
D | af_iucv.c | 240 if (sock->sk_type == SOCK_SEQPACKET) { in afiucv_hs_send() 733 if (sk->sk_type != SOCK_STREAM && sk->sk_type != SOCK_SEQPACKET) in iucv_sock_connect() 783 if (sock->type != SOCK_STREAM && sock->type != SOCK_SEQPACKET) in iucv_sock_listen() 923 if (sk->sk_type == SOCK_SEQPACKET && !(msg->msg_flags & MSG_EOR)) in iucv_sock_sendmsg() 1263 if (sk->sk_type == SOCK_SEQPACKET) { in iucv_sock_recvmsg() 1334 if (sk->sk_type == SOCK_SEQPACKET && (flags & MSG_TRUNC)) in iucv_sock_recvmsg() 2237 case SOCK_SEQPACKET: in iucv_sock_create()
|
/Linux-v6.1/net/bluetooth/ |
D | sco.c | 517 if (sock->type != SOCK_SEQPACKET) in sco_sock_create() 550 if (sk->sk_type != SOCK_SEQPACKET) { in sco_sock_bind() 583 if (sk->sk_type != SOCK_SEQPACKET) { in sco_sock_connect() 627 if (sk->sk_type != SOCK_SEQPACKET) { in sco_sock_listen()
|
D | iso.c | 713 if (sock->type != SOCK_SEQPACKET) in iso_sock_create() 778 if (sk->sk_type != SOCK_SEQPACKET) { in iso_sock_bind() 822 if (sk->sk_type != SOCK_SEQPACKET) in iso_sock_connect() 917 if (sk->sk_type != SOCK_SEQPACKET) { in iso_sock_listen()
|
D | l2cap_sock.c | 302 if (sk->sk_type != SOCK_SEQPACKET && sk->sk_type != SOCK_STREAM) { in l2cap_sock_listen() 639 if (sk->sk_type != SOCK_SEQPACKET && sk->sk_type != SOCK_STREAM in l2cap_sock_getsockopt() 1814 case SOCK_SEQPACKET: in l2cap_sock_init() 1888 if (sock->type != SOCK_SEQPACKET && sock->type != SOCK_STREAM && in l2cap_sock_create()
|
/Linux-v6.1/net/unix/ |
D | af_unix.c | 627 if (sk->sk_type == SOCK_STREAM || sk->sk_type == SOCK_SEQPACKET) { in unix_release_sock() 721 if (sock->type != SOCK_STREAM && sock->type != SOCK_SEQPACKET) in unix_listen() 1019 case SOCK_SEQPACKET: in unix_create() 1685 if (sock->type != SOCK_STREAM && sock->type != SOCK_SEQPACKET) in unix_accept() 2026 if (sk->sk_type != SOCK_SEQPACKET) { in unix_dgram_sendmsg() 2457 if (sk->sk_type == SOCK_SEQPACKET && err == -EAGAIN && in __unix_dgram_recvmsg() 3005 (sk->sk_type == SOCK_STREAM || sk->sk_type == SOCK_SEQPACKET)) { in unix_shutdown() 3041 sk->sk_type == SOCK_SEQPACKET) { in unix_inq_len() 3172 if ((sk->sk_type == SOCK_STREAM || sk->sk_type == SOCK_SEQPACKET) && in unix_poll() 3213 if (sk->sk_type == SOCK_SEQPACKET) { in unix_dgram_poll()
|
/Linux-v6.1/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-v6.1/samples/seccomp/ |
D | user-trap.c | 206 if (socketpair(PF_LOCAL, SOCK_SEQPACKET, 0, sk_pair) < 0) { in main()
|
/Linux-v6.1/include/linux/ |
D | net.h | 67 SOCK_SEQPACKET = 5, enumerator
|
/Linux-v6.1/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-v6.1/net/rose/ |
D | af_rose.c | 521 if (sock->type != SOCK_SEQPACKET || protocol != 0) in rose_create() 560 if (osk->sk_type != SOCK_SEQPACKET) in rose_make_new() 898 if (sk->sk_type != SOCK_SEQPACKET) { in rose_accept()
|
/Linux-v6.1/net/nfc/ |
D | rawsock.c | 327 if ((sock->type != SOCK_SEQPACKET) && (sock->type != SOCK_RAW)) in rawsock_create()
|
D | llcp_sock.c | 213 if ((sock->type != SOCK_SEQPACKET && sock->type != SOCK_STREAM) || in llcp_sock_listen() 904 if (sk->sk_type == SOCK_SEQPACKET && (flags & MSG_TRUNC)) in llcp_sock_recvmsg()
|
/Linux-v6.1/net/sctp/ |
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-v6.1/net/x25/ |
D | af_x25.c | 532 if (sock->type != SOCK_SEQPACKET) in x25_create() 586 if (osk->sk_type != SOCK_SEQPACKET) in x25_make_new() 880 if (sk->sk_type != SOCK_SEQPACKET) in x25_accept()
|
/Linux-v6.1/net/phonet/ |
D | af_phonet.c | 67 case SOCK_SEQPACKET: in pn_socket_create()
|