Home
last modified time | relevance | path

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

/include/net/tc_act/
A Dtc_police.h50 struct tcf_police *police = to_police(act); in tcf_police_rate_bytes_ps()
58 static inline u32 tcf_police_burst(const struct tc_action *act) in tcf_police_burst() argument
60 struct tcf_police *police = to_police(act); in tcf_police_burst()
98 struct tcf_police *police = to_police(act); in tcf_police_rate_pkt_ps()
106 static inline u32 tcf_police_burst_pkt(const struct tc_action *act) in tcf_police_burst_pkt() argument
108 struct tcf_police *police = to_police(act); in tcf_police_burst_pkt()
144 static inline u32 tcf_police_tcfp_mtu(const struct tc_action *act) in tcf_police_tcfp_mtu() argument
146 struct tcf_police *police = to_police(act); in tcf_police_tcfp_mtu()
156 struct tcf_police *police = to_police(act); in tcf_police_peakrate_bytes_ps()
166 struct tcf_police *police = to_police(act); in tcf_police_tcfp_ewma_rate()
[all …]
A 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/
A Dtc_wrapper.h53 if (a->ops->act == tcf_gact_act) in tc_act()
61 if (a->ops->act == tcf_pedit_act) in tc_act()
77 if (a->ops->act == tcf_bpf_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()
97 if (a->ops->act == tcf_gate_act) in tc_act()
101 if (a->ops->act == tcf_mpls_act) in tc_act()
105 if (a->ops->act == tcf_nat_act) in tc_act()
113 if (a->ops->act == tcf_vlan_act) in tc_act()
117 if (a->ops->act == tcf_ife_act) in tc_act()
[all …]
A Dact_api.h118 int (*act)(struct sk_buff *, const struct tc_action *, member
124 struct nlattr *est, struct tc_action **act,
132 size_t (*get_fill_size)(const struct tc_action *act);
138 int (*offload_act_setup)(struct tc_action *act, void *entry_data,
A Dxdp.h657 u32 act = __bpf_prog_run(prog, xdp, BPF_DISPATCHER_FUNC(xdp)); in bpf_prog_run_xdp() local
660 if (act == XDP_TX && netif_is_bond_slave(xdp->rxq->dev)) in bpf_prog_run_xdp()
661 act = xdp_master_redirect(xdp); in bpf_prog_run_xdp()
664 return act; in bpf_prog_run_xdp()
A 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/
A Dxdp.h34 TP_ARGS(dev, xdp, act),
38 __field(u32, act)
44 __entry->act = act;
63 __field(u32, act)
71 __entry->act = XDP_TX;
102 __field(u32, act)
125 __entry->act = XDP_REDIRECT;
181 __field(u32, act)
193 __entry->act = XDP_REDIRECT;
224 __field(u32, act)
[all …]
/include/net/libeth/
A Dxsk.h375 enum xdp_action act, int ret);
393 enum xdp_action act; in __libeth_xsk_run_prog() local
396 act = bpf_prog_run_xdp(bq->prog, &xdp->base); in __libeth_xsk_run_prog()
397 if (unlikely(act != XDP_REDIRECT)) in __libeth_xsk_run_prog()
399 return __libeth_xsk_run_prog_slow(xdp, bq, act, ret); in __libeth_xsk_run_prog()
453 u32 act; in __libeth_xsk_run_pass() local
464 act = run(xdp, bq); in __libeth_xsk_run_pass()
465 if (likely(act == LIBETH_XDP_REDIRECT)) in __libeth_xsk_run_pass()
468 if (act != LIBETH_XDP_PASS) in __libeth_xsk_run_pass()
469 return act != LIBETH_XDP_ABORTED; in __libeth_xsk_run_pass()
A Dxdp.h1350 enum xdp_action act, int ret);
1367 enum xdp_action act; in __libeth_xdp_run_prog() local
1369 act = bpf_prog_run_xdp(bq->prog, &xdp->base); in __libeth_xdp_run_prog()
1370 if (unlikely(act < XDP_DROP || act > XDP_REDIRECT)) in __libeth_xdp_run_prog()
1373 switch (act) { in __libeth_xdp_run_prog()
1394 return libeth_xdp_prog_exception(bq, xdp, act, 0); in __libeth_xdp_run_prog()
1424 u32 act; in __libeth_xdp_run_flush() local
1426 act = run(xdp, bq); in __libeth_xdp_run_flush()
1428 act = LIBETH_XDP_DROP; in __libeth_xdp_run_flush()
1430 bq->act_mask |= act; in __libeth_xdp_run_flush()
[all …]
/include/uapi/linux/
A Dblktrace_api.h33 #define BLK_TC_ACT(act) ((act) << BLK_TC_SHIFT) argument
/include/xen/interface/io/
A Dvscsiif.h248 uint8_t act; /* command between backend and frontend */ member
/include/linux/
A Dhil_mlc.h93 enum hilse_act act; /* How to process this node */ member
A Dhp_sdc.h72 } act; member
A Dfilter.h1223 const struct bpf_prog *prog, u32 act);
1685 u32 act; in bpf_sk_lookup_run_v4() local
1687 act = BPF_PROG_SK_LOOKUP_RUN_ARRAY(run_array, ctx, bpf_prog_run); in bpf_sk_lookup_run_v4()
1688 if (act == SK_PASS) { in bpf_sk_lookup_run_v4()
1724 u32 act; in bpf_sk_lookup_run_v6() local
1726 act = BPF_PROG_SK_LOOKUP_RUN_ARRAY(run_array, ctx, bpf_prog_run); in bpf_sk_lookup_run_v6()
1727 if (act == SK_PASS) { in bpf_sk_lookup_run_v6()
A Dptrace.h402 extern void sigaction_compat_abi(struct k_sigaction *act, struct k_sigaction *oact);
A Dcompat.h856 const struct compat_old_sigaction __user *act,
/include/rdma/
A Dib_verbs.h2091 struct ib_flow_action *act; member

Completed in 68 milliseconds