Home
last modified time | relevance | path

Searched refs:nlmsg_type (Results 1 – 6 of 6) sorted by relevance

/system/core/libsysutils/src/
DNetlinkEvent.cpp111 SLOGE("Got a short %s message\n", rtMessageName(nh->nlmsg_type)); in checkRtNetlinkLength()
171 int type = nh->nlmsg_type; in parseIfAddrMessage()
278 uint8_t type = nh->nlmsg_type; in parseRtMessage()
484 NLMSG_OK(nh, (unsigned) size) && (nh->nlmsg_type != NLMSG_DONE); in parseBinaryNetlinkMessage()
487 if (!rtMessageName(nh->nlmsg_type)) { in parseBinaryNetlinkMessage()
488 SLOGD("Unexpected netlink message type %d\n", nh->nlmsg_type); in parseBinaryNetlinkMessage()
492 if (nh->nlmsg_type == RTM_NEWLINK) { in parseBinaryNetlinkMessage()
496 } else if (nh->nlmsg_type == QLOG_NL_EVENT) { in parseBinaryNetlinkMessage()
500 } else if (nh->nlmsg_type == RTM_NEWADDR || in parseBinaryNetlinkMessage()
501 nh->nlmsg_type == RTM_DELADDR) { in parseBinaryNetlinkMessage()
[all …]
/system/core/logd/
Dlibaudit.c54 if (rep.nlh.nlmsg_type == NLMSG_ERROR) { in get_ack()
97 req.nlh.nlmsg_type = type; in audit_send()
DLogAudit.cpp54 rep.nlh.nlmsg_type = 0; in onDataAvailable()
63 logPrint("type=%d %.*s", rep.nlh.nlmsg_type, rep.nlh.nlmsg_len, rep.data); in onDataAvailable()
/system/extras/taskstats/
Dtaskstats.c44 int send_command(struct nl_sock* netlink_socket, uint16_t nlmsg_type, in send_command() argument
52 genlmsg_put(message, nlmsg_pid, seq, nlmsg_type, header_length, flags, in send_command()
/system/core/libnetutils/
Difc_utils.c303 req.n.nlmsg_type = action; in ifc_act_on_address()
333 if (!NLMSG_OK(nh, (unsigned) len) || nh->nlmsg_type != NLMSG_ERROR) { in ifc_act_on_address()
/system/netd/server/
DRouteController.cpp186 .nlmsg_type = action, in sendNetlinkRequest()