Home
last modified time | relevance | path

Searched refs:act (Results 1 – 16 of 16) sorted by relevance

/include/net/tc_act/
Dtc_police.h47 static inline bool is_tcf_police(const struct tc_action *act) in is_tcf_police() argument
50 if (act->ops && act->ops->id == TCA_ID_POLICE) in is_tcf_police()
56 static inline u64 tcf_police_rate_bytes_ps(const struct tc_action *act) in tcf_police_rate_bytes_ps() argument
58 struct tcf_police *police = to_police(act); in tcf_police_rate_bytes_ps()
66 static inline u32 tcf_police_burst(const struct tc_action *act) in tcf_police_burst() argument
68 struct tcf_police *police = to_police(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() argument
106 struct tcf_police *police = to_police(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() argument
116 struct tcf_police *police = to_police(act); in tcf_police_burst_pkt()
[all …]
Dtc_gact.h19 static inline bool __is_tcf_gact_act(const struct tc_action *a, int act, in __is_tcf_gact_act() argument
29 if ((!is_ext && gact->tcf_action == act) || in __is_tcf_gact_act()
30 (is_ext && TC_ACT_EXT_CMP(gact->tcf_action, act))) in __is_tcf_gact_act()
/include/net/
Dtc_wrapper.h53 if (a->ops->act == tcf_gact_act) in tc_act()
57 if (a->ops->act == tcf_mirred_act) in tc_act()
61 if (a->ops->act == tcf_pedit_act) in tc_act()
65 if (a->ops->act == tcf_skbedit_act) in tc_act()
69 if (a->ops->act == tcf_skbmod_act) in tc_act()
73 if (a->ops->act == tcf_police_act) in tc_act()
77 if (a->ops->act == tcf_bpf_act) in tc_act()
81 if (a->ops->act == tcf_connmark_act) in tc_act()
85 if (a->ops->act == tcf_csum_act) in tc_act()
89 if (a->ops->act == tcf_ct_act) in tc_act()
[all …]
Dact_api.h113 int (*act)(struct sk_buff *, const struct tc_action *, member
119 struct nlattr *est, struct tc_action **act,
127 size_t (*get_fill_size)(const struct tc_action *act);
133 int (*offload_act_setup)(struct tc_action *act, void *entry_data,
Dxdp.h514 u32 act = __bpf_prog_run(prog, xdp, BPF_DISPATCHER_FUNC(xdp)); in bpf_prog_run_xdp() local
517 if (act == XDP_TX && netif_is_bond_slave(xdp->rxq->dev)) in bpf_prog_run_xdp()
518 act = xdp_master_redirect(xdp); in bpf_prog_run_xdp()
521 return act; in bpf_prog_run_xdp()
Dpkt_cls.h286 static inline bool tc_act_in_hw(struct tc_action *act) in tc_act_in_hw() argument
288 return !!act->in_hw_count; in tc_act_in_hw()
/include/trace/events/
Dxdp.h32 const struct bpf_prog *xdp, u32 act),
34 TP_ARGS(dev, xdp, act),
38 __field(u32, act)
44 __entry->act = act;
50 __print_symbolic(__entry->act, __XDP_ACT_SYM_TAB),
63 __field(u32, act)
71 __entry->act = XDP_TX;
79 __print_symbolic(__entry->act, __XDP_ACT_SYM_TAB),
102 __field(u32, act)
125 __entry->act = XDP_REDIRECT;
[all …]
/include/uapi/linux/
Dblktrace_api.h33 #define BLK_TC_ACT(act) ((act) << BLK_TC_SHIFT) argument
/include/xen/interface/io/
Dvscsiif.h248 uint8_t act; /* command between backend and frontend */ member
/include/linux/
Dhil_mlc.h93 enum hilse_act act; /* How to process this node */ member
Dhp_sdc.h72 } act; member
Dfilter.h1191 void bpf_warn_invalid_xdp_action(struct net_device *dev, struct bpf_prog *prog, u32 act);
1650 u32 act; in bpf_sk_lookup_run_v4() local
1652 act = BPF_PROG_SK_LOOKUP_RUN_ARRAY(run_array, ctx, bpf_prog_run); in bpf_sk_lookup_run_v4()
1653 if (act == SK_PASS) { in bpf_sk_lookup_run_v4()
1689 u32 act; in bpf_sk_lookup_run_v6() local
1691 act = BPF_PROG_SK_LOOKUP_RUN_ARRAY(run_array, ctx, bpf_prog_run); in bpf_sk_lookup_run_v6()
1692 if (act == SK_PASS) { in bpf_sk_lookup_run_v6()
Dptrace.h402 extern void sigaction_compat_abi(struct k_sigaction *act, struct k_sigaction *oact);
Dirq.h605 extern void remove_percpu_irq(unsigned int irq, struct irqaction *act);
Dcompat.h856 const struct compat_old_sigaction __user *act,
/include/rdma/
Dib_verbs.h2051 struct ib_flow_action *act; member