Home
last modified time | relevance | path

Searched refs:d_data (Results 1 – 11 of 11) sorted by relevance

/third_party/libnl/lib/
Ddata.c59 data->d_data = calloc(1, size); in nl_data_alloc()
60 if (!data->d_data) { in nl_data_alloc()
68 memcpy(data->d_data, buf, size); in nl_data_alloc()
98 return nl_data_alloc(src->d_data, src->d_size); in nl_data_clone()
115 char *d_data = realloc(data->d_data, data->d_size + size); in nl_data_append() local
116 if (!d_data) in nl_data_append()
120 memcpy(d_data + data->d_size, buf, size); in nl_data_append()
122 memset(d_data + data->d_size, 0, size); in nl_data_append()
124 data->d_data = d_data; in nl_data_append()
138 free(data->d_data); in nl_data_free()
[all …]
/third_party/libnl/lib/route/cls/
Du32.c46 return (struct tc_u32_sel *) u->cu_selector->d_data; in u32_selector()
62 return (struct tc_u32_mark *) u->cu_mark->d_data; in u32_mark_alloc()
144 sel = u->cu_selector->d_data; in u32_msg_parser()
280 struct tc_u32_pcnt *pcnt = u->cu_pcnt->d_data; in print_selector()
304 s = u->cu_selector->d_data; in u32_dump_details()
311 m = u->cu_mark->d_data; in u32_dump_details()
340 struct tc_u32_pcnt *pc = u->cu_pcnt->d_data; in u32_dump_stats()
/third_party/libnl/include/netlink-private/
Dtc.h49 return tca->tc_xstats->d_data; in tca_xstats()
Dtypes.h134 void * d_data; member
/third_party/libnl/lib/route/qdisc/
Dfifo.c52 opt = (struct tc_fifo_qopt *) tc->tc_opts->d_data; in fifo_msg_parser()
Dmqprio.c48 qopt = (struct tc_mqprio_qopt *) tc->tc_opts->d_data; in mqprio_msg_parser()
66 ((char *) tc->tc_opts->d_data + NLA_ALIGN(sizeof(*qopt))), in mqprio_msg_parser()
Dsfq.c53 opts = (struct tc_sfq_qopt *) tc->tc_opts->d_data; in sfq_msg_parser()
Dprio.c50 opt = (struct tc_prio_qopt *) tc->tc_opts->d_data; in prio_msg_parser()
Dhfsc.c49 opts = (struct tc_hfsc_qopt *) tc->tc_opts->d_data; in hfsc_qdisc_msg_parser()
Dnetem.c61 opts = (struct tc_netem_qopt *) tc->tc_opts->d_data; in netem_msg_parser()
79 ((char *) tc->tc_opts->d_data + sizeof(*opts)), in netem_msg_parser()
/third_party/libnl/lib/route/
Dtc.c49 (struct nlattr *) g->tc_opts->d_data, in tca_parse()