Searched refs:rtnl_ematch (Results 1 – 14 of 14) sorted by relevance
/third_party/libnl/include/netlink/route/cls/ |
D | ematch.h | 27 struct rtnl_ematch; 40 int (*eo_parse)(struct rtnl_ematch *, void *, size_t); 41 void (*eo_dump)(struct rtnl_ematch *, 43 int (*eo_fill)(struct rtnl_ematch *, struct nl_msg *); 44 void (*eo_free)(struct rtnl_ematch *); 52 extern struct rtnl_ematch * rtnl_ematch_alloc(void); 53 extern int rtnl_ematch_add_child(struct rtnl_ematch *, 54 struct rtnl_ematch *); 55 extern void rtnl_ematch_unlink(struct rtnl_ematch *); 56 extern void rtnl_ematch_free(struct rtnl_ematch *); [all …]
|
/third_party/libnl/include/netlink/route/cls/ematch/ |
D | text.h | 23 extern void rtnl_ematch_text_set_from(struct rtnl_ematch *, 25 extern uint16_t rtnl_ematch_text_get_from_offset(struct rtnl_ematch *); 26 extern uint8_t rtnl_ematch_text_get_from_layer(struct rtnl_ematch *); 27 extern void rtnl_ematch_text_set_to(struct rtnl_ematch *, 29 extern uint16_t rtnl_ematch_text_get_to_offset(struct rtnl_ematch *); 30 extern uint8_t rtnl_ematch_text_get_to_layer(struct rtnl_ematch *); 31 extern void rtnl_ematch_text_set_pattern(struct rtnl_ematch *, 33 extern char * rtnl_ematch_text_get_pattern(struct rtnl_ematch *); 34 extern size_t rtnl_ematch_text_get_len(struct rtnl_ematch *); 35 extern void rtnl_ematch_text_set_algo(struct rtnl_ematch *, const char *); [all …]
|
D | nbyte.h | 23 extern void rtnl_ematch_nbyte_set_offset(struct rtnl_ematch *, 25 extern uint16_t rtnl_ematch_nbyte_get_offset(struct rtnl_ematch *); 26 extern uint8_t rtnl_ematch_nbyte_get_layer(struct rtnl_ematch *); 27 extern void rtnl_ematch_nbyte_set_pattern(struct rtnl_ematch *, 29 extern uint8_t * rtnl_ematch_nbyte_get_pattern(struct rtnl_ematch *); 30 extern size_t rtnl_ematch_nbyte_get_len(struct rtnl_ematch *);
|
D | meta.h | 31 extern void rtnl_ematch_meta_set_lvalue(struct rtnl_ematch *, 33 void rtnl_ematch_meta_set_rvalue(struct rtnl_ematch *, 35 extern void rtnl_ematch_meta_set_operand(struct rtnl_ematch *, uint8_t);
|
D | cmp.h | 25 extern void rtnl_ematch_cmp_set(struct rtnl_ematch *, 28 rtnl_ematch_cmp_get(struct rtnl_ematch *);
|
/third_party/libnl/lib/route/cls/ematch/ |
D | text.c | 32 void rtnl_ematch_text_set_from(struct rtnl_ematch *e, uint8_t layer, in rtnl_ematch_text_set_from() 40 uint16_t rtnl_ematch_text_get_from_offset(struct rtnl_ematch *e) in rtnl_ematch_text_get_from_offset() 45 uint8_t rtnl_ematch_text_get_from_layer(struct rtnl_ematch *e) in rtnl_ematch_text_get_from_layer() 50 void rtnl_ematch_text_set_to(struct rtnl_ematch *e, uint8_t layer, in rtnl_ematch_text_set_to() 58 uint16_t rtnl_ematch_text_get_to_offset(struct rtnl_ematch *e) in rtnl_ematch_text_get_to_offset() 63 uint8_t rtnl_ematch_text_get_to_layer(struct rtnl_ematch *e) in rtnl_ematch_text_get_to_layer() 68 void rtnl_ematch_text_set_pattern(struct rtnl_ematch *e, in rtnl_ematch_text_set_pattern() 80 char *rtnl_ematch_text_get_pattern(struct rtnl_ematch *e) in rtnl_ematch_text_get_pattern() 85 size_t rtnl_ematch_text_get_len(struct rtnl_ematch *e) in rtnl_ematch_text_get_len() 90 void rtnl_ematch_text_set_algo(struct rtnl_ematch *e, const char *algo) in rtnl_ematch_text_set_algo() [all …]
|
D | nbyte.c | 32 void rtnl_ematch_nbyte_set_offset(struct rtnl_ematch *e, uint8_t layer, in rtnl_ematch_nbyte_set_offset() 40 uint16_t rtnl_ematch_nbyte_get_offset(struct rtnl_ematch *e) in rtnl_ematch_nbyte_get_offset() 45 uint8_t rtnl_ematch_nbyte_get_layer(struct rtnl_ematch *e) in rtnl_ematch_nbyte_get_layer() 50 void rtnl_ematch_nbyte_set_pattern(struct rtnl_ematch *e, in rtnl_ematch_nbyte_set_pattern() 62 uint8_t *rtnl_ematch_nbyte_get_pattern(struct rtnl_ematch *e) in rtnl_ematch_nbyte_get_pattern() 67 size_t rtnl_ematch_nbyte_get_len(struct rtnl_ematch *e) in rtnl_ematch_nbyte_get_len() 86 static int nbyte_parse(struct rtnl_ematch *e, void *data, size_t len) in nbyte_parse() 103 static void nbyte_dump(struct rtnl_ematch *e, struct nl_dump_params *p) in nbyte_dump() 119 static void nbyte_free(struct rtnl_ematch *e) in nbyte_free()
|
D | cmp.c | 26 void rtnl_ematch_cmp_set(struct rtnl_ematch *e, struct tcf_em_cmp *cfg) in rtnl_ematch_cmp_set() 31 struct tcf_em_cmp *rtnl_ematch_cmp_get(struct rtnl_ematch *e) in rtnl_ematch_cmp_get() 36 static int cmp_parse(struct rtnl_ematch *e, void *data, size_t len) in cmp_parse() 61 static void cmp_dump(struct rtnl_ematch *e, struct nl_dump_params *p) in cmp_dump()
|
D | meta.c | 94 void rtnl_ematch_meta_set_lvalue(struct rtnl_ematch *e, struct rtnl_meta_value *v) in rtnl_ematch_meta_set_lvalue() 100 void rtnl_ematch_meta_set_rvalue(struct rtnl_ematch *e, struct rtnl_meta_value *v) in rtnl_ematch_meta_set_rvalue() 106 void rtnl_ematch_meta_set_operand(struct rtnl_ematch *e, uint8_t opnd) in rtnl_ematch_meta_set_operand() 118 static int meta_parse(struct rtnl_ematch *e, void *data, size_t len) in meta_parse() 269 static void meta_dump(struct rtnl_ematch *e, struct nl_dump_params *p) in meta_dump() 283 static int meta_fill(struct rtnl_ematch *e, struct nl_msg *msg) in meta_fill() 313 static void meta_free(struct rtnl_ematch *e) in meta_free()
|
D | container.c | 17 static int container_parse(struct rtnl_ematch *e, void *data, size_t len __attribute__((unused))) in container_parse() 30 static int container_fill(struct rtnl_ematch *e, struct nl_msg *msg) in container_fill()
|
/third_party/libnl/lib/route/cls/ |
D | ematch.c | 109 struct rtnl_ematch *rtnl_ematch_alloc(void) in rtnl_ematch_alloc() 111 struct rtnl_ematch *e; in rtnl_ematch_alloc() 131 int rtnl_ematch_add_child(struct rtnl_ematch *parent, in rtnl_ematch_add_child() 132 struct rtnl_ematch *child) in rtnl_ematch_add_child() 149 void rtnl_ematch_unlink(struct rtnl_ematch *ematch) in rtnl_ematch_unlink() 161 void rtnl_ematch_free(struct rtnl_ematch *ematch) in rtnl_ematch_free() 169 int rtnl_ematch_set_ops(struct rtnl_ematch *ematch, struct rtnl_ematch_ops *ops) in rtnl_ematch_set_ops() 188 int rtnl_ematch_set_kind(struct rtnl_ematch *ematch, uint16_t kind) in rtnl_ematch_set_kind() 203 int rtnl_ematch_set_name(struct rtnl_ematch *ematch, const char *name) in rtnl_ematch_set_name() 218 void rtnl_ematch_set_flags(struct rtnl_ematch *ematch, uint16_t flags) in rtnl_ematch_set_flags() [all …]
|
D | ematch_syntax.y | 44 struct rtnl_ematch * e; 190 struct rtnl_ematch *e; 205 struct rtnl_ematch *e; 223 struct rtnl_ematch *e; 250 struct rtnl_ematch *e; 269 struct rtnl_ematch *e;
|
/third_party/libnl/tests/ |
D | check-ematch-tree-clone.c | 47 struct rtnl_ematch *child = NULL; in build_children() 80 struct rtnl_ematch *pos = NULL; in dump_ematch_list()
|
/third_party/libnl/include/netlink-private/ |
D | types.h | 635 struct rtnl_ematch struct
|