Searched refs:netlink (Results 1 - 25 of 33) sorted by last modified time

12

/system/vold/
H A DNetlinkManager.cpp27 #include <linux/netlink.h>
/system/netd/server/
H A DBandwidthController.cpp43 #include <linux/netlink.h>
H A DNetlinkManager.cpp26 #include <linux/netlink.h>
33 #include <netlink/attr.h>
34 #include <netlink/genl/genl.h>
35 #include <netlink/handlers.h>
36 #include <netlink/msg.h>
80 ALOGE("Unable to create netlink socket: %s", strerror(errno));
97 ALOGE("Unable to bind netlink socket: %s", strerror(errno));
H A DSockDiag.cpp25 #include <linux/netlink.h>
139 // TODO: refactor the netlink parsing code out of system/core, bring it into netd, and stop
H A DSockDiag.h20 #include <linux/netlink.h>
/system/extras/taskstats/
H A Dtaskstats.c26 #include <netlink/attr.h>
27 #include <netlink/genl/genl.h>
28 #include <netlink/genl/ctrl.h>
29 #include <netlink/handlers.h>
30 #include <netlink/msg.h>
303 fprintf(stderr, "Unable to allocate netlink socket\n");
309 nl_perror(ret, "Unable to open netlink socket (are you root?)");
/system/extras/tests/net_test/
H A Diproute.py28 import netlink namespace
31 ### Base netlink constants. See include/uapi/linux/netlink.h.
208 class IPRoute(netlink.NetlinkSocket):
223 """Decodes netlink attributes to Python types.
239 nla_type: An integer, then netlink attribute type.
240 nla_data: A byte string, the netlink attribute data.
307 """Sends a netlink request and expects an ack."""
331 IOError: If the netlink request returns an error.
344 # Create a netlink reques
[all...]
H A Dsock_diag.py27 import netlink namespace
29 ### Base netlink constants. See include/uapi/linux/netlink.h.
101 class SockDiag(netlink.NetlinkSocket):
107 """Decodes netlink attributes to Python types."""
313 self._SendNlRequest(SOCK_DIAG_BY_FAMILY, req.Pack(), netlink.NLM_F_REQUEST)
323 netlink.NLM_F_REQUEST | netlink.NLM_F_ACK)
/system/extras/iotop/
H A Dtaskstats.cpp16 #include <netlink/socket.h>
17 #include <netlink/genl/ctrl.h>
18 #include <netlink/genl/genl.h>
35 LOG(FATAL) << "Failed to allocate netlink socket";
40 LOG(FATAL) << nl_geterror(ret) << std::endl << "Unable to open netlink socket (are you root?)";
/system/core/healthd/
H A Dhealthd_mode_charger.cpp34 #include <linux/netlink.h>
/system/core/init/
H A Ddevices.cpp32 #include <linux/netlink.h>
928 ** We drain any pending events from the netlink socket every time
/system/core/libcutils/
H A Duevent.c27 #include <linux/netlink.h>
43 * If this method rejects a netlink message from outside the kernel, it
75 /* ignoring netlink message with no sender credentials */
82 /* ignoring netlink message from non-root user */
/system/core/libnetutils/
H A Difc_utils.c35 #include <linux/netlink.h>
309 // Fill in netlink structures.
/system/core/libsysutils/src/
H A DNetlinkEvent.cpp42 #include <linux/netlink.h>
45 #include <netlink/attr.h>
46 #include <netlink/genl/genl.h>
47 #include <netlink/handlers.h>
48 #include <netlink/msg.h>
233 // Fill in netlink event information.
385 // Fill in netlink event information.
435 // The kernel sends a separate netlink message for each ND option in the RA.
506 * Parse a binary message from a NETLINK_ROUTE netlink socket.
524 SLOGD("Unexpected netlink messag
[all...]
H A DNetlinkListener.cpp20 #include <linux/netlink.h>
/system/core/logd/
H A Dlibaudit.h28 #include <linux/netlink.h>
53 * Opens a connection to the Audit netlink socket
77 * the queue when we do a read on the netlink socket.
85 * Sets a pid to recieve audit netlink events from the kernel
/system/connectivity/apmanager/
H A Ddevice_info_unittest.cc19 #include <linux/netlink.h>
/system/connectivity/shill/cellular/
H A Dcellular_unittest.cc21 #include <linux/netlink.h>
/system/connectivity/shill/
H A Ddevice_info.cc22 #include <linux/netlink.h>
H A Ddevice_info_unittest.cc23 #include <linux/netlink.h> // Needs typedefs from sys/socket.h.
/system/connectivity/shill/net/
H A Dattribute_list_unittest.cc20 #include <linux/netlink.h>
192 // "456" is acceptable since it is not long enough to complete an netlink
H A Dnetlink_message.h20 #include <linux/netlink.h>
36 // Netlink messages are sent over netlink sockets to talk between user-space
38 // kernel module that talks netlink potentially adds its own family header to
39 // the nlmsghdr (the top-level netlink message header) and, potentially, uses a
41 // is common between the different types of netlink message.
50 // ... | | | netlink payload | |
81 // Describes the context of the netlink message for parsing purposes.
99 // written to a netlink socket.
103 // (potentially received from the kernel via a netlink socket).
119 // Logs a netlink messag
[all...]
H A Dnetlink_packet.h21 #include <linux/netlink.h>
61 // Consume netlink attributes from the remaining payload.
H A Dnetlink_packet_unittest.cc19 #include <linux/netlink.h>
H A Dnetlink_socket.cc22 #include <linux/netlink.h>
60 LOG(ERROR) << "Failed to open netlink socket";

Completed in 355 milliseconds

12