Searched refs:nmatches (Results 1 - 5 of 5) sorted by relevance

/external/libnl/lib/route/cls/
H A Dematch.c226 static int link_tree(struct rtnl_ematch *index[], int nmatches, int pos, argument
232 for (i = pos; i < nmatches; i++) {
238 link_tree(index, nmatches, container_ref(ematch),
265 int nmatches = 0, err, remaining; local
277 if (thdr->nmatches == 0)
283 if (thdr->nmatches > (nla_len(tb[TCA_EMATCH_TREE_LIST]) /
287 if (!(index = calloc(thdr->nmatches, sizeof(struct rtnl_ematch *))))
307 if (nmatches >= thdr->nmatches) {
335 container_ref(ematch) >= thdr->nmatches) {
[all...]
/external/iproute2/tc/
H A Dm_ematch.c342 .nmatches = flatten_tree(ematch_root, ematch_root),
448 tb = malloc((hdr->nmatches + 1) * sizeof(struct rtattr *));
452 if (hdr->nmatches > 0) {
453 if (parse_rtattr_nested(tb, hdr->nmatches, rta) < 0)
/external/iproute2/include/linux/
H A Dpkt_cls.h394 __u16 nmatches; member in struct:tcf_ematch_tree_hdr
/external/libnl/include/linux/
H A Dpkt_cls.h416 __u16 nmatches; member in struct:tcf_ematch_tree_hdr
/external/kernel-headers/original/uapi/linux/
H A Dpkt_cls.h408 __u16 nmatches; member in struct:tcf_ematch_tree_hdr

Completed in 600 milliseconds