|
@@ -1718,7 +1718,7 @@ struct pcpu_sw_netstats {
|
|
|
#define NETDEV_CHANGE 0x0004 /* Notify device state change */
|
|
|
#define NETDEV_REGISTER 0x0005
|
|
|
#define NETDEV_UNREGISTER 0x0006
|
|
|
-#define NETDEV_CHANGEMTU 0x0007
|
|
|
+#define NETDEV_CHANGEMTU 0x0007 /* notify after mtu change happened */
|
|
|
#define NETDEV_CHANGEADDR 0x0008
|
|
|
#define NETDEV_GOING_DOWN 0x0009
|
|
|
#define NETDEV_CHANGENAME 0x000A
|
|
@@ -1734,6 +1734,7 @@ struct pcpu_sw_netstats {
|
|
|
#define NETDEV_JOIN 0x0014
|
|
|
#define NETDEV_CHANGEUPPER 0x0015
|
|
|
#define NETDEV_RESEND_IGMP 0x0016
|
|
|
+#define NETDEV_PRECHANGEMTU 0x0017 /* notify before mtu change happened */
|
|
|
|
|
|
int register_netdevice_notifier(struct notifier_block *nb);
|
|
|
int unregister_netdevice_notifier(struct notifier_block *nb);
|