Home
last modified time | relevance | path

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

12

/linux/net/ax25/
A Daf_ax25.c214 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 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/security/tomoyo/
A 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/arch/mips/include/asm/
A Dsocket.h34 SOCK_SEQPACKET = 5, enumerator
/linux/tools/testing/vsock/
A 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/tools/testing/selftests/vm/
A Dmap_populate.c96 ret = socketpair(PF_LOCAL, SOCK_SEQPACKET, 0, sock); in main()
/linux/net/vmw_vsock/
A Daf_vsock.c455 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 Daf_unix.c562 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 Dpidfd_getfd_test.c138 ASSERT_EQ(0, socketpair(PF_LOCAL, SOCK_SEQPACKET, 0, sk_pair)) { in FIXTURE_SETUP()
/linux/net/iucv/
A Daf_iucv.c239 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 Dtest_tag.c124 fd_base = socket(AF_ALG, SOCK_SEQPACKET, 0); in tag_from_alg()
/linux/net/bluetooth/
A Dsco.c517 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 Dl2cap_sock.c276 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 Dphonet.rst151 lfd = socket(PF_PHONET, SOCK_SEQPACKET, PN_PROTO_PIPE);
178 fd = socket(PF_PHONET, SOCK_SEQPACKET, PN_PROTO_PIPE);
A Dkcm.rst68 KCM supports SOCK_DGRAM and SOCK_SEQPACKET socket types.
120 - type is either SOCK_DGRAM or SOCK_SEQPACKET
/linux/samples/seccomp/
A Duser-trap.c206 if (socketpair(PF_LOCAL, SOCK_SEQPACKET, 0, sk_pair) < 0) { in main()
/linux/net/netrom/
A 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/include/linux/
A Dnet.h66 SOCK_SEQPACKET = 5, enumerator
/linux/net/rose/
A Daf_rose.c520 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 Daf_decnet.c681 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 Drawsock.c328 if ((sock->type != SOCK_SEQPACKET) && (sock->type != SOCK_RAW)) in rawsock_create()
A Dllcp_sock.c208 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 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/net/x25/
A Daf_x25.c532 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 Daf_phonet.c67 case SOCK_SEQPACKET: in pn_socket_create()

Completed in 70 milliseconds

12