diff options
author | Denis V. Lunev <den@openvz.org> | 2008-01-21 20:32:38 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 18:10:20 -0500 |
commit | 7fee0ca23711ce1a6b13d3ab78915809a72a59ec (patch) | |
tree | e2df8e3997d996749b5169df59a56f3df67158c5 /include | |
parent | da0e28cb68a7e22b47c6ae1a5b12cb538c13c69f (diff) |
[NETNS]: Add netns parameter to inetdev_by_index.
Signed-off-by: Denis V. Lunev <den@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/inetdevice.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/inetdevice.h b/include/linux/inetdevice.h index 45f373107530..e74a2ee8ee2a 100644 --- a/include/linux/inetdevice.h +++ b/include/linux/inetdevice.h | |||
@@ -133,7 +133,7 @@ extern struct net_device *ip_dev_find(__be32 addr); | |||
133 | extern int inet_addr_onlink(struct in_device *in_dev, __be32 a, __be32 b); | 133 | extern int inet_addr_onlink(struct in_device *in_dev, __be32 a, __be32 b); |
134 | extern int devinet_ioctl(unsigned int cmd, void __user *); | 134 | extern int devinet_ioctl(unsigned int cmd, void __user *); |
135 | extern void devinet_init(void); | 135 | extern void devinet_init(void); |
136 | extern struct in_device *inetdev_by_index(int); | 136 | extern struct in_device *inetdev_by_index(struct net *, int); |
137 | extern __be32 inet_select_addr(const struct net_device *dev, __be32 dst, int scope); | 137 | extern __be32 inet_select_addr(const struct net_device *dev, __be32 dst, int scope); |
138 | extern __be32 inet_confirm_addr(struct in_device *in_dev, __be32 dst, __be32 local, int scope); | 138 | extern __be32 inet_confirm_addr(struct in_device *in_dev, __be32 dst, __be32 local, int scope); |
139 | extern struct in_ifaddr *inet_ifa_byprefix(struct in_device *in_dev, __be32 prefix, __be32 mask); | 139 | extern struct in_ifaddr *inet_ifa_byprefix(struct in_device *in_dev, __be32 prefix, __be32 mask); |