/third_party/libnl/lib/ |
D | attr.c | 110 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 …]
|
D | msg.c | 887 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/ |
D | cgroup_regression_getdelays.c | 124 __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/ |
D | wiphy.py | 40 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/ |
D | netlink-kernel.h | 246 __u16 nla_type;
|
D | attr.h | 86 extern int nla_type(const struct nlattr *);
|
/third_party/libnl/tests/ |
D | check-attr.c | 71 fail_if(nla_type(a) != i, "Expected attribute %d", i); in START_TEST()
|
/third_party/libnl/include/linux-private/linux/ |
D | netlink.h | 208 __u16 nla_type; member
|
/third_party/libnl/lib/route/qdisc/ |
D | mqprio.c | 84 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/ |
D | libnl-3.sym | 285 nla_type;
|
/third_party/libnl/lib/netfilter/ |
D | queue_msg.c | 268 nla.nla_type = NFQA_PAYLOAD; in nfnl_queue_msg_send_verdict_payload()
|
/third_party/libnl/lib/route/link/ |
D | bridge.c | 195 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()
|
D | macvlan.c | 131 if (nla_type(nla) != IFLA_MACVLAN_MACADDR || in macvlan_parse()
|
/third_party/grpc/src/core/lib/iomgr/ |
D | buffer_list.cc | 108 switch (attr->nla_type) { in extract_opt_stats_from_cmsg()
|
/third_party/wpa_supplicant/wpa_supplicant-2.9_standard/src/drivers/ |
D | driver_nl80211_capa.c | 111 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/ |
D | driver_nl80211_capa.c | 111 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/ |
D | capi.i | 814 extern int nla_type(const struct nlattr *);
|
/third_party/libnl/lib/route/ |
D | link.c | 725 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/ |
D | core.txt | 1761 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)]`.
|