Home
last modified time | relevance | path

Searched refs:SOCK_SEQPACKET (Results 1 – 25 of 50) sorted by relevance

12

/Linux-v6.1/arch/mips/include/asm/
Dsocket.h34 SOCK_SEQPACKET = 5, enumerator
/Linux-v6.1/security/tomoyo/
Dnetwork.c37 [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/
Daf_ax25.c232 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 …]
Dax25_in.c336 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/
Dutil.c130 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/
Dmap_populate.c96 ret = socketpair(PF_LOCAL, SOCK_SEQPACKET, 0, sock); in main()
/Linux-v6.1/net/vmw_vsock/
Daf_vsock.c461 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/
Dpidfd_getfd_test.c138 ASSERT_EQ(0, socketpair(PF_LOCAL, SOCK_SEQPACKET, 0, sk_pair)) { in FIXTURE_SETUP()
/Linux-v6.1/tools/testing/selftests/bpf/
Dtest_tag.c124 fd_base = socket(AF_ALG, SOCK_SEQPACKET, 0); in tag_from_alg()
/Linux-v6.1/net/iucv/
Daf_iucv.c240 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/
Dsco.c517 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()
Diso.c713 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()
Dl2cap_sock.c302 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/
Daf_unix.c627 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/
Dphonet.rst151 lfd = socket(PF_PHONET, SOCK_SEQPACKET, PN_PROTO_PIPE);
178 fd = socket(PF_PHONET, SOCK_SEQPACKET, PN_PROTO_PIPE);
Dkcm.rst68 KCM supports SOCK_DGRAM and SOCK_SEQPACKET socket types.
120 - type is either SOCK_DGRAM or SOCK_SEQPACKET
/Linux-v6.1/samples/seccomp/
Duser-trap.c206 if (socketpair(PF_LOCAL, SOCK_SEQPACKET, 0, sk_pair) < 0) { in main()
/Linux-v6.1/include/linux/
Dnet.h67 SOCK_SEQPACKET = 5, enumerator
/Linux-v6.1/net/netrom/
Daf_netrom.c430 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/
Daf_rose.c521 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/
Drawsock.c327 if ((sock->type != SOCK_SEQPACKET) && (sock->type != SOCK_RAW)) in rawsock_create()
Dllcp_sock.c213 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/
Dprotocol.c834 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/
Daf_x25.c532 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/
Daf_phonet.c67 case SOCK_SEQPACKET: in pn_socket_create()

12