History log of /system/netd/NetlinkManager.cpp
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
a95f8a3426e6a4f17cf41888673f58302781b7be 12-Sep-2013 Lorenzo Colitti <lorenzo@google.com> Don't log "Unexpected netlink message" on NDUSEROPT

When opening the netlink socket, NetlinkManager specifies it's
interested in ND_USEROPT messages, but we since we don't have
code to parse them yet, we end up logging an error message for
packets that contain them. Get rid of the logspam by not asking
the kernel to receive them.

Bug: 10718651
Change-Id: Ib1b7748448a983cfa7bb7725e48e238d85152ea2
/system/netd/NetlinkManager.cpp
9b3cd7635caf5948d7d4b11f8f588c9d2811d58e 01-Aug-2013 Lorenzo Colitti <lorenzo@google.com> Make netd track and notify IP address changes.

Subscribe netd's netlink socket to listen to IPv4 and IPv6
address changes (and ND opts, which we'll need for IPv6 DNS
later), and make NetlinkHandler notify the system of address
changes.

Bug: 10232006
Change-Id: Ib9dfd58635dce389980d8ee9529a17661a02320a
/system/netd/NetlinkManager.cpp
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
/system/netd/NetlinkManager.cpp
6337b88ce4438d224819e9b381ddaf2873bbfdda 11-Apr-2012 Ashish Sharma <ashishsharma@google.com> netd: Add support for interface idletimer netlink notifications.

Change-Id: Ifda5b8ecf68533eea42b133dbe0a581b4401ab11
/system/netd/NetlinkManager.cpp
5ea0c05a1e7d8e664b808aa1bb1efd08fdb2fb13 06-Jan-2012 Steve Block <steveblock@google.com> Rename (IF_)LOGE(_IF) to (IF_)ALOGE(_IF) DO NOT MERGE

See https://android-git.corp.google.com/g/#/c/157220

Bug: 5449033
Change-Id: I8ab66debe4d0c3857a4b80f6f7b6925a352cda87
/system/netd/NetlinkManager.cpp
8a41209c0188560a3b29c88fab7bd8a480c03892 27-Jul-2011 JP Abgrall <jpa@google.com> netd: NetlinkManager: don't fail if NETLINK_NFLOG socket is not there.

Some kernels used with ICS do not have the needed modules (quota2
with NFLOG support).
For those, we just don't allow NFLOG which will cripple quota alerts.
This is a temp workaround until kernels are prebuilts.


Change-Id: I403ba894aefb67996d791bd06055b8fec97d1407
Signed-off-by: JP Abgrall <jpa@google.com>
/system/netd/NetlinkManager.cpp
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
NETLINK_NFLOG family.
- BandwidthController changes that setup the alerts.
- system core NetlinkEvent that recognizes the NFLOG messages.
- java land NetworkManagementService changes.

Change-Id: Id5b1026c6002803b5a1c0c7623cf7b1961de9802
/system/netd/NetlinkManager.cpp
564df4efc87f3d04c3570836d38134fd949c4caf 24-Jun-2011 Mike J. Chen <mjchen@google.com> Revert "Revert "Add NETLINK_ROUTE socket creation and event propagation""

This reverts commit 19fb0c4e5ec6a10473666a2d45267fbc8305ba85.

Conflicts:

NetlinkManager.cpp

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>
/system/netd/NetlinkManager.cpp
79b579c92afc08ab12c0a5788d61f2dd2934836f 19-Apr-2011 Nick Kralevich <nnk@google.com> netd: Enable the SO_PASSCRED socket option

Ensure that sender credentials are available when we
receive a netlink message.

Change-Id: I8a352573c7e49d99b4f2fdb2e4ce9abe58d4fc49
/system/netd/NetlinkManager.cpp
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.
/system/netd/NetlinkManager.cpp
d18304287dbabc7835be771400b85d4ae8b63de6 15-Jan-2010 San Mehat <san@google.com> netd: Initial skelaton for netd

Signed-off-by: San Mehat <san@google.com>
/system/netd/NetlinkManager.cpp