Searched refs:tc_action (Results 1 – 18 of 18) sorted by relevance
/linux-4.19.296/include/net/ |
D | act_api.h | 23 struct tc_action { struct 86 int (*act)(struct sk_buff *, const struct tc_action *, 88 int (*dump)(struct sk_buff *, struct tc_action *, int, int); 89 void (*cleanup)(struct tc_action *); 90 int (*lookup)(struct net *net, struct tc_action **a, u32 index, 93 struct nlattr *est, struct tc_action **act, int ovr, 100 void (*stats_update)(struct tc_action *, u64, u32, u64); 101 size_t (*get_fill_size)(const struct tc_action *act); 102 struct net_device *(*get_dev)(const struct tc_action *a); 149 int tcf_idr_search(struct tc_action_net *tn, struct tc_action **a, u32 index); [all …]
|
D | pkt_cls.h | 258 struct tc_action **actions; 274 exts->actions = kcalloc(TCA_ACT_MAX_PRIO, sizeof(struct tc_action *), in tcf_exts_init() 324 struct tc_action *a = exts->actions[i]; in tcf_exts_stats_update() 363 static inline struct tc_action *tcf_exts_first_action(struct tcf_exts *exts) in tcf_exts_first_action()
|
D | dsa.h | 27 struct tc_action;
|
/linux-4.19.296/include/net/tc_act/ |
D | tc_pedit.h | 14 struct tc_action common; 24 static inline bool is_tcf_pedit(const struct tc_action *a) in is_tcf_pedit() 33 static inline int tcf_pedit_nkeys(const struct tc_action *a) in tcf_pedit_nkeys() 38 static inline u32 tcf_pedit_htype(const struct tc_action *a, int index) in tcf_pedit_htype() 46 static inline u32 tcf_pedit_cmd(const struct tc_action *a, int index) in tcf_pedit_cmd() 54 static inline u32 tcf_pedit_mask(const struct tc_action *a, int index) in tcf_pedit_mask() 59 static inline u32 tcf_pedit_val(const struct tc_action *a, int index) in tcf_pedit_val() 64 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()
|
D | tc_defact.h | 8 struct tc_action common;
|
D | tc_connmark.h | 8 struct tc_action common;
|
D | tc_ipt.h | 10 struct tc_action common;
|
D | tc_nat.h | 9 struct tc_action common;
|
D | tc_bpf.h | 17 struct tc_action common;
|
D | tc_skbmod.h | 25 struct tc_action common;
|
D | tc_ife.h | 20 struct tc_action common;
|