Lines Matching defs:net

36  *		Tom Dyas	:	Export net symbols.
64 #include <linux/net.h>
96 #include <net/compat.h>
97 #include <net/wext.h>
98 #include <net/cls_cgroup.h>
100 #include <net/sock.h>
108 #include <net/busy_poll.h>
833 static int (*br_ioctl_hook) (struct net *, unsigned int cmd, void __user *arg);
835 void brioctl_set(int (*hook) (struct net *, unsigned int, void __user *))
844 static int (*vlan_ioctl_hook) (struct net *, void __user *arg);
846 void vlan_ioctl_set(int (*hook) (struct net *, void __user *))
865 static long sock_do_ioctl(struct net *net, struct socket *sock,
878 err = dev_ioctl(net, cmd, argp);
894 struct net *net;
898 net = sock_net(sk);
900 err = dev_ioctl(net, cmd, argp);
904 err = dev_ioctl(net, cmd, argp);
931 err = br_ioctl_hook(net, cmd, argp);
942 err = vlan_ioctl_hook(net, argp);
957 err = sock_do_ioctl(net, sock, cmd, arg);
1097 int __sock_create(struct net *net, int family, int type, int protocol,
1153 request_module("net-pf-%d", family);
1172 err = pf->create(net, sock, protocol, kern);
2559 static int do_siocgstamp(struct net *net, struct socket *sock,
2567 err = sock_do_ioctl(net, sock, cmd, (unsigned long)&ktv);
2575 static int do_siocgstampns(struct net *net, struct socket *sock,
2583 err = sock_do_ioctl(net, sock, cmd, (unsigned long)&kts);
2591 static int dev_ifname32(struct net *net, struct compat_ifreq __user *uifr32)
2600 err = dev_ioctl(net, SIOCGIFNAME, uifr);
2610 static int dev_ifconf(struct net *net, struct compat_ifconf __user *uifc32)
2646 err = dev_ioctl(net, SIOCGIFCONF, uifc);
2680 static int ethtool_ioctl(struct net *net, struct compat_ifreq __user *ifr32)
2762 ret = dev_ioctl(net, SIOCETHTOOL, ifr);
2801 static int compat_siocwandev(struct net *net, struct compat_ifreq __user *uifr32)
2819 return dev_ioctl(net, SIOCWANDEV, uifr);
2822 static int bond_ioctl(struct net *net, unsigned int cmd,
2839 err = dev_ioctl(net, cmd,
2850 static int compat_ifr_data_ioctl(struct net *net, unsigned int cmd,
2873 return dev_ioctl(net, cmd, u_ifreq64);
2876 static int dev_ifsioc(struct net *net, struct socket *sock,
2886 err = sock_do_ioctl(net, sock, cmd, (unsigned long)uifr);
2912 static int compat_sioc_ifmap(struct net *net, unsigned int cmd,
2933 err = dev_ioctl(net, cmd, (void __user __force *)&ifr);
2981 static int routing_ioctl(struct net *net, struct socket *sock,
3031 ret = sock_do_ioctl(net, sock, cmd, (unsigned long) r);
3058 struct net *net = sock_net(sk);
3061 return compat_ifr_data_ioctl(net, cmd, argp);
3068 return dev_ifname32(net, argp);
3070 return dev_ifconf(net, argp);
3072 return ethtool_ioctl(net, argp);
3074 return compat_siocwandev(net, argp);
3077 return compat_sioc_ifmap(net, cmd, argp);
3082 return bond_ioctl(net, cmd, argp);
3085 return routing_ioctl(net, sock, cmd, argp);
3087 return do_siocgstamp(net, sock, cmd, argp);
3089 return do_siocgstampns(net, sock, cmd, argp);
3094 return compat_ifr_data_ioctl(net, cmd, argp);
3141 return dev_ifsioc(net, sock, cmd, argp);
3147 return sock_do_ioctl(net, sock, cmd, arg);
3159 struct net *net;
3162 net = sock_net(sk);
3169 ret = compat_wext_handle_ioctl(net, cmd, arg);