Searched refs:rtnl_ematch_data (Results 1 – 6 of 6) sorted by relevance
34 struct text_data *t = rtnl_ematch_data(e); in rtnl_ematch_text_set_from()41 return ((struct text_data *) rtnl_ematch_data(e))->cfg.from_offset; in rtnl_ematch_text_get_from_offset()46 return ((struct text_data *) rtnl_ematch_data(e))->cfg.from_layer; in rtnl_ematch_text_get_from_layer()52 struct text_data *t = rtnl_ematch_data(e); in rtnl_ematch_text_set_to()59 return ((struct text_data *) rtnl_ematch_data(e))->cfg.to_offset; in rtnl_ematch_text_get_to_offset()64 return ((struct text_data *) rtnl_ematch_data(e))->cfg.to_layer; in rtnl_ematch_text_get_to_layer()70 struct text_data *t = rtnl_ematch_data(e); in rtnl_ematch_text_set_pattern()81 return ((struct text_data *) rtnl_ematch_data(e))->pattern; in rtnl_ematch_text_get_pattern()86 return ((struct text_data *) rtnl_ematch_data(e))->cfg.pattern_len; in rtnl_ematch_text_get_len()91 struct text_data *t = rtnl_ematch_data(e); in rtnl_ematch_text_set_algo()[all …]
34 struct nbyte_data *n = rtnl_ematch_data(e); in rtnl_ematch_nbyte_set_offset()41 return ((struct nbyte_data *) rtnl_ematch_data(e))->cfg.off; in rtnl_ematch_nbyte_get_offset()46 return ((struct nbyte_data *) rtnl_ematch_data(e))->cfg.layer; in rtnl_ematch_nbyte_get_layer()52 struct nbyte_data *n = rtnl_ematch_data(e); in rtnl_ematch_nbyte_set_pattern()63 return ((struct nbyte_data *) rtnl_ematch_data(e))->pattern; in rtnl_ematch_nbyte_get_pattern()68 return ((struct nbyte_data *) rtnl_ematch_data(e))->cfg.len; in rtnl_ematch_nbyte_get_len()87 struct nbyte_data *n = rtnl_ematch_data(e); in nbyte_parse()104 struct nbyte_data *n = rtnl_ematch_data(e); in nbyte_dump()120 struct nbyte_data *n = rtnl_ematch_data(e); in nbyte_free()
27 memcpy(rtnl_ematch_data(e), cfg, sizeof(*cfg)); in rtnl_ematch_cmp_set()32 return rtnl_ematch_data(e); in rtnl_ematch_cmp_get()37 memcpy(rtnl_ematch_data(e), data, len); in cmp_parse()62 struct tcf_em_cmp *cmp = rtnl_ematch_data(e); in cmp_dump()
94 struct meta_data *m = rtnl_ematch_data(e); in rtnl_ematch_meta_set_lvalue()100 struct meta_data *m = rtnl_ematch_data(e); in rtnl_ematch_meta_set_rvalue()106 struct meta_data *m = rtnl_ematch_data(e); in rtnl_ematch_meta_set_operand()118 struct meta_data *m = rtnl_ematch_data(e); in meta_parse()269 struct meta_data *m = rtnl_ematch_data(e); in meta_dump()283 struct meta_data *m = rtnl_ematch_data(e); in meta_fill()313 struct meta_data *m = rtnl_ematch_data(e); in meta_free()
58 extern void * rtnl_ematch_data(struct rtnl_ematch *);
232 void *rtnl_ematch_data(struct rtnl_ematch *ematch) in rtnl_ematch_data() function304 return *((uint32_t *) rtnl_ematch_data(ematch)); in container_ref()