Home
last modified time | relevance | path

Searched refs:XDP_ACTION_MAX (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.4/samples/bpf/
Dxdp_monitor_user.c99 #define XDP_ACTION_MAX (XDP_UNKNOWN + 1) macro
100 static const char *xdp_action_names[XDP_ACTION_MAX] = {
110 if (action < XDP_ACTION_MAX) in action2str()
142 struct record_u64 xdp_exception[XDP_ACTION_MAX];
335 for (rec_i = 0; rec_i < XDP_ACTION_MAX; rec_i++) { in stats_print()
491 for (i = 0; i < XDP_ACTION_MAX; i++) { in stats_collect()
543 for (i = 0; i < XDP_ACTION_MAX; i++) in alloc_stats_record()
563 for (i = 0; i < XDP_ACTION_MAX; i++) in free_stats_record()
Dxdp_rxq_info_user.c93 #define XDP_ACTION_MAX (XDP_TX + 1) macro
95 static const char *xdp_action_names[XDP_ACTION_MAX] = {
104 if (action < XDP_ACTION_MAX) in action2str()
115 for (i = 0; i < XDP_ACTION_MAX; i++) { in parse_xdp_action()
130 for (i = 0; i < XDP_ACTION_MAX; i++) in list_xdp_actions()