Home
last modified time | relevance | path

Searched refs:rtnl_ematch (Results 1 – 13 of 13) sorted by relevance

/external/libnl/include/netlink/route/cls/
Dematch.h27 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 …]
/external/libnl/include/netlink/route/cls/ematch/
Dtext.h23 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 …]
Dnbyte.h23 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 *);
Dmeta.h31 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);
Dcmp.h23 extern void rtnl_ematch_cmp_set(struct rtnl_ematch *,
26 rtnl_ematch_cmp_get(struct rtnl_ematch *);
/external/libnl/lib/route/cls/ematch/
Dtext.c31 void rtnl_ematch_text_set_from(struct rtnl_ematch *e, uint8_t layer, in rtnl_ematch_text_set_from()
39 uint16_t rtnl_ematch_text_get_from_offset(struct rtnl_ematch *e) in rtnl_ematch_text_get_from_offset()
44 uint8_t rtnl_ematch_text_get_from_layer(struct rtnl_ematch *e) in rtnl_ematch_text_get_from_layer()
49 void rtnl_ematch_text_set_to(struct rtnl_ematch *e, uint8_t layer, in rtnl_ematch_text_set_to()
57 uint16_t rtnl_ematch_text_get_to_offset(struct rtnl_ematch *e) in rtnl_ematch_text_get_to_offset()
62 uint8_t rtnl_ematch_text_get_to_layer(struct rtnl_ematch *e) in rtnl_ematch_text_get_to_layer()
67 void rtnl_ematch_text_set_pattern(struct rtnl_ematch *e, in rtnl_ematch_text_set_pattern()
79 char *rtnl_ematch_text_get_pattern(struct rtnl_ematch *e) in rtnl_ematch_text_get_pattern()
84 size_t rtnl_ematch_text_get_len(struct rtnl_ematch *e) in rtnl_ematch_text_get_len()
89 void rtnl_ematch_text_set_algo(struct rtnl_ematch *e, const char *algo) in rtnl_ematch_text_set_algo()
[all …]
Dnbyte.c31 void rtnl_ematch_nbyte_set_offset(struct rtnl_ematch *e, uint8_t layer, in rtnl_ematch_nbyte_set_offset()
39 uint16_t rtnl_ematch_nbyte_get_offset(struct rtnl_ematch *e) in rtnl_ematch_nbyte_get_offset()
44 uint8_t rtnl_ematch_nbyte_get_layer(struct rtnl_ematch *e) in rtnl_ematch_nbyte_get_layer()
49 void rtnl_ematch_nbyte_set_pattern(struct rtnl_ematch *e, in rtnl_ematch_nbyte_set_pattern()
61 uint8_t *rtnl_ematch_nbyte_get_pattern(struct rtnl_ematch *e) in rtnl_ematch_nbyte_get_pattern()
66 size_t rtnl_ematch_nbyte_get_len(struct rtnl_ematch *e) in rtnl_ematch_nbyte_get_len()
85 static int nbyte_parse(struct rtnl_ematch *e, void *data, size_t len) in nbyte_parse()
102 static void nbyte_dump(struct rtnl_ematch *e, struct nl_dump_params *p) in nbyte_dump()
118 static void nbyte_free(struct rtnl_ematch *e) in nbyte_free()
Dcmp.c25 void rtnl_ematch_cmp_set(struct rtnl_ematch *e, struct tcf_em_cmp *cfg) in rtnl_ematch_cmp_set()
30 struct tcf_em_cmp *rtnl_ematch_cmp_get(struct rtnl_ematch *e) in rtnl_ematch_cmp_get()
35 static int cmp_parse(struct rtnl_ematch *e, void *data, size_t len) in cmp_parse()
60 static void cmp_dump(struct rtnl_ematch *e, struct nl_dump_params *p) in cmp_dump()
Dmeta.c92 void rtnl_ematch_meta_set_lvalue(struct rtnl_ematch *e, struct rtnl_meta_value *v) in rtnl_ematch_meta_set_lvalue()
98 void rtnl_ematch_meta_set_rvalue(struct rtnl_ematch *e, struct rtnl_meta_value *v) in rtnl_ematch_meta_set_rvalue()
104 void rtnl_ematch_meta_set_operand(struct rtnl_ematch *e, uint8_t opnd) in rtnl_ematch_meta_set_operand()
116 static int meta_parse(struct rtnl_ematch *e, void *data, size_t len) in meta_parse()
267 static void meta_dump(struct rtnl_ematch *e, struct nl_dump_params *p) in meta_dump()
281 static int meta_fill(struct rtnl_ematch *e, struct nl_msg *msg) in meta_fill()
311 static void meta_free(struct rtnl_ematch *e) in meta_free()
Dcontainer.c17 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()
/external/libnl/lib/route/cls/
Dematch.c108 struct rtnl_ematch *rtnl_ematch_alloc(void) in rtnl_ematch_alloc()
110 struct rtnl_ematch *e; in rtnl_ematch_alloc()
130 int rtnl_ematch_add_child(struct rtnl_ematch *parent, in rtnl_ematch_add_child()
131 struct rtnl_ematch *child) in rtnl_ematch_add_child()
148 void rtnl_ematch_unlink(struct rtnl_ematch *ematch) in rtnl_ematch_unlink()
160 void rtnl_ematch_free(struct rtnl_ematch *ematch) in rtnl_ematch_free()
168 int rtnl_ematch_set_ops(struct rtnl_ematch *ematch, struct rtnl_ematch_ops *ops) in rtnl_ematch_set_ops()
187 int rtnl_ematch_set_kind(struct rtnl_ematch *ematch, uint16_t kind) in rtnl_ematch_set_kind()
202 int rtnl_ematch_set_name(struct rtnl_ematch *ematch, const char *name) in rtnl_ematch_set_name()
217 void rtnl_ematch_set_flags(struct rtnl_ematch *ematch, uint16_t flags) in rtnl_ematch_set_flags()
[all …]
Dematch_syntax.y42 struct rtnl_ematch * e;
188 struct rtnl_ematch *e;
203 struct rtnl_ematch *e;
221 struct rtnl_ematch *e;
248 struct rtnl_ematch *e;
267 struct rtnl_ematch *e;
/external/libnl/include/netlink-private/
Dtypes.h553 struct rtnl_ematch struct