/external/libnl/lib/genl/ |
D | genl.c | 224 int genlmsg_len(const struct genlmsghdr *gnlh) in genlmsg_len() argument 228 nlh = (const struct nlmsghdr *)((const unsigned char *) gnlh - NLMSG_HDRLEN); in genlmsg_len() 242 void *genlmsg_user_hdr(const struct genlmsghdr *gnlh) in genlmsg_user_hdr() argument 244 return genlmsg_data(gnlh); in genlmsg_user_hdr() 259 void *genlmsg_user_data(const struct genlmsghdr *gnlh, const int hdrlen) in genlmsg_user_data() argument 261 return genlmsg_user_hdr(gnlh) + NLMSG_ALIGN(hdrlen); in genlmsg_user_data() 273 int genlmsg_user_datalen(const struct genlmsghdr *gnlh, const int hdrlen) in genlmsg_user_datalen() argument 275 return genlmsg_len(gnlh) - NLMSG_ALIGN(hdrlen); in genlmsg_user_datalen() 287 struct nlattr *genlmsg_attrdata(const struct genlmsghdr *gnlh, int hdrlen) in genlmsg_attrdata() argument 289 return genlmsg_user_data(gnlh, hdrlen); in genlmsg_attrdata() [all …]
|
/external/iw/ |
D | link.c | 27 struct genlmsghdr *gnlh = nlmsg_data(nlmsg_hdr(msg)); in link_bss_handler() local 43 nla_parse(tb, NL80211_ATTR_MAX, genlmsg_attrdata(gnlh, 0), in link_bss_handler() 44 genlmsg_attrlen(gnlh, 0), NULL); in link_bss_handler() 116 struct genlmsghdr *gnlh = nlmsg_data(nlmsg_hdr(msg)); in print_link_sta() local 139 nla_parse(tb, NL80211_ATTR_MAX, genlmsg_attrdata(gnlh, 0), in print_link_sta() 140 genlmsg_attrlen(gnlh, 0), NULL); in print_link_sta()
|
D | ps.c | 48 struct genlmsghdr *gnlh = nlmsg_data(nlmsg_hdr(msg)); in print_power_save_handler() local 51 nla_parse(attrs, NL80211_ATTR_MAX, genlmsg_attrdata(gnlh, 0), in print_power_save_handler() 52 genlmsg_attrlen(gnlh, 0), NULL); in print_power_save_handler()
|
D | mpp.c | 19 struct genlmsghdr *gnlh = nlmsg_data(nlmsg_hdr(msg)); in print_mpp_handler() local 22 nla_parse(tb, NL80211_ATTR_MAX, genlmsg_attrdata(gnlh, 0), in print_mpp_handler() 23 genlmsg_attrlen(gnlh, 0), NULL); in print_mpp_handler()
|
D | event.c | 296 struct genlmsghdr *gnlh = nlmsg_data(nlmsg_hdr(msg)); in print_event() local 323 nla_parse(tb, NL80211_ATTR_MAX, genlmsg_attrdata(gnlh, 0), in print_event() 324 genlmsg_attrlen(gnlh, 0), NULL); in print_event() 342 switch (gnlh->cmd) { in print_event() 352 if (gnlh->cmd == NL80211_CMD_SCAN_ABORTED) in print_event() 613 gnlh->cmd, command_name(gnlh->cmd)); in print_event() 631 struct genlmsghdr *gnlh = nlmsg_data(nlmsg_hdr(msg)); in wait_event() local 635 if (gnlh->cmd == wait->cmds[i]) { in wait_event() 636 wait->cmd = gnlh->cmd; in wait_event()
|
D | survey.c | 19 struct genlmsghdr *gnlh = nlmsg_data(nlmsg_hdr(msg)); in print_survey_handler() local 28 nla_parse(tb, NL80211_ATTR_MAX, genlmsg_attrdata(gnlh, 0), in print_survey_handler() 29 genlmsg_attrlen(gnlh, 0), NULL); in print_survey_handler()
|
D | genl.c | 39 struct genlmsghdr *gnlh = nlmsg_data(nlmsg_hdr(msg)); in family_handler() local 43 nla_parse(tb, CTRL_ATTR_MAX, genlmsg_attrdata(gnlh, 0), in family_handler() 44 genlmsg_attrlen(gnlh, 0), NULL); in family_handler()
|
D | hwsim.c | 39 struct genlmsghdr *gnlh = nlmsg_data(nlmsg_hdr(msg)); in print_hwsim_ps_handler() local 41 nla_parse(attrs, NL80211_ATTR_MAX, genlmsg_attrdata(gnlh, 0), in print_hwsim_ps_handler() 42 genlmsg_attrlen(gnlh, 0), NULL); in print_hwsim_ps_handler()
|
D | mpath.c | 30 struct genlmsghdr *gnlh = nlmsg_data(nlmsg_hdr(msg)); in print_mpath_handler() local 43 nla_parse(tb, NL80211_ATTR_MAX, genlmsg_attrdata(gnlh, 0), in print_mpath_handler() 44 genlmsg_attrlen(gnlh, 0), NULL); in print_mpath_handler()
|
D | reg.c | 124 struct genlmsghdr *gnlh = nlmsg_data(nlmsg_hdr(msg)); in print_reg_handler() local 139 nla_parse(tb_msg, NL80211_ATTR_MAX, genlmsg_attrdata(gnlh, 0), in print_reg_handler() 140 genlmsg_attrlen(gnlh, 0), NULL); in print_reg_handler()
|
D | coalesce.c | 201 struct genlmsghdr *gnlh = nlmsg_data(nlmsg_hdr(msg)); in print_coalesce_handler() local 207 nla_parse(attrs, NL80211_ATTR_MAX, genlmsg_attrdata(gnlh, 0), in print_coalesce_handler() 208 genlmsg_attrlen(gnlh, 0), NULL); in print_coalesce_handler()
|
D | info.c | 81 struct genlmsghdr *gnlh = nlmsg_data(nlmsg_hdr(msg)); in print_phy_handler() local 119 nla_parse(tb_msg, NL80211_ATTR_MAX, genlmsg_attrdata(gnlh, 0), in print_phy_handler() 120 genlmsg_attrlen(gnlh, 0), NULL); in print_phy_handler() 688 struct genlmsghdr *gnlh = nlmsg_data(nlmsg_hdr(msg)); in print_feature_handler() local 692 nla_parse(tb_msg, NL80211_ATTR_MAX, genlmsg_attrdata(gnlh, 0), in print_feature_handler() 693 genlmsg_attrlen(gnlh, 0), NULL); in print_feature_handler()
|
D | interface.c | 308 struct genlmsghdr *gnlh = nlmsg_data(nlmsg_hdr(msg)); in print_iface_handler() local 313 nla_parse(tb_msg, NL80211_ATTR_MAX, genlmsg_attrdata(gnlh, 0), in print_iface_handler() 314 genlmsg_attrlen(gnlh, 0), NULL); in print_iface_handler()
|
D | wowlan.c | 352 struct genlmsghdr *gnlh = nlmsg_data(nlmsg_hdr(msg)); in print_wowlan_handler() local 356 nla_parse(attrs, NL80211_ATTR_MAX, genlmsg_attrdata(gnlh, 0), in print_wowlan_handler() 357 genlmsg_attrlen(gnlh, 0), NULL); in print_wowlan_handler()
|
D | mesh.c | 377 struct genlmsghdr *gnlh = nlmsg_data(nlmsg_hdr(msg)); in print_mesh_param_handler() local 380 nla_parse(attrs, NL80211_ATTR_MAX, genlmsg_attrdata(gnlh, 0), in print_mesh_param_handler() 381 genlmsg_attrlen(gnlh, 0), NULL); in print_mesh_param_handler()
|
D | station.c | 124 struct genlmsghdr *gnlh = nlmsg_data(nlmsg_hdr(msg)); in print_sta_handler() local 153 nla_parse(tb, NL80211_ATTR_MAX, genlmsg_attrdata(gnlh, 0), in print_sta_handler() 154 genlmsg_attrlen(gnlh, 0), NULL); in print_sta_handler()
|
/external/wpa_supplicant_8/src/drivers/ |
D | driver_nl80211_capa.c | 26 struct genlmsghdr *gnlh = nlmsg_data(nlmsg_hdr(msg)); in protocol_feature_handler() local 28 nla_parse(tb_msg, NL80211_ATTR_MAX, genlmsg_attrdata(gnlh, 0), in protocol_feature_handler() 29 genlmsg_attrlen(gnlh, 0), NULL); in protocol_feature_handler() 594 struct genlmsghdr *gnlh = nlmsg_data(nlmsg_hdr(msg)); in wiphy_info_handler() local 599 nla_parse(tb, NL80211_ATTR_MAX, genlmsg_attrdata(gnlh, 0), in wiphy_info_handler() 600 genlmsg_attrlen(gnlh, 0), NULL); in wiphy_info_handler() 878 struct genlmsghdr *gnlh = nlmsg_data(nlmsg_hdr(msg)); in dfs_info_handler() local 881 nla_parse(tb, NL80211_ATTR_MAX, genlmsg_attrdata(gnlh, 0), in dfs_info_handler() 882 genlmsg_attrlen(gnlh, 0), NULL); in dfs_info_handler() 930 struct genlmsghdr *gnlh = nlmsg_data(nlmsg_hdr(msg)); in qca_nl80211_he_capab_handler() local [all …]
|
D | driver_nl80211_scan.c | 35 struct genlmsghdr *gnlh = nlmsg_data(nlmsg_hdr(msg)); in get_noise_for_scan_results() local 46 nla_parse(tb, NL80211_ATTR_MAX, genlmsg_attrdata(gnlh, 0), in get_noise_for_scan_results() 47 genlmsg_attrlen(gnlh, 0), NULL); in get_noise_for_scan_results() 684 struct genlmsghdr *gnlh = nlmsg_data(nlmsg_hdr(msg)); in nl80211_parse_bss_info() local 707 nla_parse(tb, NL80211_ATTR_MAX, genlmsg_attrdata(gnlh, 0), in nl80211_parse_bss_info() 708 genlmsg_attrlen(gnlh, 0), NULL); in nl80211_parse_bss_info() 1026 struct genlmsghdr *gnlh = nlmsg_data(nlmsg_hdr(msg)); in scan_cookie_handler() local 1029 nla_parse(tb, NL80211_ATTR_MAX, genlmsg_attrdata(gnlh, 0), in scan_cookie_handler() 1030 genlmsg_attrlen(gnlh, 0), NULL); in scan_cookie_handler()
|
D | driver_nl80211.c | 401 struct genlmsghdr *gnlh = nlmsg_data(nlmsg_hdr(msg)); in family_handler() local 405 nla_parse(tb, CTRL_ATTR_MAX, genlmsg_attrdata(gnlh, 0), in family_handler() 406 genlmsg_attrlen(gnlh, 0), NULL); in family_handler() 531 struct genlmsghdr *gnlh = nlmsg_data(nlmsg_hdr(msg)); in netdev_info_handler() local 534 nla_parse(tb, NL80211_ATTR_MAX, genlmsg_attrdata(gnlh, 0), in netdev_info_handler() 535 genlmsg_attrlen(gnlh, 0), NULL); in netdev_info_handler() 644 struct genlmsghdr *gnlh = nlmsg_data(nlmsg_hdr(msg)); in process_beacon_event() local 648 nla_parse(tb, NL80211_ATTR_MAX, genlmsg_attrdata(gnlh, 0), in process_beacon_event() 649 genlmsg_attrlen(gnlh, 0), NULL); in process_beacon_event() 651 if (gnlh->cmd != NL80211_CMD_FRAME) { in process_beacon_event() [all …]
|
D | driver_nl80211_event.c | 2387 struct genlmsghdr *gnlh = nlmsg_data(nlmsg_hdr(msg)); in process_global_event() local 2395 nla_parse(tb, NL80211_ATTR_MAX, genlmsg_attrdata(gnlh, 0), in process_global_event() 2396 genlmsg_attrlen(gnlh, 0), NULL); in process_global_event() 2412 do_process_drv_event(bss, gnlh->cmd, tb); in process_global_event() 2418 gnlh->cmd, ifidx, (long long unsigned int) wdev_id); in process_global_event() 2428 struct genlmsghdr *gnlh = nlmsg_data(nlmsg_hdr(msg)); in process_bss_event() local 2431 nla_parse(tb, NL80211_ATTR_MAX, genlmsg_attrdata(gnlh, 0), in process_bss_event() 2432 genlmsg_attrlen(gnlh, 0), NULL); in process_bss_event() 2435 gnlh->cmd, nl80211_command_to_string(gnlh->cmd), in process_bss_event() 2438 switch (gnlh->cmd) { in process_bss_event() [all …]
|
/external/strace/ |
D | socketutils.c | 563 struct genlmsghdr gnlh; in genl_send_dump_families() member 570 .gnlh = { in genl_send_dump_families() 583 const struct genlmsghdr *const gnlh = data; in genl_parse_families_response() local 585 int rta_len = data_len - NLMSG_LENGTH(sizeof(*gnlh)); in genl_parse_families_response() 593 if (gnlh->cmd != CTRL_CMD_NEWFAMILY) in genl_parse_families_response() 595 if (gnlh->version != 2) in genl_parse_families_response() 598 for (attr = (struct rtattr *) (gnlh + 1); in genl_parse_families_response()
|
/external/strace/tests-m32/ |
D | netlink_generic.c | 51 struct genlmsghdr gnlh; in test_nlmsg_type() member 58 .gnlh = { in test_nlmsg_type()
|
/external/strace/tests/ |
D | netlink_generic.c | 51 struct genlmsghdr gnlh; in test_nlmsg_type() member 58 .gnlh = { in test_nlmsg_type()
|
/external/strace/tests-mx32/ |
D | netlink_generic.c | 51 struct genlmsghdr gnlh; in test_nlmsg_type() member 58 .gnlh = { in test_nlmsg_type()
|
/external/autotest/client/deps/iwcap/src/ |
D | iwcap.c | 274 struct genlmsghdr *gnlh = nlmsg_data(nlmsg_hdr(msg)); in check_phy_handler() local 301 nla_parse(tb_msg, NL80211_ATTR_MAX, genlmsg_attrdata(gnlh, 0), in check_phy_handler() 302 genlmsg_attrlen(gnlh, 0), NULL); in check_phy_handler()
|