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()
313 int family_id = genl_ctrl_resolve(netlink_socket, TASKSTATS_GENL_NAME); in main() local
314 if (family_id < 0) { in main()
315 nl_perror(family_id, "Unable to determine taskstats family id " in main()
320 ret = query_task_stats(netlink_socket, family_id, command_type, pid, &stats); in main()
/system/extras/iotop/
Dtaskstats.cpp43 int family_id = genl_ctrl_resolve(nl.get(), TASKSTATS_GENL_NAME); in Open() local
44 if (family_id < 0) { in Open()
45 …LOG(FATAL) << nl_geterror(family_id) << std::endl << "Unable to determine taskstats family id (doe… in Open()
49 family_id_ = family_id; in Open()
/system/connectivity/wificond/net/
Dnetlink_manager.h41 family_id = id; in MessageType()
43 uint16_t family_id; member
Dnetlink_manager.cpp158 uint16_t family_id; in OnNewFamily() local
159 if (!packet->GetAttributeValue(CTRL_ATTR_FAMILY_ID, &family_id)) { in OnNewFamily()
171 MessageType nl80211_type(family_id); in OnNewFamily()
422 return message_types_[NL80211_GENL_NAME].family_id; in GetFamilyId()