summaryrefslogtreecommitdiffstats
path: root/include/linux/inetdevice.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/inetdevice.h')
-rw-r--r--include/linux/inetdevice.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/linux/inetdevice.h b/include/linux/inetdevice.h
index a2e9d6ea1349..e7c04c4e4bcd 100644
--- a/include/linux/inetdevice.h
+++ b/include/linux/inetdevice.h
@@ -150,8 +150,15 @@ struct in_ifaddr {
150 unsigned long ifa_tstamp; /* updated timestamp */ 150 unsigned long ifa_tstamp; /* updated timestamp */
151}; 151};
152 152
153struct in_validator_info {
154 __be32 ivi_addr;
155 struct in_device *ivi_dev;
156};
157
153int register_inetaddr_notifier(struct notifier_block *nb); 158int register_inetaddr_notifier(struct notifier_block *nb);
154int unregister_inetaddr_notifier(struct notifier_block *nb); 159int unregister_inetaddr_notifier(struct notifier_block *nb);
160int register_inetaddr_validator_notifier(struct notifier_block *nb);
161int unregister_inetaddr_validator_notifier(struct notifier_block *nb);
155 162
156void inet_netconf_notify_devconf(struct net *net, int event, int type, 163void inet_netconf_notify_devconf(struct net *net, int event, int type,
157 int ifindex, struct ipv4_devconf *devconf); 164 int ifindex, struct ipv4_devconf *devconf);