platform_system_core/libsysutils
Chenbo Feng 5e5e5e9a73 Include iface index in the netlink event
The TrafficController inside netd also get notified when the interface
on device added or removed, and it need both ifaceName and ifaceIndex
information from Netlink event. Add the ifaceIndex in the event can
avoid the TrafficController to run if_nametoindex again when receive
the event.

Bug: 30950746
Bug: 73137611
Test: new interface show up in bpf interface map.
Change-Id: Ia3b4aeb8eff345ce7cf03ccec88f0893cfe125c0
2018-03-07 11:39:52 +09:00
..
include/sysutils Stop depending on libnl. 2017-10-05 14:56:44 +09:00
src Include iface index in the netlink event 2018-03-07 11:39:52 +09:00
Android.bp Stop depending on libnl. 2017-10-05 14:56:44 +09:00
EventLogTags.logtags Add prefx to netlink failure and dispatchCommand overflow logs. 2014-04-29 13:16:26 -07:00