Home
last modified time | relevance | path

Searched refs:tc_action (Results 1 – 16 of 16) sorted by relevance

/linux-4.4.14/include/net/
Dact_api.h89 struct tc_action { struct
103 int (*act)(struct sk_buff *, const struct tc_action *, struct tcf_result *); argument
104 int (*dump)(struct sk_buff *, struct tc_action *, int, int);
105 void (*cleanup)(struct tc_action *, int bind);
106 int (*lookup)(struct tc_action *, u32);
108 struct nlattr *est, struct tc_action *act, int ovr,
110 int (*walk)(struct sk_buff *, struct netlink_callback *, int, struct tc_action *);
113 int tcf_hash_search(struct tc_action *a, u32 index);
115 int tcf_hash_check(u32 index, struct tc_action *a, int bind);
116 int tcf_hash_create(u32 index, struct nlattr *est, struct tc_action *a,
[all …]
/linux-4.4.14/net/sched/
Dact_api.c39 static void tcf_hash_destroy(struct tc_action *a) in tcf_hash_destroy()
56 int __tcf_hash_release(struct tc_action *a, bool bind, bool strict) in __tcf_hash_release()
81 struct tc_action *a) in tcf_dump_walker()
129 static int tcf_del_walker(struct sk_buff *skb, struct tc_action *a) in tcf_del_walker()
167 int type, struct tc_action *a) in tcf_generic_walker()
208 int tcf_hash_search(struct tc_action *a, u32 index) in tcf_hash_search()
221 int tcf_hash_check(u32 index, struct tc_action *a, int bind) in tcf_hash_check()
236 void tcf_hash_cleanup(struct tc_action *a, struct nlattr *est) in tcf_hash_cleanup()
246 int tcf_hash_create(u32 index, struct nlattr *est, struct tc_action *a, in tcf_hash_create()
293 void tcf_hash_insert(struct tc_action *a) in tcf_hash_insert()
[all …]
Dact_simple.c30 static int tcf_simp(struct sk_buff *skb, const struct tc_action *a, in tcf_simp()
49 static void tcf_simp_release(struct tc_action *a, int bind) in tcf_simp_release()
80 struct nlattr *est, struct tc_action *a, in tcf_simp_init()
136 static int tcf_simp_dump(struct sk_buff *skb, struct tc_action *a, in tcf_simp_dump()
Dact_pedit.c33 struct nlattr *est, struct tc_action *a, in tcf_pedit_init()
100 static void tcf_pedit_cleanup(struct tc_action *a, int bind) in tcf_pedit_cleanup()
107 static int tcf_pedit(struct sk_buff *skb, const struct tc_action *a, in tcf_pedit()
173 static int tcf_pedit_dump(struct sk_buff *skb, struct tc_action *a, in tcf_pedit_dump()
Dact_mirred.c36 static void tcf_mirred_release(struct tc_action *a, int bind) in tcf_mirred_release()
54 struct nlattr *est, struct tc_action *a, int ovr, in tcf_mirred_init()
139 static int tcf_mirred(struct sk_buff *skb, const struct tc_action *a, in tcf_mirred()
196 static int tcf_mirred_dump(struct sk_buff *skb, struct tc_action *a, int bind, int ref) in tcf_mirred_dump()
Dact_connmark.c33 static int tcf_connmark(struct sk_buff *skb, const struct tc_action *a, in tcf_connmark()
97 struct nlattr *est, struct tc_action *a, in tcf_connmark_init()
142 static inline int tcf_connmark_dump(struct sk_buff *skb, struct tc_action *a, in tcf_connmark_dump()
Dact_gact.c57 struct nlattr *est, struct tc_action *a, in tcf_gact_init()
125 static int tcf_gact(struct sk_buff *skb, const struct tc_action *a, in tcf_gact()
148 static int tcf_gact_dump(struct sk_buff *skb, struct tc_action *a, int bind, int ref) in tcf_gact_dump()
Dact_skbedit.c32 static int tcf_skbedit(struct sk_buff *skb, const struct tc_action *a, in tcf_skbedit()
61 struct nlattr *est, struct tc_action *a, in tcf_skbedit_init()
137 static int tcf_skbedit_dump(struct sk_buff *skb, struct tc_action *a, in tcf_skbedit_dump()
Dact_vlan.c24 static int tcf_vlan(struct sk_buff *skb, const struct tc_action *a, in tcf_vlan()
68 struct nlattr *est, struct tc_action *a, in tcf_vlan_init()
150 static int tcf_vlan_dump(struct sk_buff *skb, struct tc_action *a, in tcf_vlan_dump()
Dact_ipt.c71 static void tcf_ipt_release(struct tc_action *a, int bind) in tcf_ipt_release()
87 struct tc_action *a, int ovr, int bind) in tcf_ipt_init()
173 static int tcf_ipt(struct sk_buff *skb, const struct tc_action *a, in tcf_ipt()
222 static int tcf_ipt_dump(struct sk_buff *skb, struct tc_action *a, int bind, int ref) in tcf_ipt_dump()
Dact_bpf.c36 static int tcf_bpf(struct sk_buff *skb, const struct tc_action *act, in tcf_bpf()
129 static int tcf_bpf_dump(struct sk_buff *skb, struct tc_action *act, in tcf_bpf_dump()
275 struct nlattr *est, struct tc_action *act, in tcf_bpf_init()
362 static void tcf_bpf_cleanup(struct tc_action *act, int bind) in tcf_bpf_cleanup()
Dact_police.c59 int type, struct tc_action *a) in tcf_act_police_walker()
115 struct nlattr *est, struct tc_action *a, in tcf_act_police_locate()
255 static int tcf_act_police(struct sk_buff *skb, const struct tc_action *a, in tcf_act_police()
313 tcf_act_police_dump(struct sk_buff *skb, struct tc_action *a, int bind, int ref) in tcf_act_police_dump()
Dact_nat.c39 struct tc_action *a, int ovr, int bind) in tcf_nat_init()
87 static int tcf_nat(struct sk_buff *skb, const struct tc_action *a, in tcf_nat()
252 static int tcf_nat_dump(struct sk_buff *skb, struct tc_action *a, in tcf_nat_dump()
Dcls_api.c523 struct tc_action *act; in tcf_exts_validate()
571 struct tc_action, list)
592 struct tc_action *act = tcf_exts_first_act(exts); in tcf_exts_dump()
616 struct tc_action *a = tcf_exts_first_act(exts); in tcf_exts_dump_stats()
Dact_csum.c46 struct tc_action *a, int ovr, int bind) in tcf_csum_init()
497 const struct tc_action *a, struct tcf_result *res) in tcf_csum()
534 struct tc_action *a, int bind, int ref) in tcf_csum_dump()
/linux-4.4.14/include/net/tc_act/
Dtc_nat.h16 static inline struct tcf_nat *to_tcf_nat(struct tc_action *a) in to_tcf_nat()