/linux-master/include/net/tc_act/ |
H A D | tc_gact.h | 9 struct tc_action common; 19 static inline bool __is_tcf_gact_act(const struct tc_action *a, int act, 37 static inline bool is_tcf_gact_ok(const struct tc_action *a) 42 static inline bool is_tcf_gact_shot(const struct tc_action *a) 47 static inline bool is_tcf_gact_trap(const struct tc_action *a) 52 static inline bool is_tcf_gact_goto_chain(const struct tc_action *a) 57 static inline u32 tcf_gact_goto_chain_index(const struct tc_action *a) 62 static inline bool is_tcf_gact_continue(const struct tc_action *a) 67 static inline bool is_tcf_gact_reclassify(const struct tc_action *a) 72 static inline bool is_tcf_gact_pipe(const struct tc_action * [all...] |
H A D | tc_sample.h | 10 struct tc_action common; 20 static inline bool is_tcf_sample(const struct tc_action *a) 29 static inline __u32 tcf_sample_rate(const struct tc_action *a) 34 static inline bool tcf_sample_truncate(const struct tc_action *a) 39 static inline int tcf_sample_trunc_size(const struct tc_action *a)
|
H A D | tc_ct.h | 36 struct tc_action common; 46 static inline uint16_t tcf_ct_zone(const struct tc_action *a) 51 static inline int tcf_ct_action(const struct tc_action *a) 56 static inline struct nf_flowtable *tcf_ct_ft(const struct tc_action *a) 61 static inline struct nf_conntrack_helper *tcf_ct_helper(const struct tc_action *a) 67 static inline uint16_t tcf_ct_zone(const struct tc_action *a) { return 0; } 68 static inline int tcf_ct_action(const struct tc_action *a) { return 0; } 69 static inline struct nf_flowtable *tcf_ct_ft(const struct tc_action *a) 73 static inline struct nf_conntrack_helper *tcf_ct_helper(const struct tc_action *a) 95 static inline bool is_tcf_ct(const struct tc_action * [all...] |
H A D | tc_skbedit.h | 26 struct tc_action common; 32 static inline bool is_tcf_skbedit_with_flag(const struct tc_action *a, u32 flag) 48 static inline bool is_tcf_skbedit_mark(const struct tc_action *a) 53 static inline u32 tcf_skbedit_mark(const struct tc_action *a) 65 static inline bool is_tcf_skbedit_ptype(const struct tc_action *a) 70 static inline u32 tcf_skbedit_ptype(const struct tc_action *a) 82 static inline bool is_tcf_skbedit_priority(const struct tc_action *a) 87 static inline u32 tcf_skbedit_priority(const struct tc_action *a) 98 static inline u16 tcf_skbedit_rx_queue_mapping(const struct tc_action *a) 110 static inline bool is_tcf_skbedit_queue_mapping(const struct tc_action * [all...] |
H A D | tc_vlan.h | 24 struct tc_action common; 29 static inline bool is_tcf_vlan(const struct tc_action *a) 38 static inline u32 tcf_vlan_action(const struct tc_action *a) 49 static inline u16 tcf_vlan_push_vid(const struct tc_action *a) 60 static inline __be16 tcf_vlan_push_proto(const struct tc_action *a) 71 static inline u8 tcf_vlan_push_prio(const struct tc_action *a) 83 const struct tc_action *a)
|
H A D | tc_csum.h | 15 struct tc_action common; 21 static inline bool is_tcf_csum(const struct tc_action *a) 30 static inline u32 tcf_csum_update_flags(const struct tc_action *a)
|
H A D | tc_defact.h | 8 struct tc_action common;
|
H A D | tc_mpls.h | 25 struct tc_action common; 30 static inline bool is_tcf_mpls(const struct tc_action *a) 39 static inline u32 tcf_mpls_action(const struct tc_action *a) 50 static inline __be16 tcf_mpls_proto(const struct tc_action *a) 61 static inline u32 tcf_mpls_label(const struct tc_action *a) 72 static inline u8 tcf_mpls_tc(const struct tc_action *a) 83 static inline u8 tcf_mpls_bos(const struct tc_action *a) 94 static inline u8 tcf_mpls_ttl(const struct tc_action *a)
|
H A D | tc_mirred.h | 9 struct tc_action common; 19 static inline bool is_tcf_mirred_egress_redirect(const struct tc_action *a) 28 static inline bool is_tcf_mirred_egress_mirror(const struct tc_action *a) 37 static inline bool is_tcf_mirred_ingress_redirect(const struct tc_action *a) 46 static inline bool is_tcf_mirred_ingress_mirror(const struct tc_action *a) 55 static inline struct net_device *tcf_mirred_dev(const struct tc_action *a)
|
H A D | tc_tunnel_key.h | 21 struct tc_action common; 27 static inline bool is_tcf_tunnel_set(const struct tc_action *a) 41 static inline bool is_tcf_tunnel_release(const struct tc_action *a) 55 static inline struct ip_tunnel_info *tcf_tunnel_info(const struct tc_action *a) 71 tcf_tunnel_info_copy(const struct tc_action *a)
|
H A D | tc_gate.h | 41 struct tc_action common; 54 static inline bool is_tcf_gate(const struct tc_action *a) 63 static inline s32 tcf_gate_prio(const struct tc_action *a) 72 static inline u64 tcf_gate_basetime(const struct tc_action *a) 81 static inline u64 tcf_gate_cycletime(const struct tc_action *a) 90 static inline u64 tcf_gate_cycletimeext(const struct tc_action *a) 99 static inline u32 tcf_gate_num_entries(const struct tc_action *a) 109 *tcf_gate_get_list(const struct tc_action *a)
|
H A D | tc_pedit.h | 24 struct tc_action common; 31 static inline bool is_tcf_pedit(const struct tc_action *a) 40 static inline int tcf_pedit_nkeys(const struct tc_action *a) 53 static inline u32 tcf_pedit_htype(const struct tc_action *a, int index) 67 static inline u32 tcf_pedit_cmd(const struct tc_action *a, int index) 81 static inline u32 tcf_pedit_mask(const struct tc_action *a, int index) 94 static inline u32 tcf_pedit_val(const struct tc_action *a, int index) 107 static inline u32 tcf_pedit_offset(const struct tc_action *a, int index)
|
H A D | tc_bpf.h | 13 struct tc_action common;
|
H A D | tc_skbmod.h | 21 struct tc_action common;
|
H A D | tc_nat.h | 17 struct tc_action common;
|
H A D | tc_connmark.h | 14 struct tc_action common;
|
H A D | tc_police.h | 24 struct tc_action common; 47 static inline bool is_tcf_police(const struct tc_action *act) 56 static inline u64 tcf_police_rate_bytes_ps(const struct tc_action *act) 66 static inline u32 tcf_police_burst(const struct tc_action *act) 104 static inline u64 tcf_police_rate_pkt_ps(const struct tc_action *act) 114 static inline u32 tcf_police_burst_pkt(const struct tc_action *act) 152 static inline u32 tcf_police_tcfp_mtu(const struct tc_action *act) 162 static inline u64 tcf_police_peakrate_bytes_ps(const struct tc_action *act) 172 static inline u32 tcf_police_tcfp_ewma_rate(const struct tc_action *act) 182 static inline u16 tcf_police_rate_overhead(const struct tc_action *ac [all...] |
H A D | tc_ctinfo.h | 19 struct tc_action common;
|
/linux-master/include/net/ |
H A D | act_api.h | 24 struct tc_action { struct 113 int (*act)(struct sk_buff *, const struct tc_action *, 115 int (*dump)(struct sk_buff *, struct tc_action *, int, int); 116 void (*cleanup)(struct tc_action *); 117 int (*lookup)(struct net *net, struct tc_action **a, u32 index); 119 struct nlattr *est, struct tc_action **act, 126 void (*stats_update)(struct tc_action *, u64, u64, u64, u64, bool); 127 size_t (*get_fill_size)(const struct tc_action *act); 128 struct net_device *(*get_dev)(const struct tc_action *a, 131 (*get_psample_group)(const struct tc_action * [all...] |
/linux-master/net/sched/ |
H A D | act_api.c | 44 static void tcf_action_goto_chain_exec(const struct tc_action *a, 106 struct tcf_chain *tcf_action_set_ctrlact(struct tc_action *a, int action, 120 static void free_tcf(struct tc_action *p) 135 static void offload_action_hw_count_set(struct tc_action *act, 141 static void offload_action_hw_count_inc(struct tc_action *act, 147 static void offload_action_hw_count_dec(struct tc_action *act, 154 static unsigned int tcf_offload_act_num_actions_single(struct tc_action *act) 181 struct tc_action *act, 246 static int tcf_action_offload_add_ex(struct tc_action *action, 252 struct tc_action *action [all...] |
H A D | act_simple.c | 26 const struct tc_action *a, 46 static void tcf_simp_release(struct tc_action *a) 61 static int reset_policy(struct tc_action *a, const struct nlattr *defdata, 89 struct nlattr *est, struct tc_action **a, 171 static int tcf_simp_dump(struct sk_buff *skb, struct tc_action *a,
|
H A D | act_gact.c | 54 struct nlattr *est, struct tc_action **a, 150 const struct tc_action *a, 173 static void tcf_gact_stats_update(struct tc_action *a, u64 bytes, u64 packets, 185 static int tcf_gact_dump(struct sk_buff *skb, struct tc_action *a, 226 static size_t tcf_gact_get_fill_size(const struct tc_action *act) 239 static int tcf_gact_offload_act_setup(struct tc_action *act, void *entry_data,
|
H A D | act_sample.c | 37 struct nlattr *est, struct tc_action **a, 136 static void tcf_sample_cleanup(struct tc_action *a) 165 const struct tc_action *a, 202 static void tcf_sample_stats_update(struct tc_action *a, u64 bytes, u64 packets, 212 static int tcf_sample_dump(struct sk_buff *skb, struct tc_action *a, 260 tcf_sample_get_group(const struct tc_action *a, 277 const struct tc_action *act) 284 static int tcf_sample_offload_act_setup(struct tc_action *act, void *entry_data,
|
H A D | act_skbedit.c | 41 const struct tc_action *a, 95 static void tcf_skbedit_stats_update(struct tc_action *a, u64 bytes, 118 struct nlattr *est, struct tc_action **a, 284 static int tcf_skbedit_dump(struct sk_buff *skb, struct tc_action *a, 346 static void tcf_skbedit_cleanup(struct tc_action *a) 356 static size_t tcf_skbedit_get_fill_size(const struct tc_action *act) 368 static int tcf_skbedit_offload_act_setup(struct tc_action *act, void *entry_data,
|
H A D | act_vlan.c | 23 const struct tc_action *a, 117 struct nlattr *est, struct tc_action **a, 276 static void tcf_vlan_cleanup(struct tc_action *a) 286 static int tcf_vlan_dump(struct sk_buff *skb, struct tc_action *a, 337 static void tcf_vlan_stats_update(struct tc_action *a, u64 bytes, u64 packets, 347 static size_t tcf_vlan_get_fill_size(const struct tc_action *act) 355 static int tcf_vlan_offload_act_setup(struct tc_action *act, void *entry_data,
|