Home
last modified time | relevance | path

Searched refs:family_id (Results 1 – 4 of 4) sorted by relevance

/system/extras/taskstats/
Dtaskstats.c90 int query_task_stats(struct nl_sock* netlink_socket, int family_id, in query_task_stats() argument
96 genlmsg_put(message, NL_AUTO_PID, NL_AUTO_SEQ, family_id, 0, 0, in query_task_stats()
108 nl_cb_err(callbacks, NL_CB_CUSTOM, &print_receive_error, &family_id); in query_task_stats()
320 int family_id = genl_ctrl_resolve(netlink_socket, TASKSTATS_GENL_NAME); in main() local
321 if (family_id < 0) { in main()
322 nl_perror(family_id, "Unable to determine taskstats family id " in main()
327 ret = query_task_stats(netlink_socket, family_id, command_type, pid, &stats); in main()
/system/extras/iotop/
Dtaskstats.cpp42 int family_id = genl_ctrl_resolve(nl.get(), TASKSTATS_GENL_NAME); in Open() local
43 if (family_id < 0) { in Open()
44 LOG(ERROR) << nl_geterror(family_id) << std::endl in Open()
50 family_id_ = family_id; in Open()
/system/connectivity/wificond/net/
Dnetlink_manager.h44 family_id = id; in MessageType()
46 uint16_t family_id; member
Dnetlink_manager.cpp179 uint16_t family_id; in OnNewFamily() local
180 if (!packet->GetAttributeValue(CTRL_ATTR_FAMILY_ID, &family_id)) { in OnNewFamily()
192 MessageType nl80211_type(family_id); in OnNewFamily()
445 return message_types_[NL80211_GENL_NAME].family_id; in GetFamilyId()