diff options
author | Maxime Peim <mpeim@cisco.com> | 2024-03-11 10:35:16 +0100 |
---|---|---|
committer | Beno�t Ganne <bganne@cisco.com> | 2024-05-28 11:56:46 +0000 |
commit | 0720d65c7b0cf7106742ce02a0512bf647d5e517 (patch) | |
tree | c957bef8c00558424240fbea51893de41361220a /src/plugins/urpf/urpf_dp.h | |
parent | 7624083c27125d1d0abd11738f7dceb2990969ed (diff) |
urpf: export to use it externally
Type: improvement
Change-Id: Ia70f16c92dfc153256db6dcdf23f5487d5a7b678
Signed-off-by: Maxime Peim <mpeim@cisco.com>
Diffstat (limited to 'src/plugins/urpf/urpf_dp.h')
-rw-r--r-- | src/plugins/urpf/urpf_dp.h | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/src/plugins/urpf/urpf_dp.h b/src/plugins/urpf/urpf_dp.h index bca41863d41..b17fed7e04b 100644 --- a/src/plugins/urpf/urpf_dp.h +++ b/src/plugins/urpf/urpf_dp.h @@ -53,21 +53,6 @@ * * This file contains the interface unicast source check. */ -typedef struct -{ - index_t urpf; - u32 fib_index; -} urpf_trace_t; - -static u8 * -format_urpf_trace (u8 * s, va_list * va) -{ - CLIB_UNUSED (vlib_main_t * vm) = va_arg (*va, vlib_main_t *); - CLIB_UNUSED (vlib_node_t * node) = va_arg (*va, vlib_node_t *); - urpf_trace_t *t = va_arg (*va, urpf_trace_t *); - - return format (s, "uRPF:%d fib:%d", t->urpf, t->fib_index); -} #define foreach_urpf_error \ _(DROP, "uRPF Drop") \ |