Home
last modified time | relevance | path

Searched refs:NLMSG_TAIL (Results 1 – 25 of 53) sorted by relevance

123

/external/iproute2/tc/
Dm_action.c171 tail = tail2 = NLMSG_TAIL(n); in parse_action()
216 tail = NLMSG_TAIL(n); in parse_action()
255 tail->rta_len = (void *) NLMSG_TAIL(n) - (void *) tail; in parse_action()
265 tail2->rta_len = (void *) NLMSG_TAIL(n) - (void *) tail2; in parse_action()
462 tail = NLMSG_TAIL(&req.n); in tc_action_gd()
510 tail2 = NLMSG_TAIL(&req.n); in tc_action_gd()
515 tail2->rta_len = (void *) NLMSG_TAIL(&req.n) - (void *) tail2; in tc_action_gd()
519 tail->rta_len = (void *) NLMSG_TAIL(&req.n) - (void *) tail; in tc_action_gd()
556 struct rtattr *tail = NLMSG_TAIL(&req.n); in tc_action_modify()
564 tail->rta_len = (void *) NLMSG_TAIL(&req.n) - (void *) tail; in tc_action_modify()
[all …]
Dq_dsmark.c67 tail = NLMSG_TAIL(n); in dsmark_parse_opt()
76 tail->rta_len = (void *) NLMSG_TAIL(n) - (void *) tail; in dsmark_parse_opt()
94 tail = NLMSG_TAIL(n); in dsmark_parse_class_opt()
120 tail->rta_len = (void *) NLMSG_TAIL(n) - (void *) tail; in dsmark_parse_class_opt()
Dm_ematch.c179 struct rtattr *tail = NLMSG_TAIL(n); in parse_tree()
220 tail->rta_len = (void *) NLMSG_TAIL(n) - (void *) tail; in parse_tree()
345 tail = NLMSG_TAIL(n); in parse_ematch()
349 tail_list = NLMSG_TAIL(n); in parse_ematch()
355 tail_list->rta_len = (void *) NLMSG_TAIL(n) - (void *) tail_list; in parse_ematch()
356 tail->rta_len = (void *) NLMSG_TAIL(n) - (void *) tail; in parse_ematch()
Dm_ife.c181 tail = NLMSG_TAIL(n); in parse_ife()
197 tail2 = NLMSG_TAIL(n); in parse_ife()
219 tail2->rta_len = (void *)NLMSG_TAIL(n) - (void *)tail2; in parse_ife()
222 tail->rta_len = (void *)NLMSG_TAIL(n) - (void *)tail; in parse_ife()
Dq_qfq.c57 tail = NLMSG_TAIL(n); in qfq_parse_class_opt()
84 tail->rta_len = (void *)NLMSG_TAIL(n) - (void *)tail; in qfq_parse_class_opt()
Dq_htb.c102 tail = NLMSG_TAIL(n); in htb_parse_opt()
108 tail->rta_len = (void *) NLMSG_TAIL(n) - (void *) tail; in htb_parse_opt()
248 tail = NLMSG_TAIL(n); in htb_parse_class_opt()
260 tail->rta_len = (void *) NLMSG_TAIL(n) - (void *) tail; in htb_parse_class_opt()
Dq_gred.c109 tail = NLMSG_TAIL(n); in init_gred()
114 tail->rta_len = (void *) NLMSG_TAIL(n) - (void *) tail; in init_gred()
256 tail = NLMSG_TAIL(n); in gred_parse_opt()
262 tail->rta_len = (void *) NLMSG_TAIL(n) - (void *) tail; in gred_parse_opt()
Dq_drr.c58 tail = NLMSG_TAIL(n); in drr_parse_class_opt()
80 tail->rta_len = (void *) NLMSG_TAIL(n) - (void *)tail; in drr_parse_class_opt()
Dm_connmark.c98 tail = NLMSG_TAIL(n); in parse_connmark()
101 tail->rta_len = (char *)NLMSG_TAIL(n) - (char *)tail; in parse_connmark()
Dm_simple.c150 tail = NLMSG_TAIL(n); in parse_simple()
155 tail->rta_len = (char *)NLMSG_TAIL(n) - (char *)tail; in parse_simple()
Dm_nat.c132 tail = NLMSG_TAIL(n); in parse_nat()
135 tail->rta_len = (char *)NLMSG_TAIL(n) - (char *)tail; in parse_nat()
Df_fw.c71 tail = NLMSG_TAIL(n); in fw_parse_opt()
123 tail->rta_len = (void *) NLMSG_TAIL(n) - (void *) tail; in fw_parse_opt()
Dm_gact.c148 tail = NLMSG_TAIL(n); in parse_gact()
156 tail->rta_len = (void *) NLMSG_TAIL(n) - (void *) tail; in parse_gact()
Dm_sample.c124 tail = NLMSG_TAIL(n); in parse_sample()
134 tail->rta_len = (char *)NLMSG_TAIL(n) - (char *)tail; in parse_sample()
Df_tcindex.c40 tail = NLMSG_TAIL(n); in tcindex_parse_opt()
116 tail->rta_len = (void *) NLMSG_TAIL(n) - (void *) tail; in tcindex_parse_opt()
Dq_sfb.c136 tail = NLMSG_TAIL(n); in sfb_parse_opt()
139 tail->rta_len = (void *) NLMSG_TAIL(n) - (void *) tail; in sfb_parse_opt()
Dm_csum.c141 tail = NLMSG_TAIL(n); in parse_csum()
144 tail->rta_len = (char *)NLMSG_TAIL(n) - (char *)tail; in parse_csum()
Df_route.c54 tail = NLMSG_TAIL(n); in route_parse_opt()
132 tail->rta_len = (void *) NLMSG_TAIL(n) - (void *) tail; in route_parse_opt()
Dq_hhf.c94 tail = NLMSG_TAIL(n); in hhf_parse_opt()
116 tail->rta_len = (void *) NLMSG_TAIL(n) - (void *) tail; in hhf_parse_opt()
Dq_pie.c107 tail = NLMSG_TAIL(n); in pie_parse_opt()
125 tail->rta_len = (void *)NLMSG_TAIL(n) - (void *)tail; in pie_parse_opt()
Dq_codel.c111 tail = NLMSG_TAIL(n); in codel_parse_opt()
125 tail->rta_len = (void *) NLMSG_TAIL(n) - (void *) tail; in codel_parse_opt()
/external/iproute2/ip/
Dlink_veth.c56 data = NLMSG_TAIL(hdr); in veth_parse_opt()
83 data->rta_len = (void *)NLMSG_TAIL(hdr) - (void *)data; in veth_parse_opt()
Diplink_vxcan.c58 data = NLMSG_TAIL(hdr); in vxcan_parse_opt()
85 data->rta_len = (void *)NLMSG_TAIL(hdr) - (void *)data; in vxcan_parse_opt()
/external/libnfnetlink/include/libnfnetlink/
Dlibnfnetlink.h39 #define NLMSG_TAIL(nlh) \ macro
200 ({ struct nfattr *__start = NLMSG_TAIL(nlh); \
204 ({ (tail)->nfa_len = (void *) NLMSG_TAIL(nlh) - (void *) tail; })
/external/iproute2/lib/
Dlibnetlink.c872 rta = NLMSG_TAIL(n); in addattr_l()
890 memcpy(NLMSG_TAIL(n), data, len); in addraw_l()
891 memset((void *) NLMSG_TAIL(n) + len, 0, NLMSG_ALIGN(len) - len); in addraw_l()
898 struct rtattr *nest = NLMSG_TAIL(n); in addattr_nest()
906 nest->rta_len = (void *)NLMSG_TAIL(n) - (void *)nest; in addattr_nest_end()
913 struct rtattr *start = NLMSG_TAIL(n); in addattr_nest_compat()
924 start->rta_len = (void *)NLMSG_TAIL(n) - (void *)start; in addattr_nest_compat_end()

123