diff options
| author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2013-03-17 22:40:50 -0400 |
|---|---|---|
| committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2013-03-17 22:40:50 -0400 |
| commit | 688d794c4c3f8b08c814381ee2edd3ede5856056 (patch) | |
| tree | ef680add71e2a9588d07d8b594edbc1b5cd127d7 /include/linux/inetdevice.h | |
| parent | 16142655269aaf580488e074eabfdcf0fb4e3687 (diff) | |
| parent | a937536b868b8369b98967929045f1df54234323 (diff) | |
Merge tag 'v3.9-rc3' into next
Merge with mainline to bring in module_platform_driver_probe() and
devm_ioremap_resource().
Diffstat (limited to 'include/linux/inetdevice.h')
| -rw-r--r-- | include/linux/inetdevice.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/include/linux/inetdevice.h b/include/linux/inetdevice.h index d032780d0ce5..ea1e3b863890 100644 --- a/include/linux/inetdevice.h +++ b/include/linux/inetdevice.h | |||
| @@ -166,11 +166,20 @@ struct in_ifaddr { | |||
| 166 | unsigned char ifa_flags; | 166 | unsigned char ifa_flags; |
| 167 | unsigned char ifa_prefixlen; | 167 | unsigned char ifa_prefixlen; |
| 168 | char ifa_label[IFNAMSIZ]; | 168 | char ifa_label[IFNAMSIZ]; |
| 169 | |||
| 170 | /* In seconds, relative to tstamp. Expiry is at tstamp + HZ * lft. */ | ||
| 171 | __u32 ifa_valid_lft; | ||
| 172 | __u32 ifa_preferred_lft; | ||
| 173 | unsigned long ifa_cstamp; /* created timestamp */ | ||
| 174 | unsigned long ifa_tstamp; /* updated timestamp */ | ||
| 169 | }; | 175 | }; |
| 170 | 176 | ||
| 171 | extern int register_inetaddr_notifier(struct notifier_block *nb); | 177 | extern int register_inetaddr_notifier(struct notifier_block *nb); |
| 172 | extern int unregister_inetaddr_notifier(struct notifier_block *nb); | 178 | extern int unregister_inetaddr_notifier(struct notifier_block *nb); |
| 173 | 179 | ||
| 180 | extern void inet_netconf_notify_devconf(struct net *net, int type, int ifindex, | ||
| 181 | struct ipv4_devconf *devconf); | ||
| 182 | |||
| 174 | extern struct net_device *__ip_dev_find(struct net *net, __be32 addr, bool devref); | 183 | extern struct net_device *__ip_dev_find(struct net *net, __be32 addr, bool devref); |
| 175 | static inline struct net_device *ip_dev_find(struct net *net, __be32 addr) | 184 | static inline struct net_device *ip_dev_find(struct net *net, __be32 addr) |
| 176 | { | 185 | { |
