/frameworks/base/services/net/java/android/net/netlink/ |
StructNlAttr.java | 50 struct.nla_len = byteBuffer.getShort(); 55 if (struct.nla_len < NLA_HEADERLEN) { 71 int valueLen = ((int) struct.nla_len) & 0xffff; 81 public short nla_len; field in class:StructNlAttr 91 return NetlinkConstants.alignedLengthOf(nla_len); 121 byteBuffer.putShort(nla_len); 130 + "nla_len{" + nla_len + "}, "
|
/external/libnl/lib/ |
attr.c | 57 * returns a pointer to the start of the payload while nla_len() returns 70 * <- nla_len(nla) -> 471 int nla_len(const struct nlattr *nla) function 473 return nla->nla_len - NLA_HDRLEN; 491 nla->nla_len >= sizeof(*nla) && 492 nla->nla_len <= remaining; 513 int totlen = NLA_ALIGN(nla->nla_len); 546 if (pt->type == NLA_FLAG && nla_len(nla) > 0) 549 if (nla_len(nla) < minlen) 552 if (pt->maxlen && nla_len(nla) > pt->maxlen [all...] |
data.c | 74 return nl_data_alloc(nla_data(nla), nla_len(nla));
|
/hardware/qcom/wlan/qcwcn/wifi_hal/ |
gscan_event_handler.cpp | 234 rem = nla_len(tb_vendor[ 243 nla_len(scanResultsInfo), NULL); 268 len = nla_len(tb2[ 284 len = nla_len( 369 rem = nla_len(tb_vendor[ 377 nla_len(scanResultsInfo), NULL); 387 len = nla_len( 477 rem = nla_len(tb_vendor[ 486 nla_len(scanResultsInfo), NULL); 511 len = nla_len(tb2 [all...] |
llstats.cpp | 126 len = nla_len(tb_vendor[QCA_WLAN_VENDOR_ATTR_LL_STATS_IFACE_INFO_MAC_ADDR]); 156 len = nla_len(tb_vendor[QCA_WLAN_VENDOR_ATTR_LL_STATS_IFACE_INFO_SSID]); 165 len = nla_len(tb_vendor[QCA_WLAN_VENDOR_ATTR_LL_STATS_IFACE_INFO_BSSID]); 174 len = nla_len(tb_vendor[QCA_WLAN_VENDOR_ATTR_LL_STATS_IFACE_INFO_AP_COUNTRY_STR]); 184 len = nla_len(tb_vendor[QCA_WLAN_VENDOR_ATTR_LL_STATS_IFACE_INFO_COUNTRY_STR]); 467 len = nla_len(tb_vendor[QCA_WLAN_VENDOR_ATTR_LL_STATS_PEER_INFO_MAC_ADDRESS]); 500 for (rateInfo = (struct nlattr *) nla_data(tb_vendor[QCA_WLAN_VENDOR_ATTR_LL_STATS_PEER_INFO_RATE_INFO]), rem = nla_len(tb_vendor[QCA_WLAN_VENDOR_ATTR_LL_STATS_PEER_INFO_RATE_INFO]); 507 nla_parse(tb2, QCA_WLAN_VENDOR_ATTR_LL_STATS_MAX, (struct nlattr *) nla_data(rateInfo), nla_len(rateInfo), NULL); 659 rem = nla_len(tb_vendor[ 669 nla_len(wmmInfo), NULL) [all...] |
/system/connectivity/shill/net/ |
attribute_list.cc | 93 if (attribute->nla_len < sizeof(*attribute) || 94 ptr + attribute->nla_len > end) { 96 << attribute->nla_len << ". " 103 if (attribute->nla_len > NLA_HDRLEN) { 104 value = ByteString(ptr + NLA_HDRLEN, attribute->nla_len - NLA_HDRLEN); 109 ptr += NLA_ALIGN(attribute->nla_len);
|
/external/iw/ |
genl.c | 53 nla_data(mcgrp), nla_len(mcgrp), NULL); 59 grp->group, nla_len(tb_mcgrp[CTRL_ATTR_MCAST_GRP_NAME])))
|
coalesce.c | 221 nla_data(rule), nla_len(rule), NULL); 242 nla_data(pattern), nla_len(pattern), 250 masklen = nla_len(patattr[NL80211_PKTPAT_MASK]); 251 patlen = nla_len(patattr[NL80211_PKTPAT_PATTERN]);
|
wowlan.c | 367 nla_len(attrs[NL80211_ATTR_WOWLAN_TRIGGERS]), 393 nla_len(trig[NL80211_WOWLAN_TRIG_NET_DETECT]), NULL); 409 nla_len(match), 413 nla_len(tb[NL80211_SCHED_SCAN_MATCH_ATTR_SSID]), 436 nla_data(pattern), nla_len(pattern), NULL); 442 masklen = nla_len(patattr[NL80211_PKTPAT_MASK]); 443 patlen = nla_len(patattr[NL80211_PKTPAT_PATTERN]);
|
event.c | 56 len = nla_len(attr); 188 nla_len(attrs[NL80211_ATTR_KEY_SEQ]) == 6) { 220 nla_len(attrs[NL80211_ATTR_WOWLAN_TRIGGERS]), NULL); 246 nla_len(match), 249 print_ssid_escaped(nla_len(tb_match[NL80211_ATTR_SSID]), 264 int l = nla_len(tb[NL80211_WOWLAN_TRIG_WAKEUP_PKT_80211]); 276 int l = nla_len(tb[NL80211_WOWLAN_TRIG_WAKEUP_PKT_8023]); 362 print_ssid_escaped(nla_len(nst), nla_data(nst)); 581 nla_len(tb[NL80211_ATTR_VENDOR_DATA]));
|
info.c | 142 nla_len(nl_band), NULL); 157 nla_len(tb_band[NL80211_BAND_ATTR_HT_MCS_SET]) == 16) 172 nla_len(nl_freq), freq_policy); 226 nla_len(nl_rate), rate_policy); 295 int num = nla_len(tb_msg[NL80211_ATTR_CIPHER_SUITES]) / sizeof(__u32); 501 (nla_len(tb_wowlan[NL80211_WOWLAN_TRIG_PKT_PATTERN]) < 531 if (nla_len(tb_msg[NL80211_ATTR_HT_CAPABILITY_MASK]) >= sizeof(*cm)) { 553 (int)(nla_len(tb_msg[NL80211_ATTR_HT_CAPABILITY_MASK]))); 619 if (ext_feature_isset(nla_data(tb), nla_len(tb),
|
/hardware/broadcom/wlan/bcmdhd/wifi_hal/ |
cpp_bindings.h | 80 return mAttributes[attribute] ? nla_len(mAttributes[attribute]) : 0; 97 rem = nla_len(attr); 127 return nla_len(pos); 349 for (pos = (nlattr *)nla_data(nla), rem = nla_len(nla); \
|
/system/extras/tests/net_test/ |
netlink.py | 46 NLAttr = cstruct.Struct("NLAttr", "=HH", "nla_len nla_type") 73 nla_len = datalen + len(NLAttr) 74 return NLAttr((nla_len, nla_type)).Pack() + data + padding 118 datalen = nla.nla_len - len(nla) 119 padded_len = PaddedLength(nla.nla_len) - len(nla)
|
/external/libnl/include/netlink/ |
attr.h | 79 extern int nla_len(const struct nlattr *); 273 for (pos = nla_data(nla), rem = nla_len(nla); \
|
/external/wpa_supplicant_8/src/drivers/ |
driver_nl80211_capa.c | 264 num = nla_len(tb) / sizeof(u32); 359 if (ext_feature_isset(nla_data(tb), nla_len(tb), 565 os_malloc(nla_len(tb[NL80211_ATTR_EXT_CAPA])); 569 nla_len(tb[NL80211_ATTR_EXT_CAPA])); 571 nla_len(tb[NL80211_ATTR_EXT_CAPA]); 574 os_malloc(nla_len(tb[NL80211_ATTR_EXT_CAPA_MASK])); 578 nla_len(tb[NL80211_ATTR_EXT_CAPA_MASK])); 592 if (nla_len(nl) != sizeof(*vinfo)) { 643 if (nla_len(nl) != sizeof(*vinfo)) { 759 nla_data(nl_vend), nla_len(nl_vend), NULL) [all...] |
/development/ndk/platforms/android-3/include/linux/ |
netlink.h | 111 __u16 nla_len; member in struct:nlattr
|
/external/libnl/include/linux/ |
netlink.h | 123 * <-------------- nlattr->nla_len --------------> 128 __u16 nla_len; member in struct:nlattr
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/linux/ |
netlink.h | 127 * <-------------- nlattr->nla_len --------------> 132 __u16 nla_len; member in struct:nlattr
|
/prebuilts/ndk/current/platforms/android-12/arch-arm/usr/include/linux/ |
netlink.h | 111 __u16 nla_len; member in struct:nlattr
|
/prebuilts/ndk/current/platforms/android-12/arch-mips/usr/include/linux/ |
netlink.h | 111 __u16 nla_len; member in struct:nlattr
|
/prebuilts/ndk/current/platforms/android-12/arch-x86/usr/include/linux/ |
netlink.h | 111 __u16 nla_len; member in struct:nlattr
|
/prebuilts/ndk/current/platforms/android-13/arch-arm/usr/include/linux/ |
netlink.h | 111 __u16 nla_len; member in struct:nlattr
|
/prebuilts/ndk/current/platforms/android-13/arch-mips/usr/include/linux/ |
netlink.h | 111 __u16 nla_len; member in struct:nlattr
|
/prebuilts/ndk/current/platforms/android-13/arch-x86/usr/include/linux/ |
netlink.h | 111 __u16 nla_len; member in struct:nlattr
|
/prebuilts/ndk/current/platforms/android-14/arch-arm/usr/include/linux/ |
netlink.h | 111 __u16 nla_len; member in struct:nlattr
|