Lines Matching refs:em_hdr
174 struct tcf_ematch_hdr *em_hdr = nla_data(nla); in tcf_em_validate() local
175 int data_len = nla_len(nla) - sizeof(*em_hdr); in tcf_em_validate()
176 void *data = (void *) em_hdr + sizeof(*em_hdr); in tcf_em_validate()
179 if (!TCF_EM_REL_VALID(em_hdr->flags)) in tcf_em_validate()
182 if (em_hdr->kind == TCF_EM_CONTAINER) { in tcf_em_validate()
212 em->ops = tcf_em_lookup(em_hdr->kind); in tcf_em_validate()
218 request_module("ematch-kind-%u", em_hdr->kind); in tcf_em_validate()
220 em->ops = tcf_em_lookup(em_hdr->kind); in tcf_em_validate()
242 if (em_hdr->flags & TCF_EM_SIMPLE) in tcf_em_validate()
257 if (em_hdr->flags & TCF_EM_SIMPLE) { in tcf_em_validate()
275 em->matchid = em_hdr->matchid; in tcf_em_validate()
276 em->flags = em_hdr->flags; in tcf_em_validate()
459 struct tcf_ematch_hdr em_hdr = { in tcf_em_tree_dump() local
465 if (nla_put(skb, i + 1, sizeof(em_hdr), &em_hdr)) in tcf_em_tree_dump()