Searched refs:em (Results 1 – 7 of 7) sorted by relevance
/net/sched/ |
D | ematch.c | 175 struct tcf_ematch *em, struct nlattr *nla, int idx) in tcf_em_validate() argument 206 em->data = ref; in tcf_em_validate() 216 em->ops = tcf_em_lookup(em_hdr->kind); in tcf_em_validate() 218 if (em->ops == NULL) { in tcf_em_validate() 224 em->ops = tcf_em_lookup(em_hdr->kind); in tcf_em_validate() 225 if (em->ops) { in tcf_em_validate() 230 module_put(em->ops->owner); in tcf_em_validate() 231 em->ops = NULL; in tcf_em_validate() 241 if (em->ops->datalen && data_len < em->ops->datalen) in tcf_em_validate() 244 if (em->ops->change) { in tcf_em_validate() [all …]
|
D | em_ipset.c | 23 struct tcf_ematch *em) in em_ipset_change() argument 35 em->datalen = sizeof(*set); in em_ipset_change() 36 em->data = (unsigned long)kmemdup(data, em->datalen, GFP_KERNEL); in em_ipset_change() 37 if (em->data) in em_ipset_change() 44 static void em_ipset_destroy(struct tcf_ematch *em) in em_ipset_destroy() argument 46 const struct xt_set_info *set = (const void *) em->data; in em_ipset_destroy() 48 ip_set_nfnl_put(em->net, set->index); in em_ipset_destroy() 49 kfree((void *) em->data); in em_ipset_destroy() 53 static int em_ipset_match(struct sk_buff *skb, struct tcf_ematch *em, in em_ipset_match() argument 58 const struct xt_set_info *set = (const void *) em->data; in em_ipset_match()
|
D | em_nbyte.c | 27 struct tcf_ematch *em) in em_nbyte_change() argument 35 em->datalen = sizeof(*nbyte) + nbyte->len; in em_nbyte_change() 36 em->data = (unsigned long)kmemdup(data, em->datalen, GFP_KERNEL); in em_nbyte_change() 37 if (em->data == 0UL) in em_nbyte_change() 43 static int em_nbyte_match(struct sk_buff *skb, struct tcf_ematch *em, in em_nbyte_match() argument 46 struct nbyte_data *nbyte = (struct nbyte_data *) em->data; in em_nbyte_match()
|
D | em_u32.c | 21 static int em_u32_match(struct sk_buff *skb, struct tcf_ematch *em, in em_u32_match() argument 24 struct tc_u32_key *key = (struct tc_u32_key *) em->data; in em_u32_match()
|
D | em_cmp.c | 25 static int em_cmp_match(struct sk_buff *skb, struct tcf_ematch *em, in em_cmp_match() argument 28 struct tcf_em_cmp *cmp = (struct tcf_em_cmp *) em->data; in em_cmp_match()
|
D | em_meta.c | 917 static int em_meta_dump(struct sk_buff *skb, struct tcf_ematch *em) in em_meta_dump() argument 919 struct meta_match *meta = (struct meta_match *) em->data; in em_meta_dump()
|
/net/bridge/netfilter/ |
D | ebt_among.c | 178 const struct ebt_entry_match *em = in ebt_among_mt_check() local 189 if (em->match_size != EBT_ALIGN(expected_length)) { in ebt_among_mt_check() 191 em->match_size, expected_length, in ebt_among_mt_check()
|