Home
last modified time | relevance | path

Searched refs:nmatches (Results 1 – 6 of 6) sorted by relevance

/external/libnl/lib/route/cls/
Dematch.c307 static int link_tree(struct rtnl_ematch *index[], int nmatches, int pos, in link_tree() argument
313 for (i = pos; i < nmatches; i++) { in link_tree()
319 link_tree(index, nmatches, container_ref(ematch), in link_tree()
346 int nmatches = 0, err, remaining; in rtnl_ematch_parse_attr() local
360 if (thdr->nmatches == 0) { in rtnl_ematch_parse_attr()
369 thdr->nmatches, thdr->progid); in rtnl_ematch_parse_attr()
376 if (thdr->nmatches > (nla_len(tb[TCA_EMATCH_TREE_LIST]) / in rtnl_ematch_parse_attr()
380 if (!(index = calloc(thdr->nmatches, sizeof(struct rtnl_ematch *)))) in rtnl_ematch_parse_attr()
396 nmatches+1, nla_len(a)); in rtnl_ematch_parse_attr()
404 if (nmatches >= thdr->nmatches) { in rtnl_ematch_parse_attr()
[all …]
/external/python/cpython2/Tools/scripts/
Dredemo.py131 nmatches = 0
145 if nmatches == 0:
152 nmatches = nmatches + 1
156 if nmatches == 0:
/external/iproute2/tc/
Dm_ematch.c342 .nmatches = flatten_tree(ematch_root, ematch_root), in parse_ematch()
448 tb = malloc((hdr->nmatches + 1) * sizeof(struct rtattr *)); in print_ematch_list()
452 if (hdr->nmatches > 0) { in print_ematch_list()
453 if (parse_rtattr_nested(tb, hdr->nmatches, rta) < 0) in print_ematch_list()
/external/iproute2/include/linux/
Dpkt_cls.h373 __u16 nmatches; member
/external/libnl/include/linux-private/linux/
Dpkt_cls.h394 __u16 nmatches; member
/external/kernel-headers/original/uapi/linux/
Dpkt_cls.h498 __u16 nmatches; member