/linux-master/tools/testing/selftests/net/tcp_ao/ |
H A D | connect-deny.c | 168 sk = socket(test_family, SOCK_STREAM, IPPROTO_TCP); 170 test_error("socket()");
|
/linux-master/tools/testing/selftests/bpf/ |
H A D | xsk.c | 32 #include <sys/socket.h> 241 umem->fd = socket(AF_XDP, SOCK_RAW | SOCK_CLOEXEC, 0); 399 fd = socket(AF_NETLINK, SOCK_DGRAM, NETLINK_ROUTE); 569 xsk->fd = socket(AF_XDP, SOCK_RAW | SOCK_CLOEXEC, 0);
|
H A D | test_tcp_check_syncookie_user.c | 13 #include <sys/socket.h>
|
/linux-master/drivers/tty/serial/8250/ |
H A D | serial_cs.c | 618 info->multi = (link->socket->functions > 1); 639 (link->socket->pcmcia_pfc == 0) && 655 link->socket->pcmcia_pfc, info->multi, info->quirk); 656 if (link->socket->pcmcia_pfc)
|
/linux-master/net/netrom/ |
H A D | nr_subr.c | 8 #include <linux/socket.h>
|
H A D | nr_in.c | 9 #include <linux/socket.h>
|
H A D | nr_out.c | 9 #include <linux/socket.h>
|
/linux-master/arch/um/drivers/ |
H A D | vector_user.c | 20 #include <sys/socket.h> 51 #define L2TPV3_BIND_FAIL "l2tpv3_open : could not bind socket err=%i" 52 #define UNIX_BIND_FAIL "unix_open : could not bind socket err=%i" 125 * the same (f.e. read via raw socket and write via tap). 168 fd = socket(AF_PACKET, SOCK_RAW, flags); 291 "uml_tap: failed to create paired raw socket: %i\n", result->rx_fd); 346 printk(KERN_ERR "Unsupported unix socket type\n"); 350 fd = socket(AF_UNIX, socktype, 0); 353 "unix open: could not open socket, error = %d", 573 printk(KERN_ERR "Unsupported socket typ [all...] |
/linux-master/arch/um/os-Linux/drivers/ |
H A D | ethertap_user.c | 13 #include <sys/socket.h> 204 printk(UM_KERN_ERR "etap_close - shutdown data socket failed, " 208 printk(UM_KERN_ERR "etap_close - shutdown control socket "
|
H A D | tuntap_user.c | 13 #include <sys/socket.h>
|
/linux-master/samples/seccomp/ |
H A D | user-trap.c | 12 #include <sys/socket.h>
|
/linux-master/tools/testing/selftests/bpf/progs/ |
H A D | test_xdp.c | 18 #include <sys/socket.h>
|
H A D | test_xdp_loop.c | 14 #include <sys/socket.h>
|
/linux-master/tools/testing/selftests/bpf/prog_tests/ |
H A D | task_local_storage.c | 154 fd = socket(AF_INET, SOCK_STREAM, 0);
|
/linux-master/tools/testing/vsock/ |
H A D | vsock_test.c | 18 #include <sys/socket.h> 44 fd = socket(AF_VSOCK, SOCK_STREAM, 0); 83 fd = socket(AF_VSOCK, SOCK_STREAM, 0); 121 fd = socket(AF_VSOCK, SOCK_STREAM, 0); 207 /* With the standard socket sizes, VMCI is able to support about 100 307 /* Peek from empty socket. */ 326 /* This type of socket supports MSG_TRUNC flag, 416 * using control socket, and if message bounds wasn't 828 /* Keep socket in active state. */ 927 /* For SOCK_SEQPACKET socket' [all...] |
/linux-master/tools/testing/selftests/pidfd/ |
H A D | pidfd_getfd_test.c | 18 #include <sys/socket.h> 91 fprintf(stderr, "%s: Child failed to read from socket\n",
|
/linux-master/tools/testing/selftests/landlock/ |
H A D | common.h | 14 #include <sys/socket.h> 154 /* Receives an FD from a UNIX socket. Returns the received FD, or -errno. */ 189 /* Sends an FD on a UNIX socket. Returns 0 on success or -errno. */
|
/linux-master/include/linux/sunrpc/ |
H A D | clnt.h | 14 #include <linux/socket.h>
|
/linux-master/net/9p/ |
H A D | trans_fd.c | 3 * Fd transport layer. Includes deprecated socket layer. 411 * p9_fd_write - write to a socket 868 static int p9_socket_open(struct p9_client *client, struct socket *csocket) 974 static int p9_bind_privport(struct socket *sock) 996 struct socket *csocket; 1017 pr_err("%s (%d): problem creating socket\n", 1036 pr_err("%s (%d): problem connecting socket to %s\n", 1049 struct socket *csocket; 1068 pr_err("%s (%d): problem creating socket\n", 1076 pr_err("%s (%d): problem connecting socket [all...] |
/linux-master/net/rxrpc/ |
H A D | ar-internal.h | 35 * Mark applied to socket buffers in skb->mark. skb->priority is used 51 RXRPC_CLIENT_UNBOUND, /* Unbound socket used as client */ 57 RXRPC_CLOSE, /* socket is being closed */ 140 * RxRPC socket definition 150 struct list_head sock_calls; /* List of calls owned by this socket */ 154 struct key *key; /* security for this socket */ 162 bool exclusive; /* Exclusive connection for a client socket */ 197 * RxRPC socket buffer private variables 284 * - owned by a single AF_RXRPC socket 285 * - pointed to by transport socket struc 294 struct socket *socket; /* my UDP socket */ member in struct:rxrpc_local 620 struct rxrpc_sock __rcu *socket; /* socket responsible */ member in struct:rxrpc_call [all...] |
/linux-master/drivers/net/ |
H A D | loopback.c | 34 #include <linux/socket.h>
|
/linux-master/include/linux/ |
H A D | btf_ids.h | 238 /* Define a list of socket types which can be the argument for 258 BTF_SOCK_TYPE(BTF_SOCK_TYPE_SOCKET, socket)
|
/linux-master/tools/testing/selftests/net/ |
H A D | Makefile | 57 TEST_GEN_FILES = socket nettest
|
/linux-master/net/ax25/ |
H A D | ax25_dev.c | 8 #include <linux/socket.h>
|
/linux-master/io_uring/ |
H A D | napi.c | 36 void __io_napi_add(struct io_ring_ctx *ctx, struct socket *sock)
|