rtnetlink.c (58f2c391cc0560231d7636c39d31b1b26c9396b7) | rtnetlink.c (8a212589fe0e45f26c549dfa271a157ca8eea1ac) |
---|---|
1/* 2 * INET An implementation of the TCP/IP protocol suite for the LINUX 3 * operating system. INET is implemented using the BSD Socket 4 * interface as the means of communication with the user level. 5 * 6 * Routing netlink socket interface: protocol independent part. 7 * 8 * Authors: Alexey Kuznetsov, <kuznet@ms2.inr.ac.ru> --- 4265 unchanged lines hidden (view full) --- 4274} 4275 4276static int rtnetlink_event(struct notifier_block *this, unsigned long event, void *ptr) 4277{ 4278 struct net_device *dev = netdev_notifier_info_to_dev(ptr); 4279 4280 switch (event) { 4281 case NETDEV_REBOOT: | 1/* 2 * INET An implementation of the TCP/IP protocol suite for the LINUX 3 * operating system. INET is implemented using the BSD Socket 4 * interface as the means of communication with the user level. 5 * 6 * Routing netlink socket interface: protocol independent part. 7 * 8 * Authors: Alexey Kuznetsov, <kuznet@ms2.inr.ac.ru> --- 4265 unchanged lines hidden (view full) --- 4274} 4275 4276static int rtnetlink_event(struct notifier_block *this, unsigned long event, void *ptr) 4277{ 4278 struct net_device *dev = netdev_notifier_info_to_dev(ptr); 4279 4280 switch (event) { 4281 case NETDEV_REBOOT: |
4282 case NETDEV_CHANGEMTU: |
|
4282 case NETDEV_CHANGEADDR: 4283 case NETDEV_CHANGENAME: 4284 case NETDEV_FEAT_CHANGE: 4285 case NETDEV_BONDING_FAILOVER: 4286 case NETDEV_NOTIFY_PEERS: 4287 case NETDEV_RESEND_IGMP: 4288 case NETDEV_CHANGEINFODATA: 4289 rtmsg_ifinfo_event(RTM_NEWLINK, dev, 0, rtnl_get_event(event), --- 75 unchanged lines hidden --- | 4283 case NETDEV_CHANGEADDR: 4284 case NETDEV_CHANGENAME: 4285 case NETDEV_FEAT_CHANGE: 4286 case NETDEV_BONDING_FAILOVER: 4287 case NETDEV_NOTIFY_PEERS: 4288 case NETDEV_RESEND_IGMP: 4289 case NETDEV_CHANGEINFODATA: 4290 rtmsg_ifinfo_event(RTM_NEWLINK, dev, 0, rtnl_get_event(event), --- 75 unchanged lines hidden --- |