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>
831 static int (*br_ioctl_hook) (struct net *, unsigned int cmd, void __user *arg);
833 void brioctl_set(int (*hook) (struct net *, unsigned int, void __user *))
842 static int (*vlan_ioctl_hook) (struct net *, void __user *arg);
844 void vlan_ioctl_set(int (*hook) (struct net *, void __user *))
863 static long sock_do_ioctl(struct net *net, struct socket *sock,
876 err = dev_ioctl(net, cmd, argp);
892 struct net *net;
896 net = sock_net(sk);
898 err = dev_ioctl(net, cmd, argp);
902 err = dev_ioctl(net, cmd, argp);
929 err = br_ioctl_hook(net, cmd, argp);
940 err = vlan_ioctl_hook(net, argp);
955 err = sock_do_ioctl(net, sock, cmd, arg);
1088 int __sock_create(struct net *net, int family, int type, int protocol,
1144 request_module("net-pf-%d", family);
1163 err = pf->create(net, sock, protocol, kern);
1207 int sock_create_kern(struct net *net, int family, int type, int protocol, struct socket **res)
1209 return __sock_create(net, family, type, protocol, res, 1);
2550 static int do_siocgstamp(struct net *net, struct socket *sock,
2558 err = sock_do_ioctl(net, sock, cmd, (unsigned long)&ktv);
2566 static int do_siocgstampns(struct net *net, struct socket *sock,
2574 err = sock_do_ioctl(net, sock, cmd, (unsigned long)&kts);
2582 static int dev_ifname32(struct net *net, struct compat_ifreq __user *uifr32)
2591 err = dev_ioctl(net, SIOCGIFNAME, uifr);
2601 static int dev_ifconf(struct net *net, struct compat_ifconf __user *uifc32)
2637 err = dev_ioctl(net, SIOCGIFCONF, uifc);
2671 static int ethtool_ioctl(struct net *net, struct compat_ifreq __user *ifr32)
2753 ret = dev_ioctl(net, SIOCETHTOOL, ifr);
2792 static int compat_siocwandev(struct net *net, struct compat_ifreq __user *uifr32)
2810 return dev_ioctl(net, SIOCWANDEV, uifr);
2813 static int bond_ioctl(struct net *net, unsigned int cmd,
2830 err = dev_ioctl(net, cmd,
2841 static int compat_ifr_data_ioctl(struct net *net, unsigned int cmd,
2864 return dev_ioctl(net, cmd, u_ifreq64);
2867 static int dev_ifsioc(struct net *net, struct socket *sock,
2877 err = sock_do_ioctl(net, sock, cmd, (unsigned long)uifr);
2903 static int compat_sioc_ifmap(struct net *net, unsigned int cmd,
2924 err = dev_ioctl(net, cmd, (void __user __force *)&ifr);
2972 static int routing_ioctl(struct net *net, struct socket *sock,
3022 ret = sock_do_ioctl(net, sock, cmd, (unsigned long) r);
3049 struct net *net = sock_net(sk);
3052 return compat_ifr_data_ioctl(net, cmd, argp);
3059 return dev_ifname32(net, argp);
3061 return dev_ifconf(net, argp);
3063 return ethtool_ioctl(net, argp);
3065 return compat_siocwandev(net, argp);
3068 return compat_sioc_ifmap(net, cmd, argp);
3073 return bond_ioctl(net, cmd, argp);
3076 return routing_ioctl(net, sock, cmd, argp);
3078 return do_siocgstamp(net, sock, cmd, argp);
3080 return do_siocgstampns(net, sock, cmd, argp);
3085 return compat_ifr_data_ioctl(net, cmd, argp);
3132 return dev_ifsioc(net, sock, cmd, argp);
3138 return sock_do_ioctl(net, sock, cmd, arg);
3150 struct net *net;
3153 net = sock_net(sk);
3160 ret = compat_wext_handle_ioctl(net, cmd, arg);