Searched refs:SIOCINQ (Results 1 – 19 of 19) sorted by relevance
| /linux/tools/testing/selftests/net/af_unix/ |
| H A D | scm_inq.c | 97 ret = ioctl(self->fd[1], SIOCINQ, &inq); in recv_chunks() 115 err = ioctl(self->fd[1], SIOCINQ, &inq); in TEST_F()
|
| /linux/include/uapi/linux/ |
| H A D | sockios.h | 26 #define SIOCINQ FIONREAD macro
|
| /linux/net/phonet/ |
| H A D | datagram.c | 36 case SIOCINQ: in pn_ioctl()
|
| /linux/net/ipv4/ |
| H A D | udp_bpf.c | 115 if (cmd != SIOCINQ) in udp_bpf_ioctl()
|
| H A D | tcp_bpf.c | 339 if (cmd != SIOCINQ) in tcp_bpf_ioctl()
|
| H A D | udp.c | 1910 case SIOCINQ: in udp_ioctl()
|
| H A D | tcp.c | 650 case SIOCINQ: in tcp_ioctl()
|
| /linux/io_uring/ |
| H A D | cmd_net.c | 177 return io_uring_cmd_get_sock_ioctl(sock, SIOCINQ); in io_uring_cmd_sock()
|
| /linux/tools/testing/selftests/net/tcp_ao/lib/ |
| H A D | repair.c | 97 if (ioctl(sk, SIOCINQ, &state->inq_len)) in __test_sock_checkpoint()
|
| /linux/tools/testing/vsock/ |
| H A D | vsock_test_zerocopy.c | 417 vsock_ioctl_int(fd, SIOCINQ, PAGE_SIZE + 1 + GOOD_COPY_LEN); in test_stream_msgzcopy_mangle_server()
|
| H A D | vsock_test.c | 1390 if (!vsock_ioctl_int(fd, SIOCINQ, MSG_BUF_IOCTL_LEN)) { 1391 fprintf(stderr, "Test skipped, SIOCINQ not supported.\n"); in test_stream_unread_bytes_client() 1397 vsock_ioctl_int(fd, SIOCINQ, 0); in test_stream_unread_bytes_server() 2520 .name = "SOCK_STREAM ioctl(SIOCINQ) functionality", 2525 .name = "SOCK_SEQPACKET ioctl(SIOCINQ) functionality",
|
| /linux/net/atm/ |
| H A D | ioctl.c | 69 case SIOCINQ: in do_vcc_ioctl()
|
| /linux/net/dccp/ |
| H A D | proto.c | |
| /linux/net/vmw_vsock/ |
| H A D | af_vsock.c | 1536 case SIOCINQ: { in vsock_do_ioctl()
|
| /linux/net/smc/ |
| H A D | af_smc.c | 3215 case SIOCINQ: /* same as FIONREAD */ in smc_ioctl()
|
| /linux/net/unix/ |
| H A D | af_unix.c | 3309 case SIOCINQ: in unix_ioctl()
|
| /linux/net/mptcp/ |
| H A D | protocol.c | 3938 case SIOCINQ: in mptcp_ioctl()
|
| /linux/net/packet/ |
| H A D | af_packet.c | 4258 case SIOCINQ: in packet_ioctl()
|
| /linux/net/sctp/ |
| H A D | socket.c | 4983 case SIOCINQ: { in sctp_ioctl()
|