Home
last modified time | relevance | path

Searched refs:nla_len (Results 1 – 25 of 31) sorted by relevance

12

/third_party/ltp/testcases/kernel/controllers/cgroup/
Dcgroup_regression_getdelays.c124 __u8 genl_cmd, __u16 nla_type, void *nla_data, int nla_len) in send_cmd() argument
142 na->nla_len = nla_len + 1 + NLA_HDRLEN; in send_cmd()
143 memcpy(NLA_DATA(na), nla_data, nla_len); in send_cmd()
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()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/drivers/
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(tb[NL80211_ATTR_EXT_CAPA_MASK])); in wiphy_info_handler()
[all …]
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(frame); in mlme_event()
[all …]
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()
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_vend), NULL); in preferred_freq_info_handler()
[all …]
/third_party/libbpf/src/
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()
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/
Ddriver_nl80211_capa.c268 num = nla_len(tb) / sizeof(u32); in get_akm_suites_info()
353 nla_data(nl_akms), nla_len(nl_akms), NULL); in get_iface_akm_suites_info()
441 num = nla_len(tb) / sizeof(u32); in wiphy_info_cipher_suites()
539 len = nla_len(tb); in wiphy_info_ext_feature_flags()
796 nla_len(attr), NULL); in wiphy_info_extended_capab()
809 len = nla_len(tb1[NL80211_ATTR_EXT_CAPA]); in wiphy_info_extended_capab()
819 len = nla_len(tb1[NL80211_ATTR_EXT_CAPA_MASK]); in wiphy_info_extended_capab()
939 os_malloc(nla_len(tb[NL80211_ATTR_EXT_CAPA])); in wiphy_info_handler()
943 nla_len(tb[NL80211_ATTR_EXT_CAPA])); in wiphy_info_handler()
945 nla_len(tb[NL80211_ATTR_EXT_CAPA]); in wiphy_info_handler()
[all …]
Ddriver_nl80211_event.c306 event.assoc_info.req_ies_len = nla_len(req_ie); in mlme_event_assoc()
349 nla_len(tb[NL80211_ATTR_VENDOR_DATA]), NULL); in qca_drv_connect_fail_reason_code_handler()
480 event.assoc_reject.resp_ies_len = nla_len(resp_ie); in mlme_event_connect()
528 event.assoc_info.req_ies_len = nla_len(req_ie); in mlme_event_connect()
546 event.assoc_info.resp_ies_len = nla_len(resp_ie); in mlme_event_connect()
568 event.assoc_info.key_replay_ctr_len = nla_len(key_replay_ctr); in mlme_event_connect()
572 event.assoc_info.ptk_kck_len = nla_len(ptk_kck); in mlme_event_connect()
576 event.assoc_info.ptk_kek_len = nla_len(ptk_kek); in mlme_event_connect()
596 event.assoc_info.fils_pmk_len = nla_len(fils_pmk); in mlme_event_connect()
771 if (nla_len(addr) != ETH_ALEN) in mlme_timeout_event()
[all …]
Ddriver_nl80211_scan.c734 ie_len = nla_len(bss[NL80211_BSS_INFORMATION_ELEMENTS]); in nl80211_parse_bss_info()
741 beacon_ie_len = nla_len(bss[NL80211_BSS_BEACON_IES]); in nl80211_parse_bss_info()
1071 nla_data(nl_vendor), nla_len(nl_vendor), NULL); in scan_cookie_handler()
Ddriver_nl80211.c356 nla_len(tb[NLMSGERR_ATTR_MSG])); in error_handler()
590 nla_len(mcgrp), NULL); in family_handler()
595 nla_len(tb2[CTRL_ATTR_MCAST_GRP_NAME])) != 0) in family_handler()
878 event.rx_mgmt.frame_len = nla_len(tb[NL80211_ATTR_FRAME]); in process_beacon_event()
1501 ie_len = nla_len(bss[NL80211_BSS_INFORMATION_ELEMENTS]); in nl80211_get_assoc_freq_handler()
2815 nla_len(tb[NL80211_ATTR_VENDOR_DATA])); in qca_vendor_test_cmd_handler()
6966 min_int(nla_len(tb[NL80211_ATTR_KEY_SEQ]), 6)); in get_key_handler()
10111 if ((size_t) nla_len(nl_vendor_reply) > wpabuf_tailroom(buf)) { in vendor_reply_handler()
10117 wpabuf_put_data(buf, nla_data(nl), nla_len(nl)); in vendor_reply_handler()
11239 nla_data(nl_vend), nla_len(nl_vend), NULL); in preferred_freq_info_handler()
[all …]
/third_party/libbpf/include/uapi/linux/
Dnetlink.h212 __u16 nla_len; member
/third_party/rust/crates/linux-raw-sys/src/arm/
Dnetlink.rs399 pub nla_len: __u16, field
/third_party/rust/crates/linux-raw-sys/src/sparc/
Dnetlink.rs399 pub nla_len: __u16, field
/third_party/rust/crates/linux-raw-sys/src/riscv32/
Dnetlink.rs398 pub nla_len: __u16, field
/third_party/rust/crates/linux-raw-sys/src/aarch64/
Dnetlink.rs399 pub nla_len: __u16, field
/third_party/rust/crates/linux-raw-sys/src/s390x/
Dnetlink.rs407 pub nla_len: __u16, field
/third_party/rust/crates/linux-raw-sys/src/x86/
Dnetlink.rs399 pub nla_len: __u16, field
/third_party/rust/crates/linux-raw-sys/src/x86_64/
Dnetlink.rs399 pub nla_len: __u16, field
/third_party/rust/crates/linux-raw-sys/src/mips64/
Dnetlink.rs408 pub nla_len: __u16, field
/third_party/rust/crates/linux-raw-sys/src/mips/
Dnetlink.rs408 pub nla_len: __u16, field
/third_party/rust/crates/linux-raw-sys/src/powerpc64/
Dnetlink.rs405 pub nla_len: __u16, field
/third_party/rust/crates/linux-raw-sys/src/x32/
Dnetlink.rs399 pub nla_len: __u16, field
/third_party/rust/crates/linux-raw-sys/src/riscv64/
Dnetlink.rs398 pub nla_len: __u16, field
/third_party/rust/crates/linux-raw-sys/src/powerpc/
Dnetlink.rs405 pub nla_len: __u16, field

12