Searched refs:socket (Results 551 - 575 of 882) sorted by relevance

<<21222324252627282930>>

/linux-master/tools/testing/selftests/net/tcp_ao/
H A Dconnect-deny.c168 sk = socket(test_family, SOCK_STREAM, IPPROTO_TCP);
170 test_error("socket()");
/linux-master/tools/testing/selftests/bpf/
H A Dxsk.c32 #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 Dtest_tcp_check_syncookie_user.c13 #include <sys/socket.h>
/linux-master/drivers/tty/serial/8250/
H A Dserial_cs.c618 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 Dnr_subr.c8 #include <linux/socket.h>
H A Dnr_in.c9 #include <linux/socket.h>
H A Dnr_out.c9 #include <linux/socket.h>
/linux-master/arch/um/drivers/
H A Dvector_user.c20 #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 Dethertap_user.c13 #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 Dtuntap_user.c13 #include <sys/socket.h>
/linux-master/samples/seccomp/
H A Duser-trap.c12 #include <sys/socket.h>
/linux-master/tools/testing/selftests/bpf/progs/
H A Dtest_xdp.c18 #include <sys/socket.h>
H A Dtest_xdp_loop.c14 #include <sys/socket.h>
/linux-master/tools/testing/selftests/bpf/prog_tests/
H A Dtask_local_storage.c154 fd = socket(AF_INET, SOCK_STREAM, 0);
/linux-master/tools/testing/vsock/
H A Dvsock_test.c18 #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 Dpidfd_getfd_test.c18 #include <sys/socket.h>
91 fprintf(stderr, "%s: Child failed to read from socket\n",
/linux-master/tools/testing/selftests/landlock/
H A Dcommon.h14 #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 Dclnt.h14 #include <linux/socket.h>
/linux-master/net/9p/
H A Dtrans_fd.c3 * 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 Dar-internal.h35 * 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 Dloopback.c34 #include <linux/socket.h>
/linux-master/include/linux/
H A Dbtf_ids.h238 /* 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 DMakefile57 TEST_GEN_FILES = socket nettest
/linux-master/net/ax25/
H A Dax25_dev.c8 #include <linux/socket.h>
/linux-master/io_uring/
H A Dnapi.c36 void __io_napi_add(struct io_ring_ctx *ctx, struct socket *sock)

Completed in 270 milliseconds

<<21222324252627282930>>