/Linux-v4.19/include/net/ |
D | act_api.h | 22 struct tc_action { struct 84 int (*act)(struct sk_buff *, const struct tc_action *, 86 int (*dump)(struct sk_buff *, struct tc_action *, int, int); 87 void (*cleanup)(struct tc_action *); 88 int (*lookup)(struct net *net, struct tc_action **a, u32 index, 91 struct nlattr *est, struct tc_action **act, int ovr, 98 void (*stats_update)(struct tc_action *, u64, u32, u64); 99 size_t (*get_fill_size)(const struct tc_action *act); 100 struct net_device *(*get_dev)(const struct tc_action *a); 146 int tcf_idr_search(struct tc_action_net *tn, struct tc_action **a, u32 index); [all …]
|
/Linux-v4.19/include/net/tc_act/ |
D | tc_pedit.h | 14 struct tc_action common; 23 static inline bool is_tcf_pedit(const struct tc_action *a) in is_tcf_pedit() 32 static inline int tcf_pedit_nkeys(const struct tc_action *a) in tcf_pedit_nkeys() 37 static inline u32 tcf_pedit_htype(const struct tc_action *a, int index) in tcf_pedit_htype() 45 static inline u32 tcf_pedit_cmd(const struct tc_action *a, int index) in tcf_pedit_cmd() 53 static inline u32 tcf_pedit_mask(const struct tc_action *a, int index) in tcf_pedit_mask() 58 static inline u32 tcf_pedit_val(const struct tc_action *a, int index) in tcf_pedit_val() 63 static inline u32 tcf_pedit_offset(const struct tc_action *a, int index) in tcf_pedit_offset()
|
D | tc_gact.h | 9 struct tc_action common; 19 static inline bool __is_tcf_gact_act(const struct tc_action *a, int act, in __is_tcf_gact_act() 37 static inline bool is_tcf_gact_ok(const struct tc_action *a) in is_tcf_gact_ok() 42 static inline bool is_tcf_gact_shot(const struct tc_action *a) in is_tcf_gact_shot() 47 static inline bool is_tcf_gact_trap(const struct tc_action *a) in is_tcf_gact_trap() 52 static inline bool is_tcf_gact_goto_chain(const struct tc_action *a) in is_tcf_gact_goto_chain() 57 static inline u32 tcf_gact_goto_chain_index(const struct tc_action *a) in tcf_gact_goto_chain_index()
|
D | tc_sample.h | 10 struct tc_action common; 20 static inline bool is_tcf_sample(const struct tc_action *a) in is_tcf_sample() 29 static inline __u32 tcf_sample_rate(const struct tc_action *a) in tcf_sample_rate() 34 static inline bool tcf_sample_truncate(const struct tc_action *a) in tcf_sample_truncate() 39 static inline int tcf_sample_trunc_size(const struct tc_action *a) in tcf_sample_trunc_size() 45 tcf_sample_psample_group(const struct tc_action *a) in tcf_sample_psample_group()
|
D | tc_vlan.h | 25 struct tc_action common; 30 static inline bool is_tcf_vlan(const struct tc_action *a) in is_tcf_vlan() 39 static inline u32 tcf_vlan_action(const struct tc_action *a) in tcf_vlan_action() 50 static inline u16 tcf_vlan_push_vid(const struct tc_action *a) in tcf_vlan_push_vid() 61 static inline __be16 tcf_vlan_push_proto(const struct tc_action *a) in tcf_vlan_push_proto() 72 static inline u8 tcf_vlan_push_prio(const struct tc_action *a) in tcf_vlan_push_prio()
|
D | tc_mirred.h | 9 struct tc_action common; 17 static inline bool is_tcf_mirred_egress_redirect(const struct tc_action *a) in is_tcf_mirred_egress_redirect() 26 static inline bool is_tcf_mirred_egress_mirror(const struct tc_action *a) in is_tcf_mirred_egress_mirror() 35 static inline struct net_device *tcf_mirred_dev(const struct tc_action *a) in tcf_mirred_dev()
|
D | tc_tunnel_key.h | 25 struct tc_action common; 31 static inline bool is_tcf_tunnel_set(const struct tc_action *a) in is_tcf_tunnel_set() 43 static inline bool is_tcf_tunnel_release(const struct tc_action *a) in is_tcf_tunnel_release() 55 static inline struct ip_tunnel_info *tcf_tunnel_info(const struct tc_action *a) in tcf_tunnel_info()
|
D | tc_csum.h | 15 struct tc_action common; 21 static inline bool is_tcf_csum(const struct tc_action *a) in is_tcf_csum() 30 static inline u32 tcf_csum_update_flags(const struct tc_action *a) in tcf_csum_update_flags()
|
D | tc_skbedit.h | 36 struct tc_action common; 42 static inline bool is_tcf_skbedit_mark(const struct tc_action *a) in is_tcf_skbedit_mark() 57 static inline u32 tcf_skbedit_mark(const struct tc_action *a) in tcf_skbedit_mark()
|
/Linux-v4.19/net/sched/ |
D | act_api.c | 33 static int tcf_action_goto_chain_init(struct tc_action *a, struct tcf_proto *tp) in tcf_action_goto_chain_init() 45 static void tcf_action_goto_chain_fini(struct tc_action *a) in tcf_action_goto_chain_fini() 50 static void tcf_action_goto_chain_exec(const struct tc_action *a, in tcf_action_goto_chain_exec() 81 static void free_tcf(struct tc_action *p) in free_tcf() 93 static void tcf_action_cleanup(struct tc_action *p) in tcf_action_cleanup() 102 static int __tcf_action_put(struct tc_action *p, bool bind) in __tcf_action_put() 122 int __tcf_idr_release(struct tc_action *p, bool bind, bool strict) in __tcf_idr_release() 150 static size_t tcf_action_shared_attrs_size(const struct tc_action *act) in tcf_action_shared_attrs_size() 182 static size_t tcf_action_fill_size(const struct tc_action *act) in tcf_action_fill_size() 199 struct tc_action *p; in tcf_dump_walker() [all …]
|
D | act_gact.c | 58 struct nlattr *est, struct tc_action **a, in tcf_gact_init() 136 static int tcf_gact_act(struct sk_buff *skb, const struct tc_action *a, in tcf_gact_act() 159 static void tcf_gact_stats_update(struct tc_action *a, u64 bytes, u32 packets, in tcf_gact_stats_update() 174 static int tcf_gact_dump(struct sk_buff *skb, struct tc_action *a, in tcf_gact_dump() 225 static int tcf_gact_search(struct net *net, struct tc_action **a, u32 index, in tcf_gact_search() 233 static size_t tcf_gact_get_fill_size(const struct tc_action *act) in tcf_gact_get_fill_size()
|
D | act_simple.c | 31 static int tcf_simp_act(struct sk_buff *skb, const struct tc_action *a, in tcf_simp_act() 50 static void tcf_simp_release(struct tc_action *a) in tcf_simp_release() 81 struct nlattr *est, struct tc_action **a, in tcf_simp_init() 150 static int tcf_simp_dump(struct sk_buff *skb, struct tc_action *a, in tcf_simp_dump() 191 static int tcf_simp_search(struct net *net, struct tc_action **a, u32 index, in tcf_simp_search()
|
D | act_mirred.c | 72 static void tcf_mirred_release(struct tc_action *a) in tcf_mirred_release() 95 struct nlattr *est, struct tc_action **a, in tcf_mirred_init() 193 static int tcf_mirred_act(struct sk_buff *skb, const struct tc_action *a, in tcf_mirred_act() 285 static void tcf_stats_update(struct tc_action *a, u64 bytes, u32 packets, in tcf_stats_update() 295 static int tcf_mirred_dump(struct sk_buff *skb, struct tc_action *a, int bind, in tcf_mirred_dump() 341 static int tcf_mirred_search(struct net *net, struct tc_action **a, u32 index, in tcf_mirred_search() 379 static struct net_device *tcf_mirred_get_dev(const struct tc_action *a) in tcf_mirred_get_dev()
|
D | act_ipt.c | 80 static void tcf_ipt_release(struct tc_action *a) in tcf_ipt_release() 99 struct nlattr *est, struct tc_action **a, in __tcf_ipt_init() 208 struct nlattr *est, struct tc_action **a, int ovr, in tcf_ipt_init() 217 struct nlattr *est, struct tc_action **a, int ovr, in tcf_xt_init() 225 static int tcf_ipt_act(struct sk_buff *skb, const struct tc_action *a, in tcf_ipt_act() 277 static int tcf_ipt_dump(struct sk_buff *skb, struct tc_action *a, int bind, in tcf_ipt_dump() 332 static int tcf_ipt_search(struct net *net, struct tc_action **a, u32 index, in tcf_ipt_search() 382 static int tcf_xt_search(struct net *net, struct tc_action **a, u32 index, in tcf_xt_search()
|
D | act_sample.c | 39 struct nlattr *est, struct tc_action **a, int ovr, in tcf_sample_init() 109 static void tcf_sample_cleanup(struct tc_action *a) in tcf_sample_cleanup() 136 static int tcf_sample_act(struct sk_buff *skb, const struct tc_action *a, in tcf_sample_act() 177 static int tcf_sample_dump(struct sk_buff *skb, struct tc_action *a, in tcf_sample_dump() 227 static int tcf_sample_search(struct net *net, struct tc_action **a, u32 index, in tcf_sample_search()
|
D | act_connmark.c | 34 static int tcf_connmark_act(struct sk_buff *skb, const struct tc_action *a, in tcf_connmark_act() 98 struct nlattr *est, struct tc_action **a, in tcf_connmark_init() 154 static inline int tcf_connmark_dump(struct sk_buff *skb, struct tc_action *a, in tcf_connmark_dump() 193 static int tcf_connmark_search(struct net *net, struct tc_action **a, u32 index, in tcf_connmark_search()
|
D | act_vlan.c | 25 static int tcf_vlan_act(struct sk_buff *skb, const struct tc_action *a, in tcf_vlan_act() 106 struct nlattr *est, struct tc_action **a, in tcf_vlan_init() 229 static void tcf_vlan_cleanup(struct tc_action *a) in tcf_vlan_cleanup() 239 static int tcf_vlan_dump(struct sk_buff *skb, struct tc_action *a, in tcf_vlan_dump() 291 static int tcf_vlan_search(struct net *net, struct tc_action **a, u32 index, in tcf_vlan_search()
|
D | act_skbmod.c | 27 static int tcf_skbmod_act(struct sk_buff *skb, const struct tc_action *a, in tcf_skbmod_act() 83 struct nlattr *est, struct tc_action **a, in tcf_skbmod_init() 192 static void tcf_skbmod_cleanup(struct tc_action *a) in tcf_skbmod_cleanup() 202 static int tcf_skbmod_dump(struct sk_buff *skb, struct tc_action *a, in tcf_skbmod_dump() 254 static int tcf_skbmod_search(struct net *net, struct tc_action **a, u32 index, in tcf_skbmod_search()
|
D | act_skbedit.c | 36 static int tcf_skbedit_act(struct sk_buff *skb, const struct tc_action *a, in tcf_skbedit_act() 97 struct nlattr *est, struct tc_action **a, in tcf_skbedit_init() 224 static int tcf_skbedit_dump(struct sk_buff *skb, struct tc_action *a, in tcf_skbedit_dump() 274 static void tcf_skbedit_cleanup(struct tc_action *a) in tcf_skbedit_cleanup() 294 static int tcf_skbedit_search(struct net *net, struct tc_action **a, u32 index, in tcf_skbedit_search()
|
D | act_police.c | 26 struct tc_action common; 77 struct nlattr *est, struct tc_action **a, in tcf_police_init() 206 static int tcf_police_act(struct sk_buff *skb, const struct tc_action *a, in tcf_police_act() 270 static int tcf_police_dump(struct sk_buff *skb, struct tc_action *a, in tcf_police_dump() 315 static int tcf_police_search(struct net *net, struct tc_action **a, u32 index, in tcf_police_search()
|
D | act_bpf.c | 37 static int tcf_bpf_act(struct sk_buff *skb, const struct tc_action *act, in tcf_bpf_act() 137 static int tcf_bpf_dump(struct sk_buff *skb, struct tc_action *act, in tcf_bpf_dump() 279 struct nlattr *est, struct tc_action **act, in tcf_bpf_init() 372 static void tcf_bpf_cleanup(struct tc_action *act) in tcf_bpf_cleanup() 390 static int tcf_bpf_search(struct net *net, struct tc_action **a, u32 index, in tcf_bpf_search()
|
D | act_nat.c | 40 struct tc_action **a, int ovr, int bind, in tcf_nat_init() 96 static int tcf_nat_act(struct sk_buff *skb, const struct tc_action *a, in tcf_nat_act() 253 static int tcf_nat_dump(struct sk_buff *skb, struct tc_action *a, in tcf_nat_dump() 295 static int tcf_nat_search(struct net *net, struct tc_action **a, u32 index, in tcf_nat_search()
|
D | act_pedit.c | 139 struct nlattr *est, struct tc_action **a, in tcf_pedit_init() 243 static void tcf_pedit_cleanup(struct tc_action *a) in tcf_pedit_cleanup() 296 static int tcf_pedit_act(struct sk_buff *skb, const struct tc_action *a, in tcf_pedit_act() 399 static int tcf_pedit_dump(struct sk_buff *skb, struct tc_action *a, in tcf_pedit_dump() 463 static int tcf_pedit_search(struct net *net, struct tc_action **a, u32 index, in tcf_pedit_search()
|
D | act_ife.c | 411 static void _tcf_ife_cleanup(struct tc_action *a) in _tcf_ife_cleanup() 429 static void tcf_ife_cleanup(struct tc_action *a) in tcf_ife_cleanup() 470 struct nlattr *est, struct tc_action **a, in tcf_ife_init() 608 static int tcf_ife_dump(struct sk_buff *skb, struct tc_action *a, int bind, in tcf_ife_dump() 679 static int tcf_ife_decode(struct sk_buff *skb, const struct tc_action *a, in tcf_ife_decode() 752 static int tcf_ife_encode(struct sk_buff *skb, const struct tc_action *a, in tcf_ife_encode() 832 static int tcf_ife_act(struct sk_buff *skb, const struct tc_action *a, in tcf_ife_act() 858 static int tcf_ife_search(struct net *net, struct tc_action **a, u32 index, in tcf_ife_search()
|
/Linux-v4.19/drivers/net/ethernet/netronome/nfp/flower/ |
D | action.c | 71 const struct tc_action *action) in nfp_fl_push_vlan() 89 nfp_fl_pre_lag(struct nfp_app *app, const struct tc_action *action, in nfp_fl_pre_lag() 141 const struct tc_action *action, struct nfp_fl_payload *nfp_flow, in nfp_fl_output() 203 const struct tc_action *action) in nfp_fl_get_tun_from_act_l4_port() 243 const struct tc_action *action) in nfp_fl_push_geneve_options() 307 const struct tc_action *action, in nfp_fl_set_ipv4_udp_tun() 393 nfp_fl_set_eth(const struct tc_action *action, int idx, u32 off, in nfp_fl_set_eth() 418 nfp_fl_set_ip4(const struct tc_action *action, int idx, u32 off, in nfp_fl_set_ip4() 466 nfp_fl_set_ip6(const struct tc_action *action, int idx, u32 off, in nfp_fl_set_ip6() 499 nfp_fl_set_tport(const struct tc_action *action, int idx, u32 off, in nfp_fl_set_tport() [all …]
|