diff options
author | Stephen Hemminger <shemminger@osdl.org> | 2005-05-29 14:13:47 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2005-05-29 14:13:47 -0700 |
commit | d8a33ac435c43a1a404b2ec560ef1d1536710c36 (patch) | |
tree | 04359c09e0731e9c33a8c2dd80cc69404e0dde60 /include | |
parent | 45b30105e7231b70bb855923dbca443ee3ba44c3 (diff) | |
download | op-kernel-dev-d8a33ac435c43a1a404b2ec560ef1d1536710c36.zip op-kernel-dev-d8a33ac435c43a1a404b2ec560ef1d1536710c36.tar.gz |
[BRIDGE]: features change notification
Resend of earlier patch (no changes) from Catalin used to provide
device feature change notification.
Signed-off-by: Catalin BOIE <catab at umbrella.ro>
Acked-by: Stephen Hemminger <shemminger@osdl.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/netdevice.h | 1 | ||||
-rw-r--r-- | include/linux/notifier.h | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h index b25bd02..d8c65ec 100644 --- a/include/linux/netdevice.h +++ b/include/linux/netdevice.h @@ -913,6 +913,7 @@ extern void dev_mc_discard(struct net_device *dev); extern void dev_set_promiscuity(struct net_device *dev, int inc); extern void dev_set_allmulti(struct net_device *dev, int inc); extern void netdev_state_change(struct net_device *dev); +extern void netdev_features_change(struct net_device *dev); /* Load a device via the kmod */ extern void dev_load(const char *name); extern void dev_mcast_init(void); diff --git a/include/linux/notifier.h b/include/linux/notifier.h index 9303a00..5937dd60 100644 --- a/include/linux/notifier.h +++ b/include/linux/notifier.h @@ -56,6 +56,7 @@ extern int notifier_call_chain(struct notifier_block **n, unsigned long val, voi #define NETDEV_CHANGEADDR 0x0008 #define NETDEV_GOING_DOWN 0x0009 #define NETDEV_CHANGENAME 0x000A +#define NETDEV_FEAT_CHANGE 0x000B #define SYS_DOWN 0x0001 /* Notify of system down */ #define SYS_RESTART SYS_DOWN |