Searched refs:thdr (Results 1 - 2 of 2) sorted by relevance

/external/libnl/lib/route/cls/
H A Dematch.c262 struct tcf_ematch_tree_hdr *thdr; local
274 thdr = nla_data(tb[TCA_EMATCH_TREE_HDR]);
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 *))))
290 if (!(tree = rtnl_ematch_tree_alloc(thdr->progid))) {
307 if (nmatches >= thdr->nmatches) {
335 container_ref(ematch) >= thdr->nmatches) {
343 if (nmatches != thdr->nmatches) {
/external/libpcap/
H A Dpcap-linux.c342 union thdr { union
354 #define RING_GET_FRAME(h) (((union thdr **)h->buffer)[h->offset])
3901 handle->buffer = malloc(handle->cc * sizeof(union thdr *));
4025 static inline union thdr *
4029 union thdr h;
4239 * ((u_char *)thdr + TPACKET_HDRLEN), so we
4321 union thdr h;
4395 union thdr h;
4462 union thdr h;

Completed in 187 milliseconds