Home
last modified time | relevance | path

Searched refs:tb_msg (Results 1 – 8 of 8) sorted by relevance

/third_party/libnl/python/netlink/genl/
Dcapi.i71 struct nlattr *tb_msg[max + 1]; in py_genlmsg_parse() local
95 err = genlmsg_parse(nlh, uhl, tb_msg, max, policy); in py_genlmsg_parse()
101 if (tb_msg[i]) { in py_genlmsg_parse()
103 v = SWIG_NewPointerObj(SWIG_as_voidptr(tb_msg[i]), SWIGTYPE_p_nlattr, 0 | 0 ); in py_genlmsg_parse()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/drivers/
Ddriver_nl80211_capa.c25 struct nlattr *tb_msg[NL80211_ATTR_MAX + 1]; in protocol_feature_handler() local
28 nla_parse(tb_msg, NL80211_ATTR_MAX, genlmsg_attrdata(gnlh, 0), in protocol_feature_handler()
31 if (tb_msg[NL80211_ATTR_PROTOCOL_FEATURES]) in protocol_feature_handler()
32 *feat = nla_get_u32(tb_msg[NL80211_ATTR_PROTOCOL_FEATURES]); in protocol_feature_handler()
1728 struct nlattr *tb_msg[NL80211_ATTR_MAX + 1]; in phy_info_handler() local
1734 nla_parse(tb_msg, NL80211_ATTR_MAX, genlmsg_attrdata(gnlh, 0), in phy_info_handler()
1737 if (!tb_msg[NL80211_ATTR_WIPHY_BANDS]) in phy_info_handler()
1740 nla_for_each_nested(nl_band, tb_msg[NL80211_ATTR_WIPHY_BANDS], rem_band) in phy_info_handler()
2046 struct nlattr *tb_msg[NL80211_ATTR_MAX + 1]; in nl80211_get_reg() local
2060 nla_parse(tb_msg, NL80211_ATTR_MAX, genlmsg_attrdata(gnlh, 0), in nl80211_get_reg()
[all …]
Ddriver_macsec_linux.c513 struct nlattr *tb_msg[MACSEC_ATTR_MAX + 1]; in dump_callback() local
521 err = nla_parse(tb_msg, MACSEC_ATTR_MAX, genlmsg_attrdata(gnlh, 0), in dump_callback()
526 if (!tb_msg[MACSEC_ATTR_IFINDEX]) in dump_callback()
529 if (nla_get_u32(tb_msg[MACSEC_ATTR_IFINDEX]) != (u32) arg->ifindex) in dump_callback()
532 if (arg->txsa < 4 && !tb_msg[MACSEC_ATTR_TXSA_LIST]) { in dump_callback()
538 nla_for_each_nested(nla, tb_msg[MACSEC_ATTR_TXSA_LIST], rem) { in dump_callback()
561 if (tb_msg[MACSEC_ATTR_RXSC_LIST]) { in dump_callback()
565 nla_for_each_nested(nla, tb_msg[MACSEC_ATTR_RXSC_LIST], rem) { in dump_callback()
Ddriver_nl80211.c1669 struct nlattr *tb_msg[NL80211_ATTR_MAX + 1]; in nl80211_get_country() local
1672 nla_parse(tb_msg, NL80211_ATTR_MAX, genlmsg_attrdata(gnlh, 0), in nl80211_get_country()
1674 if (!tb_msg[NL80211_ATTR_REG_ALPHA2]) { in nl80211_get_country()
1678 os_strlcpy(alpha2, nla_data(tb_msg[NL80211_ATTR_REG_ALPHA2]), 3); in nl80211_get_country()
10549 struct nlattr *tb_msg[NL80211_ATTR_MAX + 1]; in nl80211_get_bss_transition_status_handler() local
10568 nla_parse(tb_msg, NL80211_ATTR_MAX, genlmsg_attrdata(gnlh, 0), in nl80211_get_bss_transition_status_handler()
10571 if (!tb_msg[NL80211_ATTR_VENDOR_DATA] || in nl80211_get_bss_transition_status_handler()
10573 tb_msg[NL80211_ATTR_VENDOR_DATA], NULL) || in nl80211_get_bss_transition_status_handler()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/drivers/
Ddriver_nl80211_capa.c26 struct nlattr *tb_msg[NL80211_ATTR_MAX + 1]; in protocol_feature_handler() local
29 nla_parse(tb_msg, NL80211_ATTR_MAX, genlmsg_attrdata(gnlh, 0), in protocol_feature_handler()
32 if (tb_msg[NL80211_ATTR_PROTOCOL_FEATURES]) in protocol_feature_handler()
33 *feat = nla_get_u32(tb_msg[NL80211_ATTR_PROTOCOL_FEATURES]); in protocol_feature_handler()
1956 struct nlattr *tb_msg[NL80211_ATTR_MAX + 1]; in phy_info_handler() local
1962 nla_parse(tb_msg, NL80211_ATTR_MAX, genlmsg_attrdata(gnlh, 0), in phy_info_handler()
1965 if (!tb_msg[NL80211_ATTR_WIPHY_BANDS]) in phy_info_handler()
1968 nla_for_each_nested(nl_band, tb_msg[NL80211_ATTR_WIPHY_BANDS], rem_band) in phy_info_handler()
2295 struct nlattr *tb_msg[NL80211_ATTR_MAX + 1]; in nl80211_get_reg() local
2309 nla_parse(tb_msg, NL80211_ATTR_MAX, genlmsg_attrdata(gnlh, 0), in nl80211_get_reg()
[all …]
Ddriver_macsec_linux.c511 struct nlattr *tb_msg[MACSEC_ATTR_MAX + 1]; in dump_callback() local
519 err = nla_parse(tb_msg, MACSEC_ATTR_MAX, genlmsg_attrdata(gnlh, 0), in dump_callback()
524 if (!tb_msg[MACSEC_ATTR_IFINDEX]) in dump_callback()
527 if (nla_get_u32(tb_msg[MACSEC_ATTR_IFINDEX]) != (u32) arg->ifindex) in dump_callback()
530 if (arg->txsa < 4 && !tb_msg[MACSEC_ATTR_TXSA_LIST]) { in dump_callback()
536 nla_for_each_nested(nla, tb_msg[MACSEC_ATTR_TXSA_LIST], rem) { in dump_callback()
559 if (tb_msg[MACSEC_ATTR_RXSC_LIST]) { in dump_callback()
563 nla_for_each_nested(nla, tb_msg[MACSEC_ATTR_RXSC_LIST], rem) { in dump_callback()
Ddriver_nl80211.c1828 struct nlattr *tb_msg[NL80211_ATTR_MAX + 1]; in nl80211_get_country() local
1831 nla_parse(tb_msg, NL80211_ATTR_MAX, genlmsg_attrdata(gnlh, 0), in nl80211_get_country()
1833 if (!tb_msg[NL80211_ATTR_REG_ALPHA2]) { in nl80211_get_country()
1837 os_strlcpy(alpha2, nla_data(tb_msg[NL80211_ATTR_REG_ALPHA2]), 3); in nl80211_get_country()
11512 struct nlattr *tb_msg[NL80211_ATTR_MAX + 1]; in nl80211_get_bss_transition_status_handler() local
11531 nla_parse(tb_msg, NL80211_ATTR_MAX, genlmsg_attrdata(gnlh, 0), in nl80211_get_bss_transition_status_handler()
11534 if (!tb_msg[NL80211_ATTR_VENDOR_DATA] || in nl80211_get_bss_transition_status_handler()
11536 tb_msg[NL80211_ATTR_VENDOR_DATA], NULL) || in nl80211_get_bss_transition_status_handler()
/third_party/libnl/python/netlink/
Dcapi.i859 struct nlattr *tb_msg[max + 1]; in py_nla_parse_nested() local
883 err = nla_parse_nested(tb_msg, max, nest_attr, policy); in py_nla_parse_nested()
889 if (tb_msg[i]) { in py_nla_parse_nested()
891 v = SWIG_NewPointerObj(SWIG_as_voidptr(tb_msg[i]), SWIGTYPE_p_nlattr, 0 | 0 ); in py_nla_parse_nested()