/linux-master/include/net/ |
H A D | af_ieee802154.h | 15 #include <linux/socket.h> /* for sa_family_t */
|
H A D | scm.h | 45 int __scm_send(struct socket *sock, struct msghdr *msg, struct scm_cookie *scm); 50 static __inline__ void unix_get_peersec_dgram(struct socket *sock, struct scm_cookie *scm) 55 static __inline__ void unix_get_peersec_dgram(struct socket *sock, struct scm_cookie *scm) 81 static __inline__ int scm_send(struct socket *sock, struct msghdr *msg, 96 static inline void scm_passec(struct socket *sock, struct msghdr *msg, struct scm_cookie *scm) 112 static inline bool scm_has_secdata(struct socket *sock) 117 static inline void scm_passec(struct socket *sock, struct msghdr *msg, struct scm_cookie *scm) 120 static inline bool scm_has_secdata(struct socket *sock) 162 static inline bool __scm_recv_common(struct socket *sock, struct msghdr *msg, 192 static inline void scm_recv(struct socket *soc [all...] |
/linux-master/tools/testing/selftests/bpf/progs/ |
H A D | freplace_connect4.c | 5 #include <sys/socket.h>
|
H A D | connect4_dropper.c | 8 #include <sys/socket.h>
|
H A D | bind_perm.c | 6 #include <sys/socket.h>
|
H A D | recvmsg4_prog.c | 6 #include <sys/socket.h>
|
/linux-master/include/linux/ |
H A D | if_pppox.h | 25 struct net_device *dev; /* device associated with socket*/ 26 int ifindex; /* ifindex of device associated with socket */ 27 struct pppoe_addr pa; /* what this socket is bound to*/ 28 struct sockaddr_pppox relay; /* what socket data will be 71 int (*create)(struct net *net, struct socket *sock, int kern); 72 int (*ioctl)(struct socket *sock, unsigned int cmd, 80 extern int pppox_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg); 81 extern int pppox_compat_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg); 85 /* PPPoX socket states */
|
/linux-master/tools/testing/selftests/net/ |
H A D | bind_timewait.c | 4 #include <sys/socket.h> 49 server_fd = socket(AF_INET, SOCK_STREAM, 0); 61 client_fd = socket(AF_INET, SOCK_STREAM, 0); 82 fd = socket(AF_INET, SOCK_STREAM, 0);
|
H A D | so_netns_cookie.c | 11 #include <sys/socket.h> 30 sock1 = socket(AF_INET, SOCK_STREAM, 0); 32 return pr_err("Unable to create TCP socket"); 44 sock2 = socket(AF_INET, SOCK_STREAM, 0); 46 return pr_err("Unable to create TCP socket");
|
/linux-master/tools/perf/util/ |
H A D | addr_location.h | 23 s32 socket; member in struct:addr_location
|
/linux-master/drivers/pcmcia/ |
H A D | ds.c | 242 pcmcia_put_socket(p_dev->socket); 265 s = p_dev->socket; 276 ret = pccard_read_tuple(p_dev->socket, p_dev->func, CISTPL_CONFIG, 304 (p_dev->socket->device_count == 1) && (p_dev->device_no == 0)) 319 * Removes a PCMCIA card from the device tree and socket list. 337 /* unregister all pcmcia_devices registered with this socket, except leftover */ 368 if ((p_dev->socket->pcmcia_pfc) && 369 (p_dev->socket->device_count > 0) && 371 pcmcia_card_remove(p_dev->socket, p_dev); 409 if (!pccard_read_tuple(p_dev->socket, BIND_FN_AL 1344 struct pcmcia_socket *socket = dev_get_drvdata(dev); local 1377 struct pcmcia_socket *socket = dev_get_drvdata(dev); local [all...] |
H A D | electra_cf.c | 30 struct pcmcia_socket socket; member in struct:electra_cf_socket 68 /* the timer is primarily to kick this socket's pccardd */ 76 pcmcia_parse_events(&cf->socket, SS_DETECT); 98 cf = container_of(s, struct electra_cf_socket, socket); 117 cf = container_of(sock, struct electra_cf_socket, socket); 159 cf = container_of(s, struct electra_cf_socket, socket); 230 cf->socket.pci_irq = cf->irq; 254 cf->socket.io_offset = cf->io_base; 269 cf->socket.owner = THIS_MODULE; 270 cf->socket [all...] |
H A D | bcm63xx_pcmcia.h | 10 /* socket polling rate in ms */ 23 struct pcmcia_socket socket; member in struct:bcm63xx_pcmcia_socket 43 /* keep last socket status to implement event reporting */ 46 /* backup of requested socket state */ 49 /* timer used for socket status polling */
|
/linux-master/arch/um/drivers/ |
H A D | port_kern.c | 40 int socket[2]; member in struct:connection 50 fd = os_rcv_fd(conn->socket[0], &conn->helper_pid); 79 int fd, socket[2], pid; local 81 fd = port_connection(port->fd, socket, &pid); 98 .socket = { socket[0], socket[1] }, 102 if (um_request_irq(TELNETD_IRQ, socket[0], IRQ_READ, pipe_interrupt, 243 os_shutdown_socket(conn->socket[0], 1, 1); 244 os_close_file(conn->socket[ [all...] |
H A D | xterm_kern.c | 36 int xterm_fd(int socket, int *pid_out) argument 48 *data = ((struct xterm_wait) { .fd = socket, 53 err = um_request_irq(XTERM_IRQ, socket, IRQ_READ, xterm_interrupt,
|
/linux-master/drivers/infiniband/hw/usnic/ |
H A D | usnic_transport.c | 64 struct socket *sock) 144 struct socket *usnic_transport_get_socket(int sock_fd) 146 struct socket *sock; 153 usnic_err("Unable to lookup socket for fd %d with err %d\n", 164 void usnic_transport_put_socket(struct socket *sock) 173 int usnic_transport_sock_get_addr(struct socket *sock, int *proto,
|
/linux-master/drivers/perf/arm_cspmu/ |
H A D | nvidia_cspmu.c | 56 NV_CSPMU_EVENT_ATTR_4(socket, rd_data, 0x101), 57 NV_CSPMU_EVENT_ATTR_4(socket, dl_rsp, 0x105), 58 NV_CSPMU_EVENT_ATTR_4(socket, wb_data, 0x109), 59 NV_CSPMU_EVENT_ATTR_4(socket, ev_rsp, 0x10d), 60 NV_CSPMU_EVENT_ATTR_4(socket, prb_data, 0x111), 62 NV_CSPMU_EVENT_ATTR_4(socket, rd_outstanding, 0x115), 63 NV_CSPMU_EVENT_ATTR_4(socket, dl_outstanding, 0x119), 64 NV_CSPMU_EVENT_ATTR_4(socket, wb_outstanding, 0x11d), 65 NV_CSPMU_EVENT_ATTR_4(socket, wr_outstanding, 0x121), 66 NV_CSPMU_EVENT_ATTR_4(socket, ev_outstandin 337 const int socket = cpu_to_node(cpu); local [all...] |
/linux-master/net/atm/ |
H A D | pvc.c | 7 #include <linux/net.h> /* struct socket, struct proto_ops */ 22 static int pvc_shutdown(struct socket *sock, int how) 27 static int pvc_bind(struct socket *sock, struct sockaddr *sockaddr, 59 static int pvc_connect(struct socket *sock, struct sockaddr *sockaddr, 65 static int pvc_setsockopt(struct socket *sock, int level, int optname, 77 static int pvc_getsockopt(struct socket *sock, int level, int optname, 89 static int pvc_getname(struct socket *sock, struct sockaddr *sockaddr, 132 static int pvc_create(struct net *net, struct socket *sock, int protocol,
|
/linux-master/drivers/usb/usbip/ |
H A D | vudc_sysfs.c | 101 struct socket *socket; local 138 socket = sockfd_lookup(sockfd, &err); 139 if (!socket) { 145 if (socket->type != SOCK_STREAM) { 147 socket->type); 158 sockfd_put(socket); 165 sockfd_put(socket); 178 udc->ud.tcp_socket = socket; 220 sockfd_put(socket); [all...] |
/linux-master/net/rxrpc/ |
H A D | local_object.c | 28 * socket's error_report(). 40 * Set or clear the Don't Fragment flag on a socket. 45 ip_sock_set_mtu_discover(local->socket->sk, IP_PMTUDISC_DO); 47 ip_sock_set_mtu_discover(local->socket->sk, IP_PMTUDISC_DONT); 159 * create the local socket 187 ret = udp_sock_create(net, &udp_conf, &local->socket); 189 _leave(" = %d [socket]", ret); 197 setup_udp_tunnel_sock(net, local->socket, &tuncfg); 199 /* set the socket up */ 200 usk = local->socket 425 struct socket *socket = local->socket; local [all...] |
/linux-master/fs/afs/ |
H A D | rxrpc.c | 2 /* Maintain an RxRPC server socket to do AFS communications through 35 * open an RxRPC socket and bind it to be a server for callback notifications 36 * - the socket is left in blocking mode and non-blocking ops use MSG_DONTWAIT 41 struct socket *socket; local 46 ret = sock_create_kern(net->net, AF_RXRPC, SOCK_DGRAM, PF_INET6, &socket); 50 socket->sk->sk_allocation = GFP_NOFS; 52 /* bind the callback manager's address to make this a server socket */ 61 ret = rxrpc_sock_set_min_security_level(socket->sk, 66 ret = kernel_bind(socket, (struc [all...] |
/linux-master/tools/testing/selftests/netfilter/ |
H A D | connect_close.c | 11 #include <sys/socket.h> 42 int s = socket(AF_INET, SOCK_STREAM, IPPROTO_TCP); 53 int c, one = 1, s = socket(AF_INET, SOCK_STREAM, IPPROTO_TCP);
|
/linux-master/include/uapi/linux/ |
H A D | atalk.h | 7 #include <linux/socket.h>
|
H A D | qrtr.h | 5 #include <linux/socket.h>
|
/linux-master/net/bluetooth/hidp/ |
H A D | sock.c | 33 static int hidp_sock_release(struct socket *sock) 50 static int do_hidp_sock_ioctl(struct socket *sock, unsigned int cmd, void __user *argp) 56 struct socket *csock; 57 struct socket *isock; 126 static int hidp_sock_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) 133 int ctrl_sock; /* Connected control socket */ 134 int intr_sock; /* Connected interrupt socket */ 148 static int hidp_sock_compat_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg) 175 struct socket *csock; 176 struct socket *isoc [all...] |