Lines Matching defs:sock
31 #include <net/sock.h>
53 void pppox_unbind_sock(struct sock *sk)
67 int pppox_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg)
69 struct sock *sk = sock->sk;
93 pppox_protos[sk->sk_protocol]->ioctl(sock, cmd, arg) : -ENOTTY;
103 int pppox_compat_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg)
108 return pppox_ioctl(sock, cmd, (unsigned long)compat_ptr(arg));
114 static int pppox_create(struct net *net, struct socket *sock, int protocol,
129 rc = pppox_protos[protocol]->create(net, sock, kern);