Home
last modified time | relevance | path

Searched refs:nla_type (Results 1 – 19 of 19) sorted by relevance

/third_party/libnl/lib/
Dattr.c110 int nla_type(const struct nlattr *nla) in nla_type() function
112 return nla->nla_type & NLA_TYPE_MASK; in nla_type()
194 int type = nla_type(nla); in validate_nla()
252 int type = nla_type(nla); in nla_parse()
330 if (nla_type(nla) == attrtype) in nla_find()
471 nla->nla_type = attrtype; in nla_reserve()
479 "nlmsg_len=%d\n", msg, nla, nla->nla_type, in nla_reserve()
516 msg, nla, nla->nla_type, datalen, in nla_put()
911 msg, start, start->nla_type); in nla_nest_start()
948 msg, start, start->nla_type, pad); in _nest_end()
[all …]
Dmsg.c887 if (nla->nla_type == 0) in dump_attrs()
890 fprintf(ofd, " [ATTR %02d%s] %d octets\n", nla_type(nla), in dump_attrs()
/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
141 na->nla_type = nla_type; in send_cmd()
189 if (na->nla_type == CTRL_ATTR_FAMILY_ID) { in get_family_id()
439 switch (na->nla_type) { in main()
449 switch (na->nla_type) { in main()
494 na->nla_type); in main()
509 na->nla_type); in main()
/third_party/libnl/python/examples/
Dwiphy.py40 print("\tband %d:" % nl.nla_type(attr))
93 print("\t\t* %s" % nl80211.nl80211_iftype2str[nl.nla_type(nl_mode)])
98 print("\t\t* %s" % nl80211.nl80211_iftype2str[nl.nla_type(nl_mode)])
/third_party/libnl/include/netlink/
Dnetlink-kernel.h246 __u16 nla_type;
Dattr.h86 extern int nla_type(const struct nlattr *);
/third_party/libnl/tests/
Dcheck-attr.c71 fail_if(nla_type(a) != i, "Expected attribute %d", i); in START_TEST()
/third_party/libnl/include/linux-private/linux/
Dnetlink.h208 __u16 nla_type; member
/third_party/libnl/lib/route/qdisc/
Dmqprio.c84 if (nla_type(attr) != TCA_MQPRIO_MIN_RATE64) in mqprio_msg_parser()
99 if (nla_type(attr) != TCA_MQPRIO_MAX_RATE64) in mqprio_msg_parser()
/third_party/libnl/
Dlibnl-3.sym285 nla_type;
/third_party/libnl/lib/netfilter/
Dqueue_msg.c268 nla.nla_type = NFQA_PAYLOAD; in nfnl_queue_msg_send_verdict_payload()
/third_party/libnl/lib/route/link/
Dbridge.c195 if (nla_type(attr) == IFLA_BRIDGE_MODE) { in bridge_parse_af_full()
198 } else if (nla_type(attr) != IFLA_BRIDGE_VLAN_INFO) in bridge_parse_af_full()
Dmacvlan.c131 if (nla_type(nla) != IFLA_MACVLAN_MACADDR || in macvlan_parse()
/third_party/grpc/src/core/lib/iomgr/
Dbuffer_list.cc108 switch (attr->nla_type) { in extract_opt_stats_from_cmsg()
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/drivers/
Ddriver_nl80211_capa.c111 switch (nla_type(nl_mode)) { in wiphy_info_supported_iftypes()
177 int ift = nla_type(nl_mode); in wiphy_info_iface_comb_process()
1430 ac = nl_wmm->nla_type; in phy_info_freq()
1659 if (phy_info->last_mode != nl_band->nla_type) { in phy_info_band()
1687 phy_info->last_mode = nl_band->nla_type; in phy_info_band()
/third_party/wpa_supplicant/wpa_supplicant-2.9/src/drivers/
Ddriver_nl80211_capa.c111 switch (nla_type(nl_mode)) { in wiphy_info_supported_iftypes()
177 int ift = nla_type(nl_mode); in wiphy_info_iface_comb_process()
1430 ac = nl_wmm->nla_type; in phy_info_freq()
1659 if (phy_info->last_mode != nl_band->nla_type) { in phy_info_band()
1687 phy_info->last_mode = nl_band->nla_type; in phy_info_band()
/third_party/libnl/python/netlink/
Dcapi.i814 extern int nla_type(const struct nlattr *);
/third_party/libnl/lib/route/
Dlink.c725 af_ops = af_lookup_and_alloc(link, nla_type(af_attr)); in link_msg_parser()
727 char *af_data = link->l_af_data[nla_type(af_attr)]; in link_msg_parser()
/third_party/libnl/doc/
Dcore.txt1761 The functions nla_len() and nla_type() can be used to access the attribute
1763 eventual padding bytes. nla_type returns the attribute type.
1770 int nla_type(const struct nlattr *hdr);
1876 is stored in the +attrs+ array at `attrs[nla_type(attr)]`.