Home
last modified time | relevance | path

Searched refs:tc_action (Results 1 - 25 of 99) sorted by relevance

1234

/kernel/linux/linux-6.6/include/net/
H A Dact_api.h24 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...]
/kernel/linux/linux-5.10/include/net/
H A Dact_api.h23 struct tc_action { struct
96 int (*act)(struct sk_buff *, const struct tc_action *,
98 int (*dump)(struct sk_buff *, struct tc_action *, int, int);
99 void (*cleanup)(struct tc_action *);
100 int (*lookup)(struct net *net, struct tc_action **a, u32 index);
102 struct nlattr *est, struct tc_action **act, int ovr,
109 void (*stats_update)(struct tc_action *, u64, u64, u64, u64, bool);
110 size_t (*get_fill_size)(const struct tc_action *act);
111 struct net_device *(*get_dev)(const struct tc_action *a,
114 (*get_psample_group)(const struct tc_action *
[all...]
/kernel/linux/linux-6.6/include/net/tc_act/
H A Dtc_gact.h9 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 *
[all...]
H A Dtc_skbedit.h26 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 *
[all...]
H A Dtc_ct.h35 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()
60 static inline struct nf_conntrack_helper *tcf_ct_helper(const struct tc_action *a) in tcf_ct_helper()
66 static inline uint16_t tcf_ct_zone(const struct tc_action *a) { return 0; } in tcf_ct_zone()
67 static inline int tcf_ct_action(const struct tc_action *a) { return 0; } in tcf_ct_action()
68 static inline struct nf_flowtable *tcf_ct_ft(const struct tc_action *a) in tcf_ct_ft()
72 static inline struct nf_conntrack_helper *tcf_ct_helper(const struct tc_action *a) in tcf_ct_helper()
94 static inline bool is_tcf_ct(const struct tc_action *
[all...]
H A Dtc_police.h24 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 *ac
[all...]
H A Dtc_mpls.h25 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()
H A Dtc_vlan.h24 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()
H A Dtc_mirred.h9 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()
H A Dtc_gate.h41 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()
H A Dtc_pedit.h24 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()
H A Dtc_sample.h10 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()
/kernel/linux/linux-5.10/include/net/tc_act/
H A Dtc_pedit.h14 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()
H A Dtc_gact.h9 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()
H A Dtc_skbedit.h25 struct tc_action common;
31 static inline bool is_tcf_skbedit_with_flag(const struct tc_action *a, u32 flag) in is_tcf_skbedit_with_flag()
47 static inline bool is_tcf_skbedit_mark(const struct tc_action *a) in is_tcf_skbedit_mark()
52 static inline u32 tcf_skbedit_mark(const struct tc_action *a) in tcf_skbedit_mark()
64 static inline bool is_tcf_skbedit_ptype(const struct tc_action *a) in is_tcf_skbedit_ptype()
69 static inline u32 tcf_skbedit_ptype(const struct tc_action *a) in tcf_skbedit_ptype()
81 static inline bool is_tcf_skbedit_priority(const struct tc_action *a) in is_tcf_skbedit_priority()
86 static inline u32 tcf_skbedit_priority(const struct tc_action *a) in tcf_skbedit_priority()
H A Dtc_mpls.h25 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()
H A Dtc_ct.h34 struct tc_action common;
44 static inline uint16_t tcf_ct_zone(const struct tc_action *a) in tcf_ct_zone()
49 static inline int tcf_ct_action(const struct tc_action *a) in tcf_ct_action()
54 static inline struct nf_flowtable *tcf_ct_ft(const struct tc_action *a) in tcf_ct_ft()
60 static inline uint16_t tcf_ct_zone(const struct tc_action *a) { return 0; } in tcf_ct_zone()
61 static inline int tcf_ct_action(const struct tc_action *a) { return 0; } in tcf_ct_action()
62 static inline struct nf_flowtable *tcf_ct_ft(const struct tc_action *a) in tcf_ct_ft()
84 static inline bool is_tcf_ct(const struct tc_action *a) in is_tcf_ct()
H A Dtc_gate.h41 struct tc_action common;
54 static inline bool is_tcf_gate(const struct tc_action *a) in is_tcf_gate()
63 static inline u32 tcf_gate_index(const struct tc_action *a) in tcf_gate_index()
68 static inline s32 tcf_gate_prio(const struct tc_action *a) in tcf_gate_prio()
77 static inline u64 tcf_gate_basetime(const struct tc_action *a) in tcf_gate_basetime()
86 static inline u64 tcf_gate_cycletime(const struct tc_action *a) in tcf_gate_cycletime()
95 static inline u64 tcf_gate_cycletimeext(const struct tc_action *a) in tcf_gate_cycletimeext()
104 static inline u32 tcf_gate_num_entries(const struct tc_action *a) in tcf_gate_num_entries()
114 *tcf_gate_get_list(const struct tc_action *a) in tcf_gate_get_list()
H A Dtc_vlan.h24 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()
H A Dtc_mirred.h9 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 bool is_tcf_mirred_ingress_redirect(const struct tc_action *a) in is_tcf_mirred_ingress_redirect()
44 static inline bool is_tcf_mirred_ingress_mirror(const struct tc_action *a) in is_tcf_mirred_ingress_mirror()
53 static inline struct net_device *tcf_mirred_dev(const struct tc_action *a) in tcf_mirred_dev()
H A Dtc_sample.h10 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()
H A Dtc_police.h21 struct tc_action common;
43 static inline bool is_tcf_police(const struct tc_action *act) in is_tcf_police()
52 static inline u64 tcf_police_rate_bytes_ps(const struct tc_action *act) in tcf_police_rate_bytes_ps()
62 static inline u32 tcf_police_burst(const struct tc_action *act) in tcf_police_burst()
100 static inline u32 tcf_police_tcfp_mtu(const struct tc_action *act) in tcf_police_tcfp_mtu()
H A Dtc_tunnel_key.h21 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()
/kernel/linux/linux-6.6/net/sched/
H A Dact_api.c44 static void tcf_action_goto_chain_exec(const struct tc_action *a, in tcf_action_goto_chain_exec()
106 struct tcf_chain *tcf_action_set_ctrlact(struct tc_action *a, int action, in tcf_action_set_ctrlact()
120 static void free_tcf(struct tc_action *p) in free_tcf()
135 static void offload_action_hw_count_set(struct tc_action *act, in offload_action_hw_count_set()
141 static void offload_action_hw_count_inc(struct tc_action *act, in offload_action_hw_count_inc()
147 static void offload_action_hw_count_dec(struct tc_action *act, in offload_action_hw_count_dec()
154 static unsigned int tcf_offload_act_num_actions_single(struct tc_action *act) in tcf_offload_act_num_actions_single()
181 struct tc_action *act, in offload_action_init()
246 static int tcf_action_offload_add_ex(struct tc_action *action, in tcf_action_offload_add_ex()
252 struct tc_action *action in tcf_action_offload_add_ex()
[all...]
/kernel/linux/linux-5.10/net/sched/
H A Dact_api.c25 static void tcf_action_goto_chain_exec(const struct tc_action *a, in tcf_action_goto_chain_exec()
87 struct tcf_chain *tcf_action_set_ctrlact(struct tc_action *a, int action, in tcf_action_set_ctrlact()
101 static void free_tcf(struct tc_action *p) in free_tcf()
116 static void tcf_action_cleanup(struct tc_action *p) in tcf_action_cleanup()
125 static int __tcf_action_put(struct tc_action *p, bool bind) in __tcf_action_put()
145 static int __tcf_idr_release(struct tc_action *p, bool bind, bool strict) in __tcf_idr_release()
172 int tcf_idr_release(struct tc_action *a, bool bind) in tcf_idr_release()
184 static size_t tcf_action_shared_attrs_size(const struct tc_action *act) in tcf_action_shared_attrs_size()
220 static size_t tcf_action_fill_size(const struct tc_action *act) in tcf_action_fill_size()
237 struct tc_action * in tcf_dump_walker()
[all...]

Completed in 11 milliseconds

1234