/third_party/libnl/lib/netfilter/ |
D | log_msg.c | 86 nfnl_log_msg_set_mark(msg, ntohl(nla_get_u32(attr))); in nfnlmsg_log_msg_parse() 100 nfnl_log_msg_set_indev(msg, ntohl(nla_get_u32(attr))); in nfnlmsg_log_msg_parse() 104 nfnl_log_msg_set_outdev(msg, ntohl(nla_get_u32(attr))); in nfnlmsg_log_msg_parse() 108 nfnl_log_msg_set_physindev(msg, ntohl(nla_get_u32(attr))); in nfnlmsg_log_msg_parse() 112 nfnl_log_msg_set_physoutdev(msg, ntohl(nla_get_u32(attr))); in nfnlmsg_log_msg_parse() 137 nfnl_log_msg_set_uid(msg, ntohl(nla_get_u32(attr))); in nfnlmsg_log_msg_parse() 141 nfnl_log_msg_set_gid(msg, ntohl(nla_get_u32(attr))); in nfnlmsg_log_msg_parse() 145 nfnl_log_msg_set_seq(msg, ntohl(nla_get_u32(attr))); in nfnlmsg_log_msg_parse() 149 nfnl_log_msg_set_seq_global(msg, ntohl(nla_get_u32(attr))); in nfnlmsg_log_msg_parse()
|
D | queue_msg.c | 86 nfnl_queue_msg_set_mark(msg, ntohl(nla_get_u32(attr))); in nfnlmsg_queue_msg_parse() 100 nfnl_queue_msg_set_indev(msg, ntohl(nla_get_u32(attr))); in nfnlmsg_queue_msg_parse() 104 nfnl_queue_msg_set_outdev(msg, ntohl(nla_get_u32(attr))); in nfnlmsg_queue_msg_parse() 108 nfnl_queue_msg_set_physindev(msg, ntohl(nla_get_u32(attr))); in nfnlmsg_queue_msg_parse() 112 nfnl_queue_msg_set_physoutdev(msg, ntohl(nla_get_u32(attr))); in nfnlmsg_queue_msg_parse()
|
D | ct.c | 274 ntohl(nla_get_u32(tb[CTA_COUNTERS32_PACKETS]))); in ct_parse_counters() 280 ntohl(nla_get_u32(tb[CTA_COUNTERS32_BYTES]))); in ct_parse_counters() 355 nfnl_ct_set_status(ct, ntohl(nla_get_u32(tb[CTA_STATUS]))); in nfnlmsg_ct_parse() 357 nfnl_ct_set_timeout(ct, ntohl(nla_get_u32(tb[CTA_TIMEOUT]))); in nfnlmsg_ct_parse() 359 nfnl_ct_set_mark(ct, ntohl(nla_get_u32(tb[CTA_MARK]))); in nfnlmsg_ct_parse() 361 nfnl_ct_set_use(ct, ntohl(nla_get_u32(tb[CTA_USE]))); in nfnlmsg_ct_parse() 363 nfnl_ct_set_id(ct, ntohl(nla_get_u32(tb[CTA_ID]))); in nfnlmsg_ct_parse()
|
D | exp.c | 199 nfnl_exp_set_nat_dir(exp, nla_get_u32(tb[CTA_EXPECT_NAT_DIR])); in exp_parse_nat() 267 nfnl_exp_set_class(exp, ntohl(nla_get_u32(tb[CTA_EXPECT_CLASS]))); in nfnlmsg_exp_parse() 273 nfnl_exp_set_timeout(exp, ntohl(nla_get_u32(tb[CTA_EXPECT_TIMEOUT]))); in nfnlmsg_exp_parse() 276 nfnl_exp_set_id(exp, ntohl(nla_get_u32(tb[CTA_EXPECT_ID]))); in nfnlmsg_exp_parse() 285 nfnl_exp_set_flags(exp, ntohl(nla_get_u32(tb[CTA_EXPECT_FLAGS]))); in nfnlmsg_exp_parse()
|
/third_party/libnl/python/examples/ |
D | iface.py | 16 thiswiphy = nl.nla_get_u32(attr[nl80211.NL80211_ATTR_WIPHY]) 21 print("\tifindex %d" % nl.nla_get_u32(attr[nl80211.NL80211_ATTR_IFINDEX])) 29 iftype = nl.nla_get_u32(attr[nl80211.NL80211_ATTR_IFTYPE]) 32 freq = nl.nla_get_u32(attr[nl80211.NL80211_ATTR_WIPHY_FREQ]) 37 chanw = nl.nla_get_u32(attr[nl80211.NL80211_ATTR_CHANNEL_WIDTH]) 41 nl.nla_get_u32(attr[nl80211.NL80211_ATTR_CENTER_FREQ1])) 44 nl.nla_get_u32(attr[nl80211.NL80211_ATTR_CENTER_FREQ2])) 46 channel_type = nl.nla_get_u32(attr[nl80211.NL80211_ATTR_WIPHY_CHANNEL_TYPE])
|
D | wiphy.py | 30 freq = nl.nla_get_u32(fattr[nl80211.NL80211_FREQUENCY_ATTR_FREQ]) 33 …sys.stdout.write(" (%.1f dBm)" % (0.01 * nl.nla_get_u32(fattr[nl80211.NL80211_FREQUENCY_ATTR_MAX_T…
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/drivers/ |
D | driver_nl80211_event.c | 354 …*reason_code = nla_get_u32(tb_sta_info[QCA_WLAN_VENDOR_ATTR_GET_STA_INFO_CONNECT_FAIL_REASON_CODE]… in qca_drv_connect_fail_reason_code_handler() 485 reason = nla_get_u32(timeout_reason); in mlme_event_connect() 701 ifidx = nla_get_u32(ifindex); in mlme_event_ch_switch() 710 enum nl80211_channel_type ch_type = nla_get_u32(type); in mlme_event_ch_switch() 728 chan_offset = calculate_chan_offset(nla_get_u32(bw), in mlme_event_ch_switch() 729 nla_get_u32(freq), in mlme_event_ch_switch() 730 nla_get_u32(cf1), in mlme_event_ch_switch() 731 cf2 ? nla_get_u32(cf2) : 0); in mlme_event_ch_switch() 739 data.ch_switch.freq = nla_get_u32(freq); in mlme_event_ch_switch() 743 data.ch_switch.ch_width = convert2width(nla_get_u32(bw)); in mlme_event_ch_switch() [all …]
|
D | driver_nl80211_capa.c | 33 *feat = nla_get_u32(tb_msg[NL80211_ATTR_PROTOCOL_FEATURES]); in protocol_feature_handler() 195 nla_get_u32(tb_comb[NL80211_IFACE_COMB_NUM_CHANNELS]); in wiphy_info_iface_comb_process() 232 switch (nla_get_u32(nl_cmd)) { in wiphy_info_supp_cmds() 495 capa->max_remain_on_chan = nla_get_u32(tb); in wiphy_info_max_roc() 680 flags = nla_get_u32(tb); in wiphy_info_feature_flags() 745 protocols = nla_get_u32(tb); in wiphy_info_probe_resp_offload() 804 capa->iftype = nla_get_u32(tb1[NL80211_ATTR_IFTYPE]); in wiphy_info_extended_capab() 861 drv->wiphy_idx = nla_get_u32(tb[NL80211_ATTR_WIPHY]); in wiphy_info_handler() 879 nla_get_u32(tb[NL80211_ATTR_MAX_NUM_SCHED_SCAN_PLANS]); in wiphy_info_handler() 882 nla_get_u32(tb[NL80211_ATTR_MAX_SCAN_PLAN_INTERVAL]); in wiphy_info_handler() [all …]
|
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/drivers/ |
D | driver_nl80211_event.c | 361 reason = nla_get_u32(timeout_reason); in mlme_event_connect() 553 ifidx = nla_get_u32(ifindex); in mlme_event_ch_switch() 562 enum nl80211_channel_type ch_type = nla_get_u32(type); in mlme_event_ch_switch() 580 chan_offset = calculate_chan_offset(nla_get_u32(bw), in mlme_event_ch_switch() 581 nla_get_u32(freq), in mlme_event_ch_switch() 582 nla_get_u32(cf1), in mlme_event_ch_switch() 583 cf2 ? nla_get_u32(cf2) : 0); in mlme_event_ch_switch() 589 data.ch_switch.freq = nla_get_u32(freq); in mlme_event_ch_switch() 593 data.ch_switch.ch_width = convert2width(nla_get_u32(bw)); in mlme_event_ch_switch() 595 data.ch_switch.cf1 = nla_get_u32(cf1); in mlme_event_ch_switch() [all …]
|
D | driver_nl80211_capa.c | 32 *feat = nla_get_u32(tb_msg[NL80211_ATTR_PROTOCOL_FEATURES]); in protocol_feature_handler() 190 nla_get_u32(tb_comb[NL80211_IFACE_COMB_NUM_CHANNELS]); in wiphy_info_iface_comb_process() 227 switch (nla_get_u32(nl_cmd)) { in wiphy_info_supp_cmds() 314 capa->max_remain_on_chan = nla_get_u32(tb); in wiphy_info_max_roc() 448 flags = nla_get_u32(tb); in wiphy_info_feature_flags() 519 protocols = nla_get_u32(tb); in wiphy_info_probe_resp_offload() 578 capa->iftype = nla_get_u32(tb1[NL80211_ATTR_IFTYPE]); in wiphy_info_extended_capab() 635 drv->wiphy_idx = nla_get_u32(tb[NL80211_ATTR_WIPHY]); in wiphy_info_handler() 653 nla_get_u32(tb[NL80211_ATTR_MAX_NUM_SCHED_SCAN_PLANS]); in wiphy_info_handler() 656 nla_get_u32(tb[NL80211_ATTR_MAX_SCAN_PLAN_INTERVAL]); in wiphy_info_handler() [all …]
|
/third_party/libnl/lib/route/qdisc/ |
D | fq_codel.c | 57 fq_codel->fq_target = nla_get_u32(tb[TCA_FQ_CODEL_TARGET]); in fq_codel_msg_parser() 62 fq_codel->fq_interval = nla_get_u32(tb[TCA_FQ_CODEL_INTERVAL]); in fq_codel_msg_parser() 67 fq_codel->fq_limit = nla_get_u32(tb[TCA_FQ_CODEL_LIMIT]); in fq_codel_msg_parser() 72 fq_codel->fq_quantum = nla_get_u32(tb[TCA_FQ_CODEL_QUANTUM]); in fq_codel_msg_parser() 77 fq_codel->fq_flows = nla_get_u32(tb[TCA_FQ_CODEL_FLOWS]); in fq_codel_msg_parser() 82 fq_codel->fq_ecn = nla_get_u32(tb[TCA_FQ_CODEL_ECN]); in fq_codel_msg_parser()
|
/third_party/libnl/lib/genl/ |
D | ctrl.c | 87 id = nla_get_u32(tb[CTRL_ATTR_MCAST_GRP_ID]); in parse_mcast_grps() 136 uint32_t version = nla_get_u32(info->attrs[CTRL_ATTR_VERSION]); in ctrl_msg_parser() 141 uint32_t hdrsize = nla_get_u32(info->attrs[CTRL_ATTR_HDRSIZE]); in ctrl_msg_parser() 146 uint32_t maxattr = nla_get_u32(info->attrs[CTRL_ATTR_MAXATTR]); in ctrl_msg_parser() 169 id = nla_get_u32(tb[CTRL_ATTR_OP_ID]); in ctrl_msg_parser() 172 flags = nla_get_u32(tb[CTRL_ATTR_OP_FLAGS]); in ctrl_msg_parser()
|
/third_party/libnl/lib/route/link/ |
D | ipvti.c | 96 ipvti->link = nla_get_u32(tb[IFLA_VTI_LINK]); in ipvti_parse() 101 ipvti->ikey = nla_get_u32(tb[IFLA_VTI_IKEY]); in ipvti_parse() 106 ipvti->okey = nla_get_u32(tb[IFLA_VTI_OKEY]); in ipvti_parse() 111 ipvti->local = nla_get_u32(tb[IFLA_VTI_LOCAL]); in ipvti_parse() 116 ipvti->remote = nla_get_u32(tb[IFLA_VTI_REMOTE]); in ipvti_parse()
|
D | ipgre.c | 111 ipgre->link = nla_get_u32(tb[IFLA_GRE_LINK]); in ipgre_parse() 126 ipgre->ikey = nla_get_u32(tb[IFLA_GRE_IKEY]); in ipgre_parse() 131 ipgre->okey = nla_get_u32(tb[IFLA_GRE_OKEY]); in ipgre_parse() 136 ipgre->local = nla_get_u32(tb[IFLA_GRE_LOCAL]); in ipgre_parse() 141 ipgre->remote = nla_get_u32(tb[IFLA_GRE_REMOTE]); in ipgre_parse()
|
D | ipip.c | 99 ipip->link = nla_get_u32(tb[IFLA_IPTUN_LINK]); in ipip_parse() 104 ipip->local = nla_get_u32(tb[IFLA_IPTUN_LOCAL]); in ipip_parse() 109 ipip->remote = nla_get_u32(tb[IFLA_IPTUN_REMOTE]); in ipip_parse()
|
D | sit.c | 117 sit->link = nla_get_u32(tb[IFLA_IPTUN_LINK]); in sit_parse() 122 sit->local = nla_get_u32(tb[IFLA_IPTUN_LOCAL]); in sit_parse() 127 sit->remote = nla_get_u32(tb[IFLA_IPTUN_REMOTE]); in sit_parse() 163 sit->ip6rd_relay_prefix = nla_get_u32(tb[IFLA_IPTUN_6RD_RELAY_PREFIX]); in sit_parse()
|
D | xfrmi.c | 89 xfrmi->link = nla_get_u32(tb[IFLA_XFRM_LINK]); in xfrmi_parse() 94 xfrmi->if_id = nla_get_u32(tb[IFLA_XFRM_IF_ID]); in xfrmi_parse()
|
D | ip6tnl.c | 109 ip6_tnl->link = nla_get_u32(tb[IFLA_IPTUN_LINK]); in ip6_tnl_parse() 139 ip6_tnl->flags = nla_get_u32(tb[IFLA_IPTUN_FLAGS]); in ip6_tnl_parse() 144 ip6_tnl->flowinfo = nla_get_u32(tb[IFLA_IPTUN_FLOWINFO]); in ip6_tnl_parse()
|
/third_party/libnl/lib/route/cls/ |
D | fw.c | 54 f->cf_classid = nla_get_u32(tb[TCA_FW_CLASSID]); in fw_msg_parser() 78 f->cf_fwmask = nla_get_u32(tb[TCA_FW_MASK]); in fw_msg_parser()
|
D | mall.c | 179 mall->m_classid = nla_get_u32(tb[TCA_MATCHALL_CLASSID]); in mall_msg_parser() 184 mall->m_flags = nla_get_u32(tb[TCA_MATCHALL_FLAGS]); in mall_msg_parser()
|
/third_party/libnl/lib/route/ |
D | neightbl.c | 155 ntbl->nt_gc_thresh1 = nla_get_u32(tb[NDTA_THRESH1]); in neightbl_msg_parser() 160 ntbl->nt_gc_thresh2 = nla_get_u32(tb[NDTA_THRESH2]); in neightbl_msg_parser() 165 ntbl->nt_gc_thresh3 = nla_get_u32(tb[NDTA_THRESH3]); in neightbl_msg_parser() 170 ntbl->nt_gc_interval = nla_get_u32(tb[NDTA_GC_INTERVAL]); in neightbl_msg_parser() 196 p->ntp_ ##var = nla_get_u32(tbp[NDTPA_ ##name]); \ in neightbl_msg_parser()
|
D | link.c | 481 link->l_txqlen = nla_get_u32(tb[IFLA_TXQLEN]); in rtnl_link_info_parse() 486 link->l_mtu = nla_get_u32(tb[IFLA_MTU]); in rtnl_link_info_parse() 510 link->l_link = nla_get_u32(tb[IFLA_LINK]); in rtnl_link_info_parse() 520 link->l_weight = nla_get_u32(tb[IFLA_WEIGHT]); in rtnl_link_info_parse() 536 link->l_master = nla_get_u32(tb[IFLA_MASTER]); in rtnl_link_info_parse() 546 link->l_carrier_changes = nla_get_u32(tb[IFLA_CARRIER_CHANGES]); in rtnl_link_info_parse() 568 link->l_ns_fd = nla_get_u32(tb[IFLA_NET_NS_FD]); in rtnl_link_info_parse() 573 link->l_ns_pid = nla_get_u32(tb[IFLA_NET_NS_PID]); in rtnl_link_info_parse() 635 link->l_num_vf = nla_get_u32(tb[IFLA_NUM_VF]); in link_msg_parser() 742 link->l_promiscuity = nla_get_u32(tb[IFLA_PROMISCUITY]); in link_msg_parser() [all …]
|
D | rule.c | 135 rule->r_table = nla_get_u32(tb[FRA_TABLE]); in rule_msg_parser() 151 rule->r_prio = nla_get_u32(tb[FRA_PRIORITY]); in rule_msg_parser() 156 rule->r_mark = nla_get_u32(tb[FRA_FWMARK]); in rule_msg_parser() 161 rule->r_mask = nla_get_u32(tb[FRA_FWMASK]); in rule_msg_parser() 166 rule->r_goto = nla_get_u32(tb[FRA_GOTO]); in rule_msg_parser() 187 rule->r_flow = nla_get_u32(tb[FRA_FLOW]); in rule_msg_parser()
|
/third_party/libnl/lib/route/act/ |
D | skbedit.c | 50 u->s_prio = nla_get_u32(tb[TCA_SKBEDIT_PRIORITY]); in skbedit_msg_parser() 60 u->s_mark = nla_get_u32(tb[TCA_SKBEDIT_MARK]); in skbedit_msg_parser()
|
/third_party/libnl/tests/ |
D | check-attr.c | 73 fail_if(nla_get_u32(a) != i, "Expected attribute value %d", i); in START_TEST()
|