Home
last modified time | relevance | path

Searched refs:nla_len (Results 1 - 14 of 14) sorted by relevance

/third_party/ltp/testcases/kernel/controllers/cgroup/
H A Dcgroup_regression_getdelays.c124 __u8 genl_cmd, __u16 nla_type, void *nla_data, int nla_len) in send_cmd()
142 na->nla_len = nla_len + 1 + NLA_HDRLEN; in send_cmd()
143 memcpy(NLA_DATA(na), nla_data, nla_len); in send_cmd() local
144 msg.n.nlmsg_len += NLMSG_ALIGN(na->nla_len); in send_cmd()
188 na = (struct nlattr *)((char *)na + NLA_ALIGN(na->nla_len)); in get_family_id()
438 len += NLA_ALIGN(na->nla_len); in main()
443 aggr_len = NLA_PAYLOAD(na->nla_len); in main()
483 na->nla_len) < 0) { in main()
497 len2 += NLA_ALIGN(na->nla_len); in main()
123 send_cmd(int sd, __u16 nlmsg_type, __u32 nlmsg_pid, __u8 genl_cmd, __u16 nla_type, void *nla_data, int nla_len) send_cmd() argument
[all...]
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/drivers/
H A Ddriver_nl80211_capa.c260 num = nla_len(tb) / sizeof(u32); in wiphy_info_cipher_suites()
358 len = nla_len(tb); in wiphy_info_ext_feature_flags()
570 nla_len(attr), NULL); in wiphy_info_extended_capab()
583 len = nla_len(tb1[NL80211_ATTR_EXT_CAPA]); in wiphy_info_extended_capab()
593 len = nla_len(tb1[NL80211_ATTR_EXT_CAPA_MASK]); in wiphy_info_extended_capab()
706 os_malloc(nla_len(tb[NL80211_ATTR_EXT_CAPA])); in wiphy_info_handler()
710 nla_len(tb[NL80211_ATTR_EXT_CAPA])); in wiphy_info_handler()
712 nla_len(tb[NL80211_ATTR_EXT_CAPA]); in wiphy_info_handler()
718 os_malloc(nla_len(tb[NL80211_ATTR_EXT_CAPA_MASK])); in wiphy_info_handler()
722 nla_len(t in wiphy_info_handler()
[all...]
H A Ddriver_nl80211_event.c268 event.assoc_info.req_ies_len = nla_len(req_ie); in mlme_event_assoc()
354 event.assoc_reject.resp_ies_len = nla_len(resp_ie); in mlme_event_connect()
391 event.assoc_info.req_ies_len = nla_len(req_ie); in mlme_event_connect()
409 event.assoc_info.resp_ies_len = nla_len(resp_ie); in mlme_event_connect()
431 event.assoc_info.key_replay_ctr_len = nla_len(key_replay_ctr); in mlme_event_connect()
435 event.assoc_info.ptk_kck_len = nla_len(ptk_kck); in mlme_event_connect()
439 event.assoc_info.ptk_kek_len = nla_len(ptk_kek); in mlme_event_connect()
459 event.assoc_info.fils_pmk_len = nla_len(fils_pmk); in mlme_event_connect()
614 if (nla_len(addr) != ETH_ALEN) in mlme_timeout_event()
903 len = nla_len(fram in mlme_event()
[all...]
H A Ddriver_nl80211_scan.c731 ie_len = nla_len(bss[NL80211_BSS_INFORMATION_ELEMENTS]); in nl80211_parse_bss_info()
738 beacon_ie_len = nla_len(bss[NL80211_BSS_BEACON_IES]); in nl80211_parse_bss_info()
1053 nla_data(nl_vendor), nla_len(nl_vendor), NULL); in scan_cookie_handler()
H A Ddriver_nl80211.c356 nla_len(tb[NLMSGERR_ATTR_MSG])); in error_handler()
481 nla_len(mcgrp), NULL); in family_handler()
486 nla_len(tb2[CTRL_ATTR_MCAST_GRP_NAME])) != 0) in family_handler()
732 event.rx_mgmt.frame_len = nla_len(tb[NL80211_ATTR_FRAME]); in process_beacon_event()
1355 ie_len = nla_len(bss[NL80211_BSS_INFORMATION_ELEMENTS]); in nl80211_get_assoc_freq_handler()
2576 nla_len(tb[NL80211_ATTR_VENDOR_DATA])); in qca_vendor_test_cmd_handler()
6191 min_int(nla_len(tb[NL80211_ATTR_KEY_SEQ]), 6)); in get_key_handler()
9244 if ((size_t) nla_len(nl_vendor_reply) > wpabuf_tailroom(buf)) { in vendor_reply_handler()
9250 wpabuf_put_data(buf, nla_data(nl), nla_len(nl)); in vendor_reply_handler()
10199 nla_data(nl_vend), nla_len(nl_ven in preferred_freq_info_handler()
[all...]
/third_party/libbpf/src/
H A Dnlattr.h120 return nla->nla_len - NLA_HDRLEN; in libbpf_nla_len()
153 nla->nla_len = NLA_HDRLEN + len; in nlattr_add()
156 req->nh.nlmsg_len = NLMSG_ALIGN(req->nh.nlmsg_len) + NLA_ALIGN(nla->nla_len); in nlattr_add()
173 tail->nla_len = (void *)req_tail(req) - (void *)tail; in nlattr_end_nested()
H A Dnlattr.c27 int totlen = NLA_ALIGN(nla->nla_len); in nla_next()
36 nla->nla_len >= sizeof(*nla) && in nla_ok()
37 nla->nla_len <= remaining; in nla_ok()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/drivers/
H A Ddriver_nl80211_event.c326 event.assoc_info.req_ies_len = nla_len(req_ie); in mlme_event_assoc()
369 nla_len(tb[NL80211_ATTR_VENDOR_DATA]), NULL); in qca_drv_connect_fail_reason_code_handler()
446 nla_parse(tb, NL80211_ATTR_MAX, nla_data(link), nla_len(link), in nl80211_parse_mlo_link_info()
552 if (ieee802_11_parse_elems(nla_data(req_ie), nla_len(req_ie), in nl80211_update_rejected_links_info()
554 ieee802_11_parse_elems(nla_data(resp_ie), nla_len(resp_ie), in nl80211_update_rejected_links_info()
646 ml_ie = get_ml_ie(nla_data(resp_ie), nla_len(resp_ie), in nl80211_parse_mlo_info()
747 event.assoc_reject.resp_ies_len = nla_len(resp_ie);
802 event.assoc_info.req_ies_len = nla_len(req_ie);
820 event.assoc_info.resp_ies_len = nla_len(resp_ie);
842 event.assoc_info.key_replay_ctr_len = nla_len(key_replay_ct
[all...]
H A Ddriver_nl80211_capa.c268 num = nla_len(tb) / sizeof(u32); in get_akm_suites_info()
356 nla_data(nl_akms), nla_len(nl_akms), NULL); in get_iface_akm_suites_info()
444 num = nla_len(tb) / sizeof(u32); in wiphy_info_cipher_suites()
542 len = nla_len(tb); in wiphy_info_ext_feature_flags()
799 nla_len(attr), NULL); in wiphy_info_extended_capab()
812 len = nla_len(tb1[NL80211_ATTR_EXT_CAPA]); in wiphy_info_extended_capab()
822 len = nla_len(tb1[NL80211_ATTR_EXT_CAPA_MASK]); in wiphy_info_extended_capab()
942 os_malloc(nla_len(tb[NL80211_ATTR_EXT_CAPA])); in wiphy_info_handler()
946 nla_len(tb[NL80211_ATTR_EXT_CAPA])); in wiphy_info_handler()
948 nla_len(t in wiphy_info_handler()
[all...]
H A Ddriver_nl80211_scan.c741 ie_len = nla_len(bss[NL80211_BSS_INFORMATION_ELEMENTS]); in nl80211_parse_bss_info()
748 beacon_ie_len = nla_len(bss[NL80211_BSS_BEACON_IES]); in nl80211_parse_bss_info()
1095 nla_data(nl_vendor), nla_len(nl_vendor), NULL); in scan_cookie_handler()
H A Ddriver_nl80211.c374 nla_len(tb[NLMSGERR_ATTR_MSG])); in error_handler()
622 nla_len(mcgrp), NULL); in family_handler()
627 nla_len(tb2[CTRL_ATTR_MCAST_GRP_NAME])) != 0) in family_handler()
910 event.rx_mgmt.frame_len = nla_len(tb[NL80211_ATTR_FRAME]); in process_beacon_event()
1654 ie_len = nla_len(bss[NL80211_BSS_INFORMATION_ELEMENTS]); in nl80211_get_assoc_freq_handler()
2980 nla_len(tb[NL80211_ATTR_VENDOR_DATA])); in qca_vendor_test_cmd_handler()
7249 min_int(nla_len(tb[NL80211_ATTR_KEY_SEQ]), 6));
9069 nla_parse(tb2, NL80211_ATTR_MAX, nla_data(link), nla_len(link),
10562 if ((size_t) nla_len(nl_vendor_reply) > wpabuf_tailroom(buf)) {
10568 wpabuf_put_data(buf, nla_data(nl), nla_len(n
[all...]
/third_party/libbpf/include/uapi/linux/
H A Dnetlink.h208 * <-------------- nlattr->nla_len -------------->
212 __u16 nla_len; member
/third_party/rust/crates/libc/src/unix/linux_like/android/
H A Dmod.rs235 pub nla_len: u16,
/third_party/rust/crates/libc/src/unix/linux_like/linux/
H A Dmod.rs596 pub nla_len: u16,

Completed in 55 milliseconds