History log of /system/netd/NetlinkHandler.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
db28cbecc5cddae4dff740a299d311f18ddea523 17-Jul-2012 Haoyu Bai <bhy@google.com> Changed format of interface class acitivity message.

For the sake of consistency, format of interface class activity message
is changed to "NNN IfaceClass <active/idle> <label>" and using single
response code for interface class activity.

Change-Id: I34dc5c37cc611d05172060b2a1e4ceac0a0f0588
98f65d32b1530b4da6050e38d52f955710577efb 29-Jun-2012 Haoyu Bai <bhy@google.com> Add a class lable parameter to idletimer.

Now the idletimer should be setup by this command:
ndc idletimer add <interface> <timeout> <class label>

Class label can be a number or string to identify device type, such as
mobile or wifi. Idletimer will send label in the netd message instead
of the actual interface name.

Change-Id: Ic8b69dc5e38a4436c74723697905643a1214aa2a
40baed83f89e8d8f834cdfa94d0615076463c04b 08-May-2012 JP Abgrall <jpa@google.com> netd: NetlinkHandler: explicitly ignore "platform" and "backlight" events

The new vsync api uses uevents to notify userspace... 60 events/sec. :(
Don't log unexpected event's subsystem if it is one of the known ones.

Change-Id: Ie900898b326c9451b76ac5f6ba047870fd62093a
e07effe6f8e9340dbee9428b29672adfb647c413 27-Apr-2012 JP Abgrall <jpa@google.com> netd: Netlink: Use KOBJECT_UEVENT instead of IDLETIMER

The initial idletimer support required using NETLINK_IDLETIMER
netlink socket type.
Instead we now just re-use the existing KOBJECT_UEVENT socket.

Change-Id: I951f2f29182c7cf7f29a054a0eabc88dc25f6d1f
6337b88ce4438d224819e9b381ddaf2873bbfdda 11-Apr-2012 Ashish Sharma <ashishsharma@google.com> netd: Add support for interface idletimer netlink notifications.

Change-Id: Ifda5b8ecf68533eea42b133dbe0a581b4401ab11
0e76b761a1514d5182675dd7b7d33725f62d6bc5 06-Jan-2012 Steve Block <steveblock@google.com> Rename (IF_)LOGW(_IF) to (IF_)ALOGW(_IF) DO NOT MERGE

See https://android-git.corp.google.com/g/157065

Bug: 5449033
Change-Id: Ic9a12b3bc322d1fa60de50725b5ca18341d64b91
e0ebc46c0aa38ce4f35bd3b60c0fcb9204d4c35e 22-Jul-2011 JP Abgrall <jpa@google.com> netd: NetlinkManager: add support receiving quota2 log messages

NetlinkManager, NetlinkHandler
. added support for netlink's NETLINK_NFLOG family used by the updated xt_quota2.
. it pushes the event all the wait to NetworkManagementService.java
"linit alert <alert_name> <iface_name>"

This needs:
- new kernel with quota2 changes that support logging via NETLINK's
- BandwidthController changes that setup the alerts.
- system core NetlinkEvent that recognizes the NFLOG messages.
- java land NetworkManagementService changes.

Change-Id: Id5b1026c6002803b5a1c0c7623cf7b1961de9802
a583f8be6126d3116311e96c6fd8bafcbaf2b431 24-Jun-2011 Mike J. Chen <mjchen@google.com> Change string notification for link state change.

Changed from linkstatus to linkstate to be more like the
notification function name.

Change-Id: Ie9674ca04bf9a9bdff2583786c301452d02b19fc
Signed-off-by: Mike J. Chen <mjchen@google.com>
564df4efc87f3d04c3570836d38134fd949c4caf 24-Jun-2011 Mike J. Chen <mjchen@google.com> Revert "Revert "Add NETLINK_ROUTE socket creation and event propagation""

This reverts commit 19fb0c4e5ec6a10473666a2d45267fbc8305ba85.



Brings back Stan Chesnutt's change related to adding NETLINK_ROUTE
socket creation and event propagation.

Change-Id: I8c0625a95b7996ef75b883ce764c3244dd553a47
Signed-off-by: Mike J. Chen <mjchen@google.com>
19fb0c4e5ec6a10473666a2d45267fbc8305ba85 09-Jan-2011 Wink Saville <wink@google.com> Revert "Add NETLINK_ROUTE socket creation and event propagation"

This reverts commit f6a7ad814dca2f67907eaed2cc0609c684850969.
f6a7ad814dca2f67907eaed2cc0609c684850969 05-Jan-2011 Stan Chesnutt <chesnutt@google.com> Add NETLINK_ROUTE socket creation and event propagation

Change-Id: I8cc8788661640600bceadeba8169e239bba98dec
ff2c0d8c13457e43f0d4bf06d3177271aac104c1 17-Nov-2010 Olivier Bailly <olivier@google.com> Add missing include headers for compilation on x86 targets.

Change-Id: I99f7b79bfb5b6305a0772f418a54ace50cac1bbe
67c5753274ee828b56f96b5e9cdae64c8562ad52 18-Feb-2010 Robert Greenwalt <robdroid@android.com> Hook netlink interface notification up to fwk.

The java api was there to get callbacks but the middle piece was missing.
Also has one const defined for USB control that is part of a seperate change, but no harm.
3c2e611a921029a81dd7ff9c6d505b0b5e740014 03-Feb-2010 San Mehat <san@google.com> netd: Don't print error on unknown Netlink event

Signed-off-by: San Mehat <san@google.com>
d18304287dbabc7835be771400b85d4ae8b63de6 15-Jan-2010 San Mehat <san@google.com> netd: Initial skelaton for netd

Signed-off-by: San Mehat <san@google.com>