Home
last modified time | relevance | path

Searched refs:ematch (Results 1 – 6 of 6) sorted by relevance

/external/libnl/lib/route/cls/
Dematch.c143 void rtnl_ematch_unlink(struct rtnl_ematch *ematch) in rtnl_ematch_unlink() argument
145 nl_list_del(&ematch->e_list); in rtnl_ematch_unlink()
148 void rtnl_ematch_free(struct rtnl_ematch *ematch) in rtnl_ematch_free() argument
150 if (!ematch) in rtnl_ematch_free()
153 free(ematch); in rtnl_ematch_free()
156 void rtnl_ematch_set_flags(struct rtnl_ematch *ematch, uint16_t flags) in rtnl_ematch_set_flags() argument
158 ematch->e_flags |= flags; in rtnl_ematch_set_flags()
161 void rtnl_ematch_unset_flags(struct rtnl_ematch *ematch, uint16_t flags) in rtnl_ematch_unset_flags() argument
163 ematch->e_flags &= ~flags; in rtnl_ematch_unset_flags()
166 uint16_t rtnl_ematch_get_flags(struct rtnl_ematch *ematch) in rtnl_ematch_get_flags() argument
[all …]
/external/iproute2/tc/
Dm_ematch.h56 struct ematch struct
63 struct ematch *child; argument
64 struct ematch *next; argument
67 static inline struct ematch * new_ematch(struct bstr *args, int inverted) in new_ematch()
69 struct ematch *e = calloc(1, sizeof(*e)); in new_ematch()
80 extern void print_ematch_tree(const struct ematch *tree);
Dm_ematch.c37 struct ematch *ematch_root;
173 static int parse_tree(struct nlmsghdr *n, struct ematch *tree) in parse_tree()
176 struct ematch *t; in parse_tree()
227 static int flatten_tree(struct ematch *head, struct ematch *tree) in flatten_tree()
230 struct ematch *t; in flatten_tree()
547 void print_ematch_tree(const struct ematch *tree) in print_ematch_tree()
549 const struct ematch *t; in print_ematch_tree()
Demp_ematch.y17 struct ematch *e;
23 extern struct ematch *ematch_root;
/external/libnl/lib/route/cls/ematch/
Dcmp.c25 void rtnl_ematch_cmp_set(struct rtnl_ematch *ematch, in rtnl_ematch_cmp_set() argument
28 memcpy(rtnl_ematch_data(ematch), cfg, sizeof(*cfg)); in rtnl_ematch_cmp_set()
31 struct tcf_em_cmp *rtnl_ematch_cmp_get(struct rtnl_ematch *ematch) in rtnl_ematch_cmp_get() argument
33 return rtnl_ematch_data(ematch); in rtnl_ematch_cmp_get()
/external/iproute2/etc/iproute2/
Dematch_map1 # lookup table for ematch kinds