/external/libnl/include/netlink/ |
D | attr.h | 77 extern int nla_type(const struct nlattr *); 78 extern void * nla_data(const struct nlattr *); 79 extern int nla_len(const struct nlattr *); 80 extern int nla_ok(const struct nlattr *, int); 81 extern struct nlattr * nla_next(const struct nlattr *, int *); 82 extern int nla_parse(struct nlattr **, int, struct nlattr *, 84 extern int nla_validate(struct nlattr *, int, int, 86 extern struct nlattr * nla_find(struct nlattr *, int, int); 89 extern int nla_memcpy(void *, struct nlattr *, int); 90 extern size_t nla_strlcpy(char *, const struct nlattr *, size_t); [all …]
|
D | msg.h | 58 extern struct nlattr * nlmsg_attrdata(const struct nlmsghdr *, int); 65 extern int nlmsg_parse(struct nlmsghdr *, int, struct nlattr **, 67 extern struct nlattr * nlmsg_find_attr(struct nlmsghdr *, int, int);
|
/external/libnl/lib/ |
D | attr.c | 449 int nla_type(const struct nlattr *nla) in nla_type() 460 void *nla_data(const struct nlattr *nla) in nla_data() 471 int nla_len(const struct nlattr *nla) in nla_len() 488 int nla_ok(const struct nlattr *nla, int remaining) in nla_ok() 511 struct nlattr *nla_next(const struct nlattr *nla, int *remaining) in nla_next() 516 return (struct nlattr *) ((char *) nla + totlen); in nla_next() 527 static int validate_nla(struct nlattr *nla, int maxtype, in validate_nla() 583 int nla_parse(struct nlattr *tb[], int maxtype, struct nlattr *head, int len, in nla_parse() 586 struct nlattr *nla; in nla_parse() 589 memset(tb, 0, sizeof(struct nlattr *) * (maxtype + 1)); in nla_parse() [all …]
|
/external/wpa_supplicant_8/src/drivers/ |
D | driver_nl80211_capa.c | 25 struct nlattr *tb_msg[NL80211_ATTR_MAX + 1]; in protocol_feature_handler() 103 struct nlattr *tb) in wiphy_info_supported_iftypes() 105 struct nlattr *nl_mode; in wiphy_info_supported_iftypes() 141 struct nlattr *nl_combi) in wiphy_info_iface_comb_process() 143 struct nlattr *tb_comb[NUM_NL80211_IFACE_COMB]; in wiphy_info_iface_comb_process() 144 struct nlattr *tb_limit[NUM_NL80211_IFACE_LIMIT]; in wiphy_info_iface_comb_process() 145 struct nlattr *nl_limit, *nl_mode; in wiphy_info_iface_comb_process() 206 struct nlattr *tb) in wiphy_info_iface_comb() 208 struct nlattr *nl_combi; in wiphy_info_iface_comb() 222 struct nlattr *tb) in wiphy_info_supp_cmds() [all …]
|
D | driver_nl80211_event.c | 183 static void nl80211_parse_wmm_params(struct nlattr *wmm_attr, in nl80211_parse_wmm_params() 186 struct nlattr *wmm_info[NL80211_STA_WME_MAX + 1]; in nl80211_parse_wmm_params() 204 const u8 *frame, size_t len, struct nlattr *wmm) in mlme_event_assoc() 265 enum nl80211_commands cmd, struct nlattr *status, in mlme_event_connect() 266 struct nlattr *addr, struct nlattr *req_ie, in mlme_event_connect() 267 struct nlattr *resp_ie, in mlme_event_connect() 268 struct nlattr *authorized, in mlme_event_connect() 269 struct nlattr *key_replay_ctr, in mlme_event_connect() 270 struct nlattr *ptk_kck, in mlme_event_connect() 271 struct nlattr *ptk_kek, in mlme_event_connect() [all …]
|
D | driver_nl80211_scan.c | 25 struct nlattr *tb[NL80211_ATTR_MAX + 1]; in get_noise_for_scan_results() 27 struct nlattr *sinfo[NL80211_SURVEY_INFO_MAX + 1]; in get_noise_for_scan_results() 131 struct nlattr *ssids; in nl80211_scan_common() 158 struct nlattr *freqs; in nl80211_scan_common() 245 struct nlattr *rates; in wpa_driver_nl80211_scan() 333 struct nlattr *plans; in nl80211_sched_scan_add_scan_plans() 342 struct nlattr *plan = nla_nest_start(msg, i + 1); in nl80211_sched_scan_add_scan_plans() 442 struct nlattr *match_sets; in wpa_driver_nl80211_sched_scan() 448 struct nlattr *match_set_ssid; in wpa_driver_nl80211_sched_scan() 475 struct nlattr *match_set_rssi; in wpa_driver_nl80211_sched_scan() [all …]
|
/external/iproute2/tipc/ |
D | link.c | 29 struct nlattr *info[TIPC_NLA_MAX + 1] = {}; in link_list_cb() 30 struct nlattr *attrs[TIPC_NLA_LINK_MAX + 1] = {}; in link_list_cb() 72 struct nlattr *info[TIPC_NLA_MAX + 1] = {}; in link_get_cb() 73 struct nlattr *attrs[TIPC_NLA_LINK_MAX + 1] = {}; in link_get_cb() 74 struct nlattr *props[TIPC_NLA_PROP_MAX + 1] = {}; in link_get_cb() 170 struct nlattr *nest; in cmd_link_stat_reset() 209 static int _show_link_stat(struct nlattr *attrs[], struct nlattr *prop[], in _show_link_stat() 210 struct nlattr *stats[]) in _show_link_stat() 280 static int _show_bc_link_stat(struct nlattr *prop[], struct nlattr *stats[]) in _show_bc_link_stat() 322 struct nlattr *info[TIPC_NLA_MAX + 1] = {}; in link_stat_show_cb() [all …]
|
D | socket.c | 29 struct nlattr *info[TIPC_NLA_MAX + 1] = {}; in publ_list_cb() 30 struct nlattr *attrs[TIPC_NLA_SOCK_MAX + 1] = {}; in publ_list_cb() 50 struct nlattr *nest; in publ_list() 67 struct nlattr *info[TIPC_NLA_MAX + 1] = {}; in sock_list_cb() 68 struct nlattr *attrs[TIPC_NLA_SOCK_MAX + 1] = {}; in sock_list_cb() 82 struct nlattr *con[TIPC_NLA_CON_MAX + 1] = {}; in sock_list_cb()
|
D | media.c | 29 struct nlattr *info[TIPC_NLA_MAX + 1] = {}; in media_list_cb() 30 struct nlattr *attrs[TIPC_NLA_MEDIA_MAX + 1] = {}; in media_list_cb() 67 struct nlattr *info[TIPC_NLA_MAX + 1] = {}; in media_get_cb() 68 struct nlattr *attrs[TIPC_NLA_MEDIA_MAX + 1] = {}; in media_get_cb() 69 struct nlattr *props[TIPC_NLA_PROP_MAX + 1] = {}; in media_get_cb() 93 struct nlattr *nest; in cmd_media_get_prop() 172 struct nlattr *props; in cmd_media_set_prop() 173 struct nlattr *attrs; in cmd_media_set_prop()
|
D | bearer.c | 89 struct nlattr *info[TIPC_NLA_MAX + 1] = {}; in get_netid_cb() 90 struct nlattr *attrs[TIPC_NLA_NET_MAX + 1] = {}; in get_netid_cb() 131 struct nlattr *nest; in enable_udp_bearer() 229 struct nlattr *nest; in cmd_bearer_enable() 270 struct nlattr *props; in cmd_bearer_enable() 358 struct nlattr *nest; in cmd_bearer_disable() 444 struct nlattr *props; in cmd_bearer_set_prop() 445 struct nlattr *attrs; in cmd_bearer_set_prop() 556 struct nlattr *info[TIPC_NLA_MAX + 1] = {}; in bearer_get_cb() 557 struct nlattr *attrs[TIPC_NLA_BEARER_MAX + 1] = {}; in bearer_get_cb() [all …]
|
D | node.c | 31 struct nlattr *info[TIPC_NLA_MAX + 1] = {}; in node_list_cb() 32 struct nlattr *attrs[TIPC_NLA_NODE_MAX + 1] = {}; in node_list_cb() 79 struct nlattr *nest; in cmd_node_set_addr() 136 struct nlattr *info[TIPC_NLA_MAX + 1] = {}; in netid_get_cb() 137 struct nlattr *attrs[TIPC_NLA_NET_MAX + 1] = {}; in netid_get_cb() 175 struct nlattr *nest; in cmd_node_set_netid()
|
D | nametable.c | 31 struct nlattr *info[TIPC_NLA_MAX + 1] = {}; in nametable_show_cb() 32 struct nlattr *attrs[TIPC_NLA_NAME_TABLE_MAX + 1] = {}; in nametable_show_cb() 33 struct nlattr *publ[TIPC_NLA_PUBL_MAX + 1] = {}; in nametable_show_cb()
|
/external/iw/ |
D | mesh.c | 32 void (*nla_print_fn)(struct nlattr *); 130 static void _print_u8(struct nlattr *a) in _print_u8() 135 static void _print_u16(struct nlattr *a) in _print_u16() 140 static void _print_u16_timeout(struct nlattr *a) in _print_u16_timeout() 145 static void _print_u16_in_TUs(struct nlattr *a) in _print_u16_in_TUs() 150 static void _print_u32(struct nlattr *a) in _print_u32() 155 static void _print_u32_timeout(struct nlattr *a) in _print_u32_timeout() 160 static void _print_u32_in_seconds(struct nlattr *a) in _print_u32_in_seconds() 165 static void _print_u32_in_TUs(struct nlattr *a) in _print_u32_in_TUs() 170 static void _print_u32_power_mode(struct nlattr *a) in _print_u32_power_mode() [all …]
|
D | hwsim.c | 37 struct nlattr *attrs[NL80211_ATTR_MAX + 1]; in print_hwsim_ps_handler() 38 struct nlattr *tb[HWSIM_TM_ATTR_MAX + 1]; in print_hwsim_ps_handler() 59 struct nlattr *tmdata; in handle_hwsim_getps() 81 struct nlattr *tmdata; in handle_hwsim_setps() 113 struct nlattr *tmdata; in handle_hwsim_stop_queues() 135 struct nlattr *tmdata; in handle_hwsim_wake_queues()
|
D | info.c | 80 struct nlattr *tb_msg[NL80211_ATTR_MAX + 1]; in print_phy_handler() 83 struct nlattr *tb_band[NL80211_BAND_ATTR_MAX + 1]; in print_phy_handler() 85 struct nlattr *tb_freq[NL80211_FREQUENCY_ATTR_MAX + 1]; in print_phy_handler() 95 struct nlattr *tb_rate[NL80211_BITRATE_ATTR_MAX + 1]; in print_phy_handler() 101 struct nlattr *nl_band; in print_phy_handler() 102 struct nlattr *nl_freq; in print_phy_handler() 103 struct nlattr *nl_rate; in print_phy_handler() 104 struct nlattr *nl_mode; in print_phy_handler() 105 struct nlattr *nl_cmd; in print_phy_handler() 106 struct nlattr *nl_if, *nl_ftype; in print_phy_handler() [all …]
|
D | event.c | 18 static int parse_beacon_hint_chan(struct nlattr *tb, in parse_beacon_hint_chan() 21 struct nlattr *tb_freq[NL80211_FREQUENCY_ATTR_MAX + 1]; in parse_beacon_hint_chan() 44 static void print_frame(struct print_event_args *args, struct nlattr *attr) in print_frame() 102 static void parse_cqm_event(struct nlattr **attrs) in parse_cqm_event() 109 struct nlattr *cqm[NL80211_ATTR_CQM_MAX + 1]; in parse_cqm_event() 110 struct nlattr *cqm_attr = attrs[NL80211_ATTR_CQM]; in parse_cqm_event() 177 static void parse_mic_failure(struct nlattr **attrs) in parse_mic_failure() 207 static void parse_wowlan_wake_event(struct nlattr **attrs) in parse_wowlan_wake_event() 209 struct nlattr *tb[NUM_NL80211_WOWLAN_TRIG], in parse_wowlan_wake_event() 238 struct nlattr *match, *freq; in parse_wowlan_wake_event() [all …]
|
D | wowlan.c | 24 struct nlattr *tcp; in wowlan_parse_tcp_file() 186 struct nlattr *nd; in wowlan_parse_net_detect() 204 struct nlattr *wowlan, *pattern; in handle_wowlan_enable() 350 struct nlattr *attrs[NL80211_ATTR_MAX + 1]; in print_wowlan_handler() 351 struct nlattr *trig[NUM_NL80211_WOWLAN_TRIG]; in print_wowlan_handler() 353 struct nlattr *pattern; in print_wowlan_handler() 386 struct nlattr *match, *freq, in print_wowlan_handler() 432 struct nlattr *patattr[NUM_NL80211_PKTPAT]; in print_wowlan_handler()
|
D | coalesce.c | 23 struct nlattr *nl_rules, *nl_rule = NULL, *nl_pats, *nl_pat; in handle_coalesce_enable() 200 struct nlattr *attrs[NL80211_ATTR_MAX + 1]; in print_coalesce_handler() 202 struct nlattr *pattern, *rule; in print_coalesce_handler() 218 struct nlattr *ruleattr[NUM_NL80211_ATTR_COALESCE_RULE]; in print_coalesce_handler() 237 struct nlattr *patattr[NUM_NL80211_PKTPAT]; in print_coalesce_handler()
|
D | link.c | 26 struct nlattr *tb[NL80211_ATTR_MAX + 1]; in link_bss_handler() 28 struct nlattr *bss[NL80211_BSS_MAX + 1]; in link_bss_handler() 115 struct nlattr *tb[NL80211_ATTR_MAX + 1]; in print_link_sta() 117 struct nlattr *sinfo[NL80211_STA_INFO_MAX + 1]; in print_link_sta() 118 struct nlattr *binfo[NL80211_STA_BSS_PARAM_MAX + 1]; in print_link_sta()
|
D | genl.c | 38 struct nlattr *tb[CTRL_ATTR_MAX + 1]; in family_handler() 40 struct nlattr *mcgrp; in family_handler() 50 struct nlattr *tb_mcgrp[CTRL_ATTR_MCAST_GRP_MAX + 1]; in family_handler()
|
/external/libnl/lib/netfilter/ |
D | ct.c | 105 static int ct_parse_ip(struct nfnl_ct *ct, int repl, struct nlattr *attr) in ct_parse_ip() 107 struct nlattr *tb[CTA_IP_MAX+1]; in ct_parse_ip() 160 static int ct_parse_proto(struct nfnl_ct *ct, int repl, struct nlattr *attr) in ct_parse_proto() 162 struct nlattr *tb[CTA_PROTO_MAX+1]; in ct_parse_proto() 190 static int ct_parse_tuple(struct nfnl_ct *ct, int repl, struct nlattr *attr) in ct_parse_tuple() 192 struct nlattr *tb[CTA_TUPLE_MAX+1]; in ct_parse_tuple() 214 static int ct_parse_protoinfo_tcp(struct nfnl_ct *ct, struct nlattr *attr) in ct_parse_protoinfo_tcp() 216 struct nlattr *tb[CTA_PROTOINFO_TCP_MAX+1]; in ct_parse_protoinfo_tcp() 231 static int ct_parse_protoinfo(struct nfnl_ct *ct, struct nlattr *attr) in ct_parse_protoinfo() 233 struct nlattr *tb[CTA_PROTOINFO_MAX+1]; in ct_parse_protoinfo() [all …]
|
/external/autotest/client/deps/iwcap/src/ |
D | iwcap.c | 221 static int check_iftype(struct nlattr *tb_msg[], int nl_type) in check_iftype() 223 struct nlattr *nl_mode; in check_iftype() 273 struct nlattr *tb_msg[NL80211_ATTR_MAX + 1]; in check_phy_handler() 277 struct nlattr *tb_band[NL80211_BAND_ATTR_MAX + 1]; in check_phy_handler() 279 struct nlattr *tb_freq[NL80211_FREQUENCY_ATTR_MAX + 1]; in check_phy_handler() 289 struct nlattr *tb_rate[NL80211_BITRATE_ATTR_MAX + 1]; in check_phy_handler() 295 struct nlattr *nl_band; in check_phy_handler() 296 struct nlattr *nl_freq; in check_phy_handler() 297 struct nlattr *nl_rate; in check_phy_handler()
|
/external/libnl/lib/route/link/ |
D | vlan.c | 83 static int vlan_parse(struct rtnl_link *link, struct nlattr *data, in vlan_parse() 84 struct nlattr *xstats) in vlan_parse() 86 struct nlattr *tb[IFLA_VLAN_MAX+1]; in vlan_parse() 115 struct nlattr *nla; in vlan_parse() 137 struct nlattr *nla; in vlan_parse() 262 struct nlattr *data; in vlan_put_attrs() 281 struct nlattr *qos; in vlan_put_attrs() 301 struct nlattr *qos; in vlan_put_attrs()
|
/external/libnl/include/netlink/route/link/ |
D | info-api.h | 43 struct nlattr *, 44 struct nlattr *);
|
/external/libnl/include/netlink/genl/ |
D | genl.h | 34 extern int genlmsg_parse(struct nlmsghdr *, int, struct nlattr **, 38 extern struct nlattr * genlmsg_attrdata(const struct genlmsghdr *, int);
|