/linux-master/drivers/infiniband/hw/usnic/ |
H A D | usnic_ib_qp_grp.h | 76 struct socket *sock;
|
/linux-master/net/nfc/ |
H A D | af_nfc.c | 18 static int nfc_sock_create(struct net *net, struct socket *sock, int proto,
|
H A D | llcp_sock.c | 59 static int llcp_sock_bind(struct socket *sock, struct sockaddr *addr, int alen) 78 /* This is going to be a listening socket, dsap must be 0 */ 149 static int llcp_raw_sock_bind(struct socket *sock, struct sockaddr *addr, 204 static int llcp_sock_listen(struct socket *sock, int backlog) 231 static int nfc_llcp_setsockopt(struct socket *sock, int level, int optname, 304 static int nfc_llcp_getsockopt(struct socket *sock, int level, int optname, 409 struct socket *newsock) 449 static int llcp_sock_accept(struct socket *sock, struct socket *newsock, 495 pr_debug("new socket [all...] |
/linux-master/net/ipv4/ |
H A D | fib_notifier.c | 4 #include <linux/socket.h>
|
/linux-master/tools/testing/selftests/bpf/progs/ |
H A D | sendmsg6_prog.c | 6 #include <sys/socket.h>
|
H A D | bench_local_storage_create.c | 61 int BPF_PROG(socket_post_create, struct socket *sock, int family, int type,
|
/linux-master/tools/perf/trace/beauty/ |
H A D | socket.c | 3 * trace/beauty/socket.c 10 #include <sys/socket.h> 12 #include "trace/beauty/generated/socket.c"
|
H A D | msg_flags.c | 3 #include <sys/socket.h>
|
/linux-master/arch/um/include/shared/ |
H A D | net_kern.h | 12 #include <linux/socket.h>
|
/linux-master/include/pcmcia/ |
H A D | soc_common.h | 23 * This structure encapsulates per-socket state which we might need to 27 struct pcmcia_socket socket; member in struct:soc_pcmcia_socket 85 /* first socket in system */
|
/linux-master/include/uapi/linux/ |
H A D | net_tstamp.h | 14 #include <linux/socket.h> /* for SO_TIMESTAMPING */ 44 * Recording flags can be set both via socket options and control messages. 118 * packets will not received a time stamp via the socket error 127 * receive a time stamp via the socket error queue.
|
/linux-master/net/sctp/ |
H A D | Makefile | 13 tsnmap.o bind_addr.o socket.o primitive.o \
|
/linux-master/samples/bpf/ |
H A D | tcp_basertt_kern.c | 18 #include <linux/socket.h>
|
/linux-master/tools/testing/selftests/bpf/prog_tests/ |
H A D | sockopt_qos_to_cc.c | 47 sock_fd = socket(AF_INET6, SOCK_STREAM, 0); 48 if (!ASSERT_GE(sock_fd, 0, "v6 socket open"))
|
/linux-master/include/linux/sunrpc/ |
H A D | svcsock.h | 5 * RPC server socket I/O. 17 * RPC server socket. 21 struct socket * sk_sock; /* berkeley socket layer */ 70 * svc_makesock socket characteristics 74 #define SVC_SOCK_TEMPORARY (1U << 1) /* flag socket as temporary */
|
/linux-master/tools/testing/vsock/ |
H A D | msg_zerocopy_common.c | 12 #include <sys/socket.h>
|
H A D | util.h | 5 #include <sys/socket.h>
|
/linux-master/net/llc/ |
H A D | af_llc.c | 4 * Functions in this module are implementation of socket based llc 90 * @sk: Socket which contains a valid llc socket type. 94 * operation the user would like to perform and the type of socket. 118 * @sk: Connection the socket is using. 146 static void llc_ui_sk_init(struct socket *sock, struct sock *sk) 161 * llc_ui_create - alloc and init a new llc_ui socket 167 * Allocate and initialize a new llc_ui socket, validate the user wants a 168 * socket type we have available. 171 static int llc_ui_create(struct net *net, struct socket *sock, int protocol, 195 * llc_ui_release - shutdown socket [all...] |
/linux-master/net/ipv6/ |
H A D | ip6_udp_tunnel.c | 5 #include <linux/socket.h> 18 struct socket **sockp) 22 struct socket *sock = NULL; 138 struct socket *sock,
|
/linux-master/tools/net/ynl/lib/ |
H A D | ynl.c | 10 #include <sys/socket.h> 493 len = recv(ys->socket, ys->rx_buf, YNL_SOCKET_BUFFER_SIZE, flags); 638 err = send(ys->socket, nlh, nlh->nlmsg_len, 0); 640 perr(ys, "failed to request socket family info"); 647 perr(ys, "failed to receive the socket family info - no such family?"); 678 ys->socket = socket(AF_NETLINK, SOCK_RAW, NETLINK_GENERIC); 679 if (ys->socket < 0) { 680 __perr(yse, "failed to create a netlink socket"); 684 if (setsockopt(ys->socket, SOL_NETLIN [all...] |
H A D | ynl.h | 56 * struct ynl_sock - YNL wrapped netlink socket 64 int socket; member in struct:ynl_sock 99 * ynl_has_ntf() - check if socket has *parsed* notifications 100 * @ys: active YNL socket 103 * in netlink socket, just the notifications which have already been
|
/linux-master/tools/testing/selftests/net/ |
H A D | ip_local_port_range.c | 4 /* Test IP_LOCAL_PORT_RANGE socket option: IPv4 + IPv6, TCP + UDP. 190 fd = socket(variant->so_domain, variant->so_type, variant->so_protocol); 191 ASSERT_GE(fd, 0) TH_LOG("socket failed"); 221 { 30000, 39999 }, /* socket range below netns range */ 222 { 50000, 59999 }, /* socket range above netns range */ 240 fd = socket(variant->so_domain, variant->so_type, variant->so_protocol); 241 ASSERT_GE(fd, 0) TH_LOG("#%d: socket failed", i); 250 /* Check that socket port range outside of ephemeral range is ignored */ 286 fd = socket(variant->so_domain, variant->so_type, variant->so_protocol); 287 ASSERT_GE(fd, 0) TH_LOG("socket faile [all...] |
/linux-master/net/unix/ |
H A D | af_unix.c | 31 * if the max backlog of the listen socket 51 * ECONNREFUSED is not returned from one end of a connected() socket to the 54 * and a fake inode identifier (nor the BSD first socket fstat twice bug). 56 * accept() returns a path name even if the connecting socket has closed 66 * - client shutdown killed server socket. 72 * - "Abstract" (not FS based) socket bindings. 89 #include <linux/socket.h> 127 * each socket state is protected by separate spinlock. 271 * Check unix socket name: 418 * If a datagram socket i 2598 struct socket *socket; member in struct:unix_stream_read_state [all...] |
/linux-master/net/rds/ |
H A D | tcp.c | 103 void rds_tcp_restore_callbacks(struct socket *sock, 138 void rds_tcp_reset_callbacks(struct socket *sock, 142 struct socket *osock = tc->t_sock; 193 void rds_tcp_set_callbacks(struct socket *sock, struct rds_conn_path *cp) 228 /* Handle RDS_INFO_TCP_SOCKETS socket option. It only returns IPv4 231 static void rds_tcp_tc_info(struct socket *rds_sock, unsigned int len, 273 /* Handle RDS6_INFO_TCP_SOCKETS socket option. It returns both IPv4 and 277 static void rds6_tcp_tc_info(struct socket *sock, unsigned int len, 479 struct socket *rds_tcp_listen_sock; 487 /* All module specific customizations to the RDS-TCP socket shoul [all...] |
/linux-master/net/mctp/ |
H A D | af_mctp.c | 14 #include <linux/socket.h> 23 /* socket implementation */ 27 static int mctp_release(struct socket *sock) 52 static int mctp_bind(struct socket *sock, struct sockaddr *addr, int addrlen) 93 static int mctp_sendmsg(struct socket *sock, struct msghdr *msg, size_t len) 205 static int mctp_recvmsg(struct socket *sock, struct msghdr *msg, size_t len, 308 static int mctp_setsockopt(struct socket *sock, int level, int optname, 329 static int mctp_getsockopt(struct socket *sock, int level, int optname, 511 static int mctp_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) 531 static int mctp_compat_ioctl(struct socket *soc [all...] |