Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.10/arch/mips/include/asm/
Dsocket.h34 SOCK_SEQPACKET = 5, enumerator
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/net/ax25/
Daf_ax25.c228 if (s->sk && s->sk->sk_type != SOCK_SEQPACKET) in ax25_find_cb()
669 if (sk->sk_type == SOCK_SEQPACKET && in ax25_setsockopt()
805 if (sk->sk_type == SOCK_SEQPACKET && sk->sk_state != TCP_LISTEN) { in ax25_listen()
846 case SOCK_SEQPACKET: in ax25_create()
926 case SOCK_SEQPACKET: in ax25_make_new()
994 if (sk->sk_type == SOCK_SEQPACKET) { in ax25_release()
1207 if (sk->sk_state == TCP_ESTABLISHED && sk->sk_type == SOCK_SEQPACKET) { in ax25_connect()
1277 if (sk->sk_type == SOCK_SEQPACKET && in ax25_connect()
1290 if (sk->sk_type != SOCK_SEQPACKET) { in ax25_connect()
1383 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()
/kernel/linux/linux-5.10/tools/testing/selftests/vm/
Dmap_populate.c96 ret = socketpair(PF_LOCAL, SOCK_SEQPACKET, 0, sock); in main()
/kernel/linux/linux-5.10/tools/testing/selftests/pidfd/
Dpidfd_getfd_test.c138 ASSERT_EQ(0, socketpair(PF_LOCAL, SOCK_SEQPACKET, 0, sk_pair)) { in FIXTURE_SETUP()
/kernel/linux/linux-5.10/net/unix/
Daf_unix.c547 if (sk->sk_type == SOCK_STREAM || sk->sk_type == SOCK_SEQPACKET) { in unix_release_sock()
641 if (sock->type != SOCK_STREAM && sock->type != SOCK_SEQPACKET) in unix_listen()
865 case SOCK_SEQPACKET: in unix_create()
1478 if (sock->type != SOCK_STREAM && sock->type != SOCK_SEQPACKET) in unix_accept()
1819 if (sk->sk_type != SOCK_SEQPACKET) { in unix_dgram_sendmsg()
2187 if (sk->sk_type == SOCK_SEQPACKET && err == -EAGAIN && in unix_dgram_recvmsg()
2591 (sk->sk_type == SOCK_STREAM || sk->sk_type == SOCK_SEQPACKET)) { in unix_shutdown()
2624 sk->sk_type == SOCK_SEQPACKET) { in unix_inq_len()
2738 if ((sk->sk_type == SOCK_STREAM || sk->sk_type == SOCK_SEQPACKET) && in unix_poll()
2779 if (sk->sk_type == SOCK_SEQPACKET) { in unix_dgram_poll()
/kernel/liteos_m/kal/libc/newlib/porting/include/sys/
Dsocket.h113 #define SOCK_SEQPACKET 5 macro
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/
Dtest_tag.c124 fd_base = socket(AF_ALG, SOCK_SEQPACKET, 0); in tag_from_alg()
/kernel/linux/linux-5.10/net/bluetooth/
Dsco.c511 if (sock->type != SOCK_SEQPACKET) in sco_sock_create()
544 if (sk->sk_type != SOCK_SEQPACKET) { in sco_sock_bind()
577 if (sk->sk_type != SOCK_SEQPACKET) { in sco_sock_connect()
621 if (sk->sk_type != SOCK_SEQPACKET) { in sco_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()
1823 case SOCK_SEQPACKET: in l2cap_sock_init()
1897 if (sock->type != SOCK_SEQPACKET && sock->type != SOCK_STREAM && in l2cap_sock_create()
/kernel/linux/linux-5.10/net/iucv/
Daf_iucv.c256 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()
2271 case SOCK_SEQPACKET: in iucv_sock_create()
/kernel/linux/linux-5.10/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
/kernel/linux/linux-5.10/samples/seccomp/
Duser-trap.c206 if (socketpair(PF_LOCAL, SOCK_SEQPACKET, 0, sk_pair) < 0) { in main()
/kernel/linux/linux-5.10/include/linux/
Dnet.h66 SOCK_SEQPACKET = 5, enumerator
/kernel/linux/linux-5.10/net/netrom/
Daf_netrom.c435 if (sock->type != SOCK_SEQPACKET || protocol != 0) in nr_create()
478 if (osk->sk_type != SOCK_SEQPACKET) in nr_make_new()
783 if (sk->sk_type != SOCK_SEQPACKET) { in nr_accept()
/kernel/linux/linux-5.10/net/sctp/
Dprotocol.c834 SOCK_SEQPACKET, IPPROTO_SCTP, net); in sctp_ctl_sock_init()
839 SOCK_SEQPACKET, IPPROTO_SCTP, in sctp_ctl_sock_init()
1049 .type = SOCK_SEQPACKET,
/kernel/linux/linux-5.10/net/rose/
Daf_rose.c528 if (sock->type != SOCK_SEQPACKET || protocol != 0) in rose_create()
567 if (osk->sk_type != SOCK_SEQPACKET) in rose_make_new()
902 if (sk->sk_type != SOCK_SEQPACKET) { in rose_accept()
/kernel/linux/linux-5.10/net/nfc/
Drawsock.c328 if ((sock->type != SOCK_SEQPACKET) && (sock->type != SOCK_RAW)) in rawsock_create()
Dllcp_sock.c208 if ((sock->type != SOCK_SEQPACKET && sock->type != SOCK_STREAM) || in llcp_sock_listen()
906 if (sk->sk_type == SOCK_SEQPACKET && (flags & MSG_TRUNC)) in llcp_sock_recvmsg()
/kernel/linux/linux-5.10/net/decnet/
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()
/kernel/linux/linux-5.10/net/x25/
Daf_x25.c548 if (sock->type != SOCK_SEQPACKET) in x25_create()
602 if (osk->sk_type != SOCK_SEQPACKET) in x25_make_new()
891 if (sk->sk_type != SOCK_SEQPACKET) in x25_accept()
/kernel/linux/linux-5.10/net/phonet/
Daf_phonet.c67 case SOCK_SEQPACKET: in pn_socket_create()
/kernel/linux/linux-5.10/net/tipc/
Dtopsrv.c513 rc = sock_create_kern(srv->net, AF_TIPC, SOCK_SEQPACKET, 0, &lsock); in tipc_topsrv_create_listener()

12