Searched refs:ematch (Results 1 – 6 of 6) sorted by relevance
143 void rtnl_ematch_unlink(struct rtnl_ematch *ematch) in rtnl_ematch_unlink() argument145 nl_list_del(&ematch->e_list); in rtnl_ematch_unlink()148 void rtnl_ematch_free(struct rtnl_ematch *ematch) in rtnl_ematch_free() argument150 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() argument158 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() argument163 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 …]
56 struct ematch struct63 struct ematch *child; argument64 struct ematch *next; argument67 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);
37 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()
17 struct ematch *e;23 extern struct ematch *ematch_root;
25 void rtnl_ematch_cmp_set(struct rtnl_ematch *ematch, in rtnl_ematch_cmp_set() argument28 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() argument33 return rtnl_ematch_data(ematch); in rtnl_ematch_cmp_get()
1 # lookup table for ematch kinds