/linux-6.3-rc2/include/net/ |
A D | act_api.h | 24 struct tc_action { struct 113 int (*act)(struct sk_buff *, const struct tc_action *, 116 void (*cleanup)(struct tc_action *); 119 struct nlattr *est, struct tc_action **act, 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 *a, 191 struct nlattr *est, struct tc_action **a, 194 void tcf_idr_insert_many(struct tc_action *actions[]); 197 struct tc_action **a, int bind); [all …]
|
/linux-6.3-rc2/include/net/tc_act/ |
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) in is_tcf_skbedit_with_flag() 48 static inline bool is_tcf_skbedit_mark(const struct tc_action *a) in is_tcf_skbedit_mark() 53 static inline u32 tcf_skbedit_mark(const struct tc_action *a) in tcf_skbedit_mark() 65 static inline bool is_tcf_skbedit_ptype(const struct tc_action *a) in is_tcf_skbedit_ptype() 70 static inline u32 tcf_skbedit_ptype(const struct tc_action *a) in tcf_skbedit_ptype() 82 static inline bool is_tcf_skbedit_priority(const struct tc_action *a) in is_tcf_skbedit_priority() 87 static inline u32 tcf_skbedit_priority(const struct tc_action *a) in tcf_skbedit_priority() 98 static inline u16 tcf_skbedit_rx_queue_mapping(const struct tc_action *a) in tcf_skbedit_rx_queue_mapping() 110 static inline bool is_tcf_skbedit_queue_mapping(const struct tc_action *a) in is_tcf_skbedit_queue_mapping() [all …]
|
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, 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() 62 static inline bool is_tcf_gact_continue(const struct tc_action *a) in is_tcf_gact_continue() 67 static inline bool is_tcf_gact_reclassify(const struct tc_action *a) in is_tcf_gact_reclassify() 72 static inline bool is_tcf_gact_pipe(const struct tc_action *a) in is_tcf_gact_pipe()
|
A D | tc_ct.h | 35 struct tc_action common; 45 static inline uint16_t tcf_ct_zone(const struct tc_action *a) in tcf_ct_zone() 50 static inline int tcf_ct_action(const struct tc_action *a) in tcf_ct_action() 55 static inline struct nf_flowtable *tcf_ct_ft(const struct tc_action *a) in tcf_ct_ft() 61 static inline uint16_t tcf_ct_zone(const struct tc_action *a) { return 0; } in tcf_ct_zone() 62 static inline int tcf_ct_action(const struct tc_action *a) { return 0; } in tcf_ct_action() 63 static inline struct nf_flowtable *tcf_ct_ft(const struct tc_action *a) in tcf_ct_ft() 85 static inline bool is_tcf_ct(const struct tc_action *a) in is_tcf_ct()
|
A D | tc_mpls.h | 25 struct tc_action common; 30 static inline bool is_tcf_mpls(const struct tc_action *a) in is_tcf_mpls() 39 static inline u32 tcf_mpls_action(const struct tc_action *a) in tcf_mpls_action() 50 static inline __be16 tcf_mpls_proto(const struct tc_action *a) in tcf_mpls_proto() 61 static inline u32 tcf_mpls_label(const struct tc_action *a) in tcf_mpls_label() 72 static inline u8 tcf_mpls_tc(const struct tc_action *a) in tcf_mpls_tc() 83 static inline u8 tcf_mpls_bos(const struct tc_action *a) in tcf_mpls_bos() 94 static inline u8 tcf_mpls_ttl(const struct tc_action *a) in tcf_mpls_ttl()
|
A D | tc_police.h | 24 struct tc_action common; 47 static inline bool is_tcf_police(const struct tc_action *act) in is_tcf_police() 56 static inline u64 tcf_police_rate_bytes_ps(const struct tc_action *act) in tcf_police_rate_bytes_ps() 66 static inline u32 tcf_police_burst(const struct tc_action *act) in tcf_police_burst() 104 static inline u64 tcf_police_rate_pkt_ps(const struct tc_action *act) in tcf_police_rate_pkt_ps() 114 static inline u32 tcf_police_burst_pkt(const struct tc_action *act) in tcf_police_burst_pkt() 152 static inline u32 tcf_police_tcfp_mtu(const struct tc_action *act) in tcf_police_tcfp_mtu() 162 static inline u64 tcf_police_peakrate_bytes_ps(const struct tc_action *act) in tcf_police_peakrate_bytes_ps() 172 static inline u32 tcf_police_tcfp_ewma_rate(const struct tc_action *act) in tcf_police_tcfp_ewma_rate() 182 static inline u16 tcf_police_rate_overhead(const struct tc_action *act) in tcf_police_rate_overhead()
|
A D | tc_pedit.h | 24 struct tc_action common; 31 static inline bool is_tcf_pedit(const struct tc_action *a) in is_tcf_pedit() 40 static inline int tcf_pedit_nkeys(const struct tc_action *a) in tcf_pedit_nkeys() 53 static inline u32 tcf_pedit_htype(const struct tc_action *a, int index) in tcf_pedit_htype() 67 static inline u32 tcf_pedit_cmd(const struct tc_action *a, int index) in tcf_pedit_cmd() 81 static inline u32 tcf_pedit_mask(const struct tc_action *a, int index) in tcf_pedit_mask() 94 static inline u32 tcf_pedit_val(const struct tc_action *a, int index) in tcf_pedit_val() 107 static inline u32 tcf_pedit_offset(const struct tc_action *a, int index) in tcf_pedit_offset()
|
A D | tc_vlan.h | 24 struct tc_action common; 29 static inline bool is_tcf_vlan(const struct tc_action *a) in is_tcf_vlan() 38 static inline u32 tcf_vlan_action(const struct tc_action *a) in tcf_vlan_action() 49 static inline u16 tcf_vlan_push_vid(const struct tc_action *a) in tcf_vlan_push_vid() 60 static inline __be16 tcf_vlan_push_proto(const struct tc_action *a) in tcf_vlan_push_proto() 71 static inline u8 tcf_vlan_push_prio(const struct tc_action *a) in tcf_vlan_push_prio() 83 const struct tc_action *a) in tcf_vlan_push_eth()
|
A D | tc_mirred.h | 9 struct tc_action common; 18 static inline bool is_tcf_mirred_egress_redirect(const struct tc_action *a) in is_tcf_mirred_egress_redirect() 27 static inline bool is_tcf_mirred_egress_mirror(const struct tc_action *a) in is_tcf_mirred_egress_mirror() 36 static inline bool is_tcf_mirred_ingress_redirect(const struct tc_action *a) in is_tcf_mirred_ingress_redirect() 45 static inline bool is_tcf_mirred_ingress_mirror(const struct tc_action *a) in is_tcf_mirred_ingress_mirror() 54 static inline struct net_device *tcf_mirred_dev(const struct tc_action *a) in tcf_mirred_dev()
|
A D | tc_gate.h | 41 struct tc_action common; 54 static inline bool is_tcf_gate(const struct tc_action *a) in is_tcf_gate() 63 static inline s32 tcf_gate_prio(const struct tc_action *a) in tcf_gate_prio() 72 static inline u64 tcf_gate_basetime(const struct tc_action *a) in tcf_gate_basetime() 81 static inline u64 tcf_gate_cycletime(const struct tc_action *a) in tcf_gate_cycletime() 90 static inline u64 tcf_gate_cycletimeext(const struct tc_action *a) in tcf_gate_cycletimeext() 99 static inline u32 tcf_gate_num_entries(const struct tc_action *a) in tcf_gate_num_entries() 109 *tcf_gate_get_list(const struct tc_action *a) in tcf_gate_get_list()
|
A 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()
|
A D | tc_tunnel_key.h | 21 struct tc_action common; 27 static inline bool is_tcf_tunnel_set(const struct tc_action *a) in is_tcf_tunnel_set() 41 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() 71 tcf_tunnel_info_copy(const struct tc_action *a) in tcf_tunnel_info_copy()
|
A 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()
|
/linux-6.3-rc2/net/sched/ |
A D | act_api.c | 515 struct tc_action *p; in tcf_dump_walker() 594 struct tc_action *p; in tcf_del_walker() 657 struct tc_action *p; in tcf_idr_search() 702 struct tc_action *p; in tcf_idr_delete_index() 825 struct tc_action *p; in tcf_idr_check_alloc() 872 struct tc_action *p; in tcf_idrinfo_destroy() 1118 struct tc_action *a; in tcf_action_destroy() 1210 struct tc_action *a; in tcf_action_dump() 1368 struct tc_action *a; in tcf_action_init_1() 1640 struct tc_action *a; in tcf_action_get_1() [all …]
|
A D | act_sample.c | 37 struct nlattr *est, struct tc_action **a, in tcf_sample_init() 136 static void tcf_sample_cleanup(struct tc_action *a) in tcf_sample_cleanup() 165 const struct tc_action *a, in tcf_sample_act() 202 static void tcf_sample_stats_update(struct tc_action *a, u64 bytes, u64 packets, in tcf_sample_stats_update() 212 static int tcf_sample_dump(struct sk_buff *skb, struct tc_action *a, in tcf_sample_dump() 260 tcf_sample_get_group(const struct tc_action *a, in tcf_sample_get_group() 277 const struct tc_action *act) in tcf_offload_sample_get_group() 284 static int tcf_sample_offload_act_setup(struct tc_action *act, void *entry_data, in tcf_sample_offload_act_setup()
|
A D | act_mirred.c | 72 static void tcf_mirred_release(struct tc_action *a) in tcf_mirred_release() 93 struct nlattr *est, struct tc_action **a, in tcf_mirred_init() 229 const struct tc_action *a, in tcf_mirred_act() 337 static void tcf_stats_update(struct tc_action *a, u64 bytes, u64 packets, in tcf_stats_update() 347 static int tcf_mirred_dump(struct sk_buff *skb, struct tc_action *a, int bind, in tcf_mirred_dump() 421 tcf_mirred_get_dev(const struct tc_action *a, in tcf_mirred_get_dev() 438 static size_t tcf_mirred_get_fill_size(const struct tc_action *act) in tcf_mirred_get_fill_size() 444 const struct tc_action *act) in tcf_offload_mirred_get_dev() 452 static int tcf_mirred_offload_act_setup(struct tc_action *act, void *entry_data, in tcf_mirred_offload_act_setup()
|
A D | act_simple.c | 26 const struct tc_action *a, in tcf_simp_act() 46 static void tcf_simp_release(struct tc_action *a) in tcf_simp_release() 61 static int reset_policy(struct tc_action *a, const struct nlattr *defdata, in reset_policy() 89 struct nlattr *est, struct tc_action **a, in tcf_simp_init() 171 static int tcf_simp_dump(struct sk_buff *skb, struct tc_action *a, in tcf_simp_dump()
|
A D | act_gact.c | 54 struct nlattr *est, struct tc_action **a, in tcf_gact_init() 150 const struct tc_action *a, in tcf_gact_act() 173 static void tcf_gact_stats_update(struct tc_action *a, u64 bytes, u64 packets, in tcf_gact_stats_update() 185 static int tcf_gact_dump(struct sk_buff *skb, struct tc_action *a, in tcf_gact_dump() 226 static size_t tcf_gact_get_fill_size(const struct tc_action *act) in tcf_gact_get_fill_size() 239 static int tcf_gact_offload_act_setup(struct tc_action *act, void *entry_data, in tcf_gact_offload_act_setup()
|
A D | act_vlan.c | 23 const struct tc_action *a, in tcf_vlan_act() 117 struct nlattr *est, struct tc_action **a, in tcf_vlan_init() 276 static void tcf_vlan_cleanup(struct tc_action *a) in tcf_vlan_cleanup() 286 static int tcf_vlan_dump(struct sk_buff *skb, struct tc_action *a, in tcf_vlan_dump() 337 static void tcf_vlan_stats_update(struct tc_action *a, u64 bytes, u64 packets, in tcf_vlan_stats_update() 347 static size_t tcf_vlan_get_fill_size(const struct tc_action *act) in tcf_vlan_get_fill_size() 355 static int tcf_vlan_offload_act_setup(struct tc_action *act, void *entry_data, in tcf_vlan_offload_act_setup()
|
A D | act_skbedit.c | 41 const struct tc_action *a, in tcf_skbedit_act() 95 static void tcf_skbedit_stats_update(struct tc_action *a, u64 bytes, in tcf_skbedit_stats_update() 118 struct nlattr *est, struct tc_action **a, in tcf_skbedit_init() 284 static int tcf_skbedit_dump(struct sk_buff *skb, struct tc_action *a, in tcf_skbedit_dump() 346 static void tcf_skbedit_cleanup(struct tc_action *a) in tcf_skbedit_cleanup() 356 static size_t tcf_skbedit_get_fill_size(const struct tc_action *act) in tcf_skbedit_get_fill_size() 368 static int tcf_skbedit_offload_act_setup(struct tc_action *act, void *entry_data, in tcf_skbedit_offload_act_setup()
|
A D | act_ipt.c | 75 static void tcf_ipt_release(struct tc_action *a) in tcf_ipt_release() 94 struct nlattr *est, struct tc_action **a, in __tcf_ipt_init() 203 struct nlattr *est, struct tc_action **a, in tcf_ipt_init() 212 struct nlattr *est, struct tc_action **a, in tcf_xt_init() 221 const struct tc_action *a, in tcf_ipt_act() 273 static int tcf_ipt_dump(struct sk_buff *skb, struct tc_action *a, int bind, in tcf_ipt_dump()
|
A D | act_connmark.c | 32 const struct tc_action *a, in tcf_connmark_act() 99 struct nlattr *est, struct tc_action **a, in tcf_connmark_init() 190 static inline int tcf_connmark_dump(struct sk_buff *skb, struct tc_action *a, in tcf_connmark_dump() 225 static void tcf_connmark_cleanup(struct tc_action *a) in tcf_connmark_cleanup()
|
A D | act_gate.c | 118 const struct tc_action *a, in tcf_gate_act() 300 struct nlattr *est, struct tc_action **a, in tcf_gate_init() 462 static void tcf_gate_cleanup(struct tc_action *a) in tcf_gate_cleanup() 503 static int tcf_gate_dump(struct sk_buff *skb, struct tc_action *a, in tcf_gate_dump() 571 static void tcf_gate_stats_update(struct tc_action *a, u64 bytes, u64 packets, in tcf_gate_stats_update() 581 static size_t tcf_gate_get_fill_size(const struct tc_action *act) in tcf_gate_get_fill_size() 594 const struct tc_action *act) in tcf_gate_get_entries() 607 static int tcf_gate_offload_act_setup(struct tc_action *act, void *entry_data, in tcf_gate_offload_act_setup()
|
A D | act_skbmod.c | 26 const struct tc_action *a, in tcf_skbmod_act() 103 struct nlattr *est, struct tc_action **a, in tcf_skbmod_init() 228 static void tcf_skbmod_cleanup(struct tc_action *a) in tcf_skbmod_cleanup() 238 static int tcf_skbmod_dump(struct sk_buff *skb, struct tc_action *a, in tcf_skbmod_dump()
|
A D | act_pedit.c | 149 struct nlattr *est, struct tc_action **a, in tcf_pedit_init() 294 static void tcf_pedit_cleanup(struct tc_action *a) in tcf_pedit_cleanup() 350 const struct tc_action *a, in tcf_pedit_act() 455 static void tcf_pedit_stats_update(struct tc_action *a, u64 bytes, u64 packets, in tcf_pedit_stats_update() 465 static int tcf_pedit_dump(struct sk_buff *skb, struct tc_action *a, in tcf_pedit_dump() 521 static int tcf_pedit_offload_act_setup(struct tc_action *act, void *entry_data, in tcf_pedit_offload_act_setup()
|