Searched refs:nmatches (Results 1 – 5 of 5) sorted by relevance
/external/libnl/lib/route/cls/ |
D | ematch.c | 307 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/iproute2/tc/ |
D | m_ematch.c | 342 .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/ |
D | pkt_cls.h | 373 __u16 nmatches; member
|
/external/libnl/include/linux-private/linux/ |
D | pkt_cls.h | 394 __u16 nmatches; member
|
/external/kernel-headers/original/uapi/linux/ |
D | pkt_cls.h | 498 __u16 nmatches; member
|