Home
last modified time | relevance | path

Searched refs:NLA_PUT (Results 1 – 25 of 28) sorted by relevance

12

/external/libnl/include/netlink/
Dattr.h145 #define NLA_PUT(msg, attrtype, attrlen, data) \ macro
162 NLA_PUT(msg, attrtype, sizeof(type), &__tmp); \
208 NLA_PUT(msg, attrtype, (int) strlen(value) + 1, value)
216 NLA_PUT(msg, attrtype, 0, NULL)
234 NLA_PUT(msg, attrtype, nl_addr_get_len(addr), \
244 NLA_PUT(msg, attrtype, nl_data_get_size(data), \
/external/iw/
Dwowlan.c85 NLA_PUT(msg, NL80211_WOWLAN_TCP_DST_MAC, in wowlan_parse_tcp_file()
93 NLA_PUT(msg, NL80211_WOWLAN_TCP_DATA_PAYLOAD, len, pkt); in wowlan_parse_tcp_file()
104 NLA_PUT(msg, NL80211_WOWLAN_TCP_WAKE_MASK, in wowlan_parse_tcp_file()
106 NLA_PUT(msg, NL80211_WOWLAN_TCP_WAKE_PAYLOAD, in wowlan_parse_tcp_file()
129 NLA_PUT(msg, NL80211_WOWLAN_TCP_DATA_PAYLOAD_SEQ, in wowlan_parse_tcp_file()
163 NLA_PUT(msg, NL80211_WOWLAN_TCP_DATA_PAYLOAD_TOKEN, in wowlan_parse_tcp_file()
291 NLA_PUT(patterns, NL80211_PKTPAT_MASK, in handle_wowlan_enable()
293 NLA_PUT(patterns, NL80211_PKTPAT_PATTERN, patlen, pat); in handle_wowlan_enable()
Dconnect.c24 NLA_PUT(msg, NL80211_ATTR_SSID, strlen(argv[0]), argv[0]); in iw_conn()
41 NLA_PUT(msg, NL80211_ATTR_MAC, 6, bssid); in iw_conn()
162 NLA_PUT(msg, NL80211_ATTR_SSID, strlen(argv[0]), argv[0]); in iw_auth()
168 NLA_PUT(msg, NL80211_ATTR_MAC, 6, bssid); in iw_auth()
Dibss.c70 NLA_PUT(msg, NL80211_ATTR_SSID, strlen(argv[0]), argv[0]); in join_ibss()
114 NLA_PUT(msg, NL80211_ATTR_MAC, 6, abssid); in join_ibss()
151 NLA_PUT(msg, NL80211_ATTR_BSS_BASIC_RATES, n_rates, rates); in join_ibss()
Dmpath.c114 NLA_PUT(msg, NL80211_ATTR_MAC, ETH_ALEN, dst); in handle_mpath_get()
163 NLA_PUT(msg, NL80211_ATTR_MAC, ETH_ALEN, dst); in handle_mpath_set()
164 NLA_PUT(msg, NL80211_ATTR_MPATH_NEXT_HOP, ETH_ALEN, next_hop); in handle_mpath_set()
Dinterface.c240 NLA_PUT(msg, NL80211_ATTR_MESH_ID, strlen(mesh_id), mesh_id); in handle_interface_add()
242 NLA_PUT(msg, NL80211_ATTR_MAC, ETH_ALEN, mac_addr); in handle_interface_add()
432 NLA_PUT(msg, NL80211_ATTR_MESH_ID, strlen(mesh_id), mesh_id); in handle_interface_meshid()
547 NLA_PUT(msg, NL80211_ATTR_MAC, ETH_ALEN, mac_addr); in handle_interface_wds_peer()
Dstation.c371 NLA_PUT(msg, NL80211_ATTR_MAC, ETH_ALEN, mac_addr); in handle_station_get()
441 NLA_PUT(msg, NL80211_ATTR_MAC, ETH_ALEN, mac_addr); in handle_station_set_plink()
489 NLA_PUT(msg, NL80211_ATTR_MAC, ETH_ALEN, mac_addr); in handle_station_set_vlan()
541 NLA_PUT(msg, NL80211_ATTR_MAC, ETH_ALEN, mac_addr); in handle_station_set_mesh_power_mode()
Dcoalesce.c122 NLA_PUT(msg, NL80211_PKTPAT_MASK, in handle_coalesce_enable()
124 NLA_PUT(msg, NL80211_PKTPAT_PATTERN, patlen, pat); in handle_coalesce_enable()
Dscan.c94 NLA_PUT(msg, NL80211_ATTR_MAC, ETH_ALEN, addr); in parse_random_mac_addr()
95 NLA_PUT(msg, NL80211_ATTR_MAC_MASK, ETH_ALEN, mask); in parse_random_mac_addr()
247 NLA_PUT(matchset, in parse_sched_scan()
293 NLA_PUT(ssids, in parse_sched_scan()
317 NLA_PUT(ssids, 1, 0, ""); in parse_sched_scan()
430 NLA_PUT(ssids, i, strlen(argv[i]), argv[i]); in handle_scan()
458 NLA_PUT(msg, NL80211_ATTR_IE, ies_len + meshid_len, tmpies); in handle_scan()
463 NLA_PUT(ssids, 1, 0, ""); in handle_scan()
Dmpp.c60 NLA_PUT(msg, NL80211_ATTR_MAC, ETH_ALEN, dst); in handle_mpp_get()
Dvendor.c87 NLA_PUT(msg, NL80211_ATTR_VENDOR_DATA, count, buf); in handle_vendor()
Dmesh.c472 NLA_PUT(msg, NL80211_ATTR_MESH_ID, strlen(argv[0]), argv[0]); in join_mesh()
534 NLA_PUT(msg, NL80211_ATTR_BSS_BASIC_RATES, n_rates, rates); in join_mesh()
Dlink.c223 NLA_PUT(msg, NL80211_ATTR_MAC, ETH_ALEN, mac_addr); in handle_link_sta()
Dutil.c434 NLA_PUT(msg, NL80211_KEY_DATA, keylen, keydata); in parse_keys()
/external/libnl/lib/route/qdisc/
Dnetem.c236 NLA_PUT(msg, TCA_OPTIONS, sizeof(opts), &opts); in netem_msg_fill_raw()
243 NLA_PUT(msg, TCA_NETEM_CORR, sizeof(cor), &cor); in netem_msg_fill_raw()
250 NLA_PUT(msg, TCA_NETEM_REORDER, sizeof(reorder), &reorder); in netem_msg_fill_raw()
257 NLA_PUT(msg, TCA_NETEM_CORRUPT, sizeof(corrupt), &corrupt); in netem_msg_fill_raw()
261 NLA_PUT(msg, TCA_NETEM_DELAY_DIST, in netem_msg_fill_raw()
Dtbf.c155 NLA_PUT(msg, TCA_TBF_PARMS, sizeof(opts), &opts); in tbf_msg_fill()
156 NLA_PUT(msg, TCA_TBF_RTAB, sizeof(rtab), rtab); in tbf_msg_fill()
159 NLA_PUT(msg, TCA_TBF_PTAB, sizeof(ptab), ptab); in tbf_msg_fill()
Dhtb.c259 NLA_PUT(msg, TCA_HTB_PARMS, sizeof(opts), &opts); in htb_class_msg_fill()
260 NLA_PUT(msg, TCA_HTB_RTAB, sizeof(rtable), &rtable); in htb_class_msg_fill()
261 NLA_PUT(msg, TCA_HTB_CTAB, sizeof(ctable), &ctable); in htb_class_msg_fill()
/external/libnl/lib/route/link/
Dcan.c308 NLA_PUT(msg, CAN_HAS_CTRLMODE, sizeof(ci->ci_ctrlmode), in can_put_attrs()
312 NLA_PUT(msg, CAN_HAS_BITTIMING, sizeof(ci->ci_bittiming), in can_put_attrs()
316 NLA_PUT(msg, CAN_HAS_BITTIMING_CONST, in can_put_attrs()
321 NLA_PUT(msg, CAN_HAS_CLOCK, sizeof(ci->ci_clock), in can_put_attrs()
Dvlan.c282 NLA_PUT(msg, IFLA_VLAN_FLAGS, sizeof(flags), &flags); in vlan_put_attrs()
298 NLA_PUT(msg, i, sizeof(map), &map); in vlan_put_attrs()
317 NLA_PUT(msg, i, sizeof(map), &map); in vlan_put_attrs()
Dvxlan.c353 NLA_PUT(msg, IFLA_VXLAN_GROUP, sizeof(vxi->vxi_group), &vxi->vxi_group); in vxlan_put_attrs()
359 NLA_PUT(msg, IFLA_VXLAN_LOCAL, sizeof(vxi->vxi_local), &vxi->vxi_local); in vxlan_put_attrs()
377 NLA_PUT(msg, IFLA_VXLAN_PORT_RANGE, sizeof(vxi->vxi_port_range), in vxlan_put_attrs()
Dip6tnl.c167 NLA_PUT(msg, IFLA_IPTUN_LOCAL, sizeof(struct in6_addr), &ip6_tnl->local); in ip6_tnl_put_attrs()
170 NLA_PUT(msg, IFLA_IPTUN_REMOTE, sizeof(struct in6_addr), &ip6_tnl->remote); in ip6_tnl_put_attrs()
/external/libnl/lib/route/cls/ematch/
Dmeta.c297 NLA_PUT(msg, TCA_EM_META_HDR, sizeof(hdr), &hdr); in meta_fill()
300 NLA_PUT(msg, TCA_EM_META_LVALUE, m->left->mv_len, (m->left + 1)); in meta_fill()
303 NLA_PUT(msg, TCA_EM_META_RVALUE, m->right->mv_len, (m->right + 1)); in meta_fill()
/external/libnl/lib/netfilter/
Dqueue.c173 NLA_PUT(*result, NFQA_CFG_CMD, sizeof(cmd), &cmd); in nfnl_queue_build_create_request()
/external/libnl/lib/route/act/
Dmirred.c119 NLA_PUT(msg, TCA_MIRRED_PARMS, sizeof(u->m_parm), &u->m_parm); in mirred_msg_fill()
/external/wpa_supplicant_8/src/drivers/
Ddriver_macsec_linux.c922 NLA_PUT(msg, MACSEC_SA_ATTR_KEYID, sizeof(sa->pkey->key_identifier), in macsec_drv_create_receive_sa()
924 NLA_PUT(msg, MACSEC_SA_ATTR_KEY, sa->pkey->key_len, sa->pkey->key); in macsec_drv_create_receive_sa()
1234 NLA_PUT(msg, MACSEC_SA_ATTR_KEYID, sizeof(sa->pkey->key_identifier), in macsec_drv_create_transmit_sa()
1236 NLA_PUT(msg, MACSEC_SA_ATTR_KEY, sa->pkey->key_len, sa->pkey->key); in macsec_drv_create_transmit_sa()

12