Lines Matching refs:em_hdr
177 struct tcf_ematch_hdr *em_hdr = nla_data(nla); in tcf_em_validate() local
178 int data_len = nla_len(nla) - sizeof(*em_hdr); in tcf_em_validate()
179 void *data = (void *) em_hdr + sizeof(*em_hdr); in tcf_em_validate()
181 if (!TCF_EM_REL_VALID(em_hdr->flags)) in tcf_em_validate()
184 if (em_hdr->kind == TCF_EM_CONTAINER) { in tcf_em_validate()
211 em->ops = tcf_em_lookup(em_hdr->kind); in tcf_em_validate()
217 request_module("ematch-kind-%u", em_hdr->kind); in tcf_em_validate()
219 em->ops = tcf_em_lookup(em_hdr->kind); in tcf_em_validate()
249 if (em_hdr->flags & TCF_EM_SIMPLE) { in tcf_em_validate()
264 em->matchid = em_hdr->matchid; in tcf_em_validate()
265 em->flags = em_hdr->flags; in tcf_em_validate()
445 struct tcf_ematch_hdr em_hdr = { in tcf_em_tree_dump() local
451 NLA_PUT(skb, i+1, sizeof(em_hdr), &em_hdr); in tcf_em_tree_dump()