Searched refs:nmatches (Results 1 – 5 of 5) sorted by relevance
/external/libnl/lib/route/cls/ |
D | ematch.c | 226 static int link_tree(struct rtnl_ematch *index[], int nmatches, int pos, in link_tree() argument 232 for (i = pos; i < nmatches; i++) { in link_tree() 238 link_tree(index, nmatches, container_ref(ematch), in link_tree() 265 int nmatches = 0, err, remaining; in rtnl_ematch_parse() local 277 if (thdr->nmatches == 0) in rtnl_ematch_parse() 283 if (thdr->nmatches > (nla_len(tb[TCA_EMATCH_TREE_LIST]) / in rtnl_ematch_parse() 287 if (!(index = calloc(thdr->nmatches, sizeof(struct rtnl_ematch *)))) in rtnl_ematch_parse() 307 if (nmatches >= thdr->nmatches) { in rtnl_ematch_parse() 335 container_ref(ematch) >= thdr->nmatches) { in rtnl_ematch_parse() 340 index[nmatches++] = ematch; in rtnl_ematch_parse() [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 | 394 __u16 nmatches; member
|
/external/libnl/include/linux/ |
D | pkt_cls.h | 416 __u16 nmatches; member
|
/external/kernel-headers/original/uapi/linux/ |
D | pkt_cls.h | 408 __u16 nmatches; member
|