/linux-master/drivers/infiniband/sw/siw/ |
H A D | siw_cm.h | 51 struct socket *sock; 61 /* Saved upcalls of socket */ 80 SIW_CM_WORK_CLOSE_LLP, /* close socket */ 81 SIW_CM_WORK_PEER_CLOSE, /* socket indicated peer close */ 95 static inline int getname_peer(struct socket *s, struct sockaddr_storage *a) 100 static inline int getname_local(struct socket *s, struct sockaddr_storage *a) 105 static inline int ksock_recv(struct socket *sock, char *buf, size_t size, 128 * TCP socket interface
|
/linux-master/net/ieee802154/ |
H A D | Makefile | 8 ieee802154_socket-y := socket.o
|
/linux-master/tools/testing/selftests/bpf/progs/ |
H A D | test_skc_to_unix_sock.c | 13 int BPF_PROG(unix_listen, struct socket *sock, int backlog)
|
H A D | bpf_iter_unix.c | 12 const struct socket *sk_socket = sk->sk_socket; 19 inode = &container_of(sk_socket, struct socket_alloc, socket)->vfs_inode; 55 /* The name of the abstract UNIX domain socket starts
|
/linux-master/drivers/pcmcia/ |
H A D | db1xxx_ss.c | 3 * PCMCIA socket code for the Alchemy Db1xxx/Pb1xxx boards. 9 /* This is a fairly generic PCMCIA socket driver suitable for the 13 * The Db1000 is used as a reference: Per-socket card-, carddetect- and 15 * bits arranged in per-socket groups in an external PLD. All boards 19 * - Pb1100/Pb1500: single socket only; voltage key bits VS are 22 * - Db1300: Db1200-like, no pwr ctrl, single socket (#1). 44 struct pcmcia_socket socket; member in struct:db1x_pcmcia_sock 45 int nr; /* socket number */ 69 #define to_db1x_socket(x) container_of(x, struct db1x_pcmcia_sock, socket) 121 pcmcia_parse_events(&sock->socket, SS_DETEC [all...] |
H A D | socket_sysfs.c | 3 * socket_sysfs.c -- most of socket-related sysfs output 53 if (s->socket.Vcc) 54 return sysfs_emit(buf, "%d.%dV\n", s->socket.Vcc / 10, 55 s->socket.Vcc % 10); 66 return sysfs_emit(buf, "%d.%dV\n", s->socket.Vpp / 10, s->socket.Vpp % 10); 76 return sysfs_emit(buf, "%d.%dV\n", s->socket.Vcc / 10, s->socket.Vcc % 10);
|
H A D | soc_common.c | 81 container_of(x, struct soc_pcmcia_socket, socket) 101 dev_warn(&skt->socket.dev, 167 struct device *dev = skt->socket.dev.parent; 213 ret = devm_gpio_request_one(skt->socket.dev.parent, 229 skt->socket.pci_irq = irq; 335 * Convert PCMCIA socket state to our socket configure structure. 344 pr_err("soc_common_pcmcia: unable to configure socket %d\n", 374 irq_set_irq_type(skt->socket.pci_irq, 378 irq_set_irq_type(skt->socket [all...] |
H A D | pcmcia_resource.c | 56 * @s: pcmcia socket 90 * @s: pcmcia socket 166 s = p_dev->socket; 226 struct pcmcia_socket *s = p_dev->socket; 255 struct pcmcia_socket *s = p_dev->socket; 305 struct pcmcia_socket *s = p_dev->socket; 319 s->socket.Vpp = new_vpp; 320 if (s->ops->set_socket(s, &s->socket)) { 349 struct pcmcia_socket *s = p_dev->socket; 358 s->socket [all...] |
/linux-master/include/net/ |
H A D | udp_tunnel.h | 41 struct socket **sockp); 45 struct socket **sockp); 48 struct socket **sockp) 56 struct socket **sockp) 93 void setup_udp_tunnel_sock(struct net *net, struct socket *sock, 126 void udp_tunnel_push_rx_port(struct net_device *dev, struct socket *sock, 128 void udp_tunnel_drop_rx_port(struct net_device *dev, struct socket *sock, 130 void udp_tunnel_notify_add_rx_port(struct socket *sock, unsigned short type); 131 void udp_tunnel_notify_del_rx_port(struct socket *sock, unsigned short type); 163 void udp_tunnel_sock_release(struct socket *soc [all...] |
/linux-master/tools/testing/selftests/proc/ |
H A D | setns-dcache.c | 34 #include <sys/socket.h> 61 if (socket(AF_UNIX, SOCK_STREAM, 0) == -1) {
|
/linux-master/net/bluetooth/cmtp/ |
H A D | cmtp.h | 40 int sock; /* Connected socket */ 61 int cmtp_add_connection(struct cmtp_connadd_req *req, struct socket *sock); 73 struct socket *sock;
|
H A D | sock.c | 32 #include <linux/socket.h> 49 static int cmtp_sock_release(struct socket *sock) 66 static int do_cmtp_sock_ioctl(struct socket *sock, unsigned int cmd, void __user *argp) 72 struct socket *nsock; 139 static int cmtp_sock_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) 145 static int cmtp_sock_compat_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) 200 static int cmtp_sock_create(struct net *net, struct socket *sock, int protocol, 246 BT_ERR("Can't register CMTP socket"); 257 BT_INFO("CMTP socket layer initialized");
|
/linux-master/tools/testing/selftests/net/ |
H A D | socket.c | 7 #include <sys/socket.h> 49 fd = socket(s->domain, s->type, s->protocol); 62 fprintf(stderr, "socket(%d, %d, %d) expected " 75 fprintf(stderr, "socket(%d, %d, %d) expected "
|
H A D | sk_bind_sendto_listen.c | 21 fd1 = socket(AF_INET6, SOCK_STREAM, IPPROTO_IP); 23 error(1, errno, "socket fd1"); 43 fd2 = socket(AF_INET6, SOCK_STREAM, IPPROTO_IP); 45 error(1, errno, "socket fd2");
|
H A D | sk_connect_zero_addr.c | 21 fd1 = socket(AF_INET6, SOCK_STREAM, IPPROTO_IP); 23 error(1, errno, "socket fd1"); 42 fd2 = socket(AF_INET6, SOCK_STREAM, IPPROTO_IP); 44 error(1, errno, "socket fd2");
|
H A D | psock_lib.h | 12 #include <sys/socket.h> 81 fds[0] = socket(PF_INET, SOCK_DGRAM, 0); 82 fds[1] = socket(PF_INET, SOCK_DGRAM, 0); 84 fprintf(stderr, "ERROR: socket dgram\n");
|
/linux-master/drivers/isdn/mISDN/ |
H A D | l1oip.h | 27 /* socket */ 70 /* socket */ 71 struct socket *socket; /* if set, socket is created */ member in struct:l1oip 78 struct sockaddr_in sin_local; /* local socket name */ 79 struct sockaddr_in sin_remote; /* remote socket name */
|
/linux-master/net/handshake/ |
H A D | handshake.h | 70 int tls_alert_send(struct socket *sock, u8 level, u8 description); 87 int handshake_req_submit(struct socket *sock, struct handshake_req *req,
|
/linux-master/tools/testing/selftests/bpf/prog_tests/ |
H A D | sk_storage_omem_uncharge.c | 6 #include <sys/socket.h> 20 /* A standalone socket not binding to addr:port, 23 sk_fd = socket(AF_INET6, SOCK_STREAM, 0); 24 if (!ASSERT_GE(sk_fd, 0, "socket"))
|
/linux-master/tools/perf/trace/beauty/ |
H A D | socket.sh | 23 grep -E $socket_level_regex ${beauty_header_dir}/socket.h | \
|
/linux-master/net/ipv4/ |
H A D | udp_tunnel_core.c | 4 #include <linux/socket.h> 11 struct socket **sockp) 14 struct socket *sock = NULL; 60 void setup_udp_tunnel_sock(struct net *net, struct socket *sock, 85 void udp_tunnel_push_rx_port(struct net_device *dev, struct socket *sock, 99 void udp_tunnel_drop_rx_port(struct net_device *dev, struct socket *sock, 114 void udp_tunnel_notify_add_rx_port(struct socket *sock, unsigned short type) 134 void udp_tunnel_notify_del_rx_port(struct socket *sock, unsigned short type) 176 void udp_tunnel_sock_release(struct socket *sock)
|
/linux-master/fs/ocfs2/cluster/ |
H A D | tcp.h | 13 #include <linux/socket.h> 18 #include <sys/socket.h> 52 static inline int o2net_link_down(int err, struct socket *sock)
|
/linux-master/tools/testing/selftests/net/af_unix/ |
H A D | unix_connect.c | 10 #include <sys/socket.h> 124 self->server = socket(self->family, variant->type, 0); 141 self->client = socket(self->family, variant->type, 0);
|
/linux-master/samples/bpf/ |
H A D | test_probe_write_user_user.c | 7 #include <sys/socket.h> 59 assert((serverfd = socket(AF_INET, SOCK_STREAM, 0)) > 0); 60 assert((clientfd = socket(AF_INET, SOCK_STREAM, 0)) > 0); 101 /* Is the server's getsockname = the socket getpeername */
|
/linux-master/drivers/infiniband/hw/erdma/ |
H A D | erdma_cm.h | 100 struct socket *sock; 113 /* Saved upcalls of socket llp.sock */ 126 ERDMA_CM_WORK_CLOSE_LLP, /* close socket */ 127 ERDMA_CM_WORK_PEER_CLOSE, /* socket indicated peer close */ 142 static inline int getname_peer(struct socket *s, struct sockaddr_storage *a) 147 static inline int getname_local(struct socket *s, struct sockaddr_storage *a)
|