Lines Matching refs:socket
18 #include <linux/socket.h>
61 static struct socket *udpsock;
117 static int econet_recvmsg(struct kiocb *iocb, struct socket *sock,
184 * Bind an Econet socket.
187 static int econet_bind(struct socket *sock, struct sockaddr *uaddr, int addr_len)
263 static int econet_sendmsg(struct kiocb *iocb, struct socket *sock,
414 return -ENETDOWN; /* No socket - can't send */
502 * Look up the address of a socket.
505 static int econet_getname(struct socket *sock, struct sockaddr *uaddr,
543 printk(KERN_DEBUG "econet socket destroy delayed\n");
547 * Close an econet socket.
550 static int econet_release(struct socket *sock)
563 * Now the socket is dead. No more input will appear.
600 * Create an Econet socket
603 static int econet_create(struct socket *sock, int protocol)
639 static int ec_dev_ioctl(struct socket *sock, unsigned int cmd, void __user *arg)
713 static int econet_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg)
766 * Find the listening socket, if any, for the given data.
788 * Queue a received packet for a socket.
1012 printk("AUN: socket error %d\n", -error);