Searched refs:NLA_PUT (Results 1 – 6 of 6) sorted by relevance
/external/libnl/include/netlink/ |
D | attr.h | 143 #define NLA_PUT(msg, attrtype, attrlen, data) \ macro 160 NLA_PUT(msg, attrtype, sizeof(type), &__tmp); \ 206 NLA_PUT(msg, attrtype, strlen(value) + 1, value) 214 NLA_PUT(msg, attrtype, 0, NULL) 232 NLA_PUT(msg, attrtype, nl_addr_get_len(addr), \ 242 NLA_PUT(msg, attrtype, nl_data_get_size(data), \
|
/external/libnl/lib/route/sch/ |
D | netem.c | 259 NLA_PUT(msg, TCA_OPTIONS, sizeof(opts), &opts); in netem_build_msg() 266 NLA_PUT(msg, TCA_NETEM_CORR, sizeof(cor), &cor); in netem_build_msg() 273 NLA_PUT(msg, TCA_NETEM_REORDER, sizeof(reorder), &reorder); in netem_build_msg() 280 NLA_PUT(msg, TCA_NETEM_CORRUPT, sizeof(corrupt), &corrupt); in netem_build_msg() 284 NLA_PUT(msg, TCA_NETEM_DELAY_DIST, in netem_build_msg()
|
D | tbf.c | 196 NLA_PUT(msg, TCA_TBF_PARMS, sizeof(opts), &opts); in tbf_get_opts() 197 NLA_PUT(msg, TCA_TBF_RTAB, sizeof(rtab), rtab); in tbf_get_opts() 200 NLA_PUT(msg, TCA_TBF_PTAB, sizeof(ptab), ptab); in tbf_get_opts()
|
/external/libnl/lib/route/link/ |
D | vlan.c | 276 NLA_PUT(msg, IFLA_VLAN_FLAGS, sizeof(flags), &flags); in vlan_put_attrs() 292 NLA_PUT(msg, i, sizeof(map), &map); in vlan_put_attrs() 311 NLA_PUT(msg, i, sizeof(map), &map); in vlan_put_attrs()
|
/external/libnl/lib/netfilter/ |
D | queue.c | 173 NLA_PUT(*result, NFQA_CFG_CMD, sizeof(cmd), &cmd); in nfnl_queue_build_create_request()
|
/external/libnl/lib/route/ |
D | addr.c | 607 NLA_PUT(msg, IFA_CACHEINFO, sizeof(ca), &ca); in build_addr_msg()
|