FD.io VPP  v20.09-64-g4f7b92f0a
Vector Packet Processing
urpf_dp.h File Reference

Unicast Reverse Path forwarding. More...

+ Include dependency graph for urpf_dp.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  urpf_trace_t
 

Macros

#define foreach_urpf_error   _(DROP, "uRPF Drop") \
 

Typedefs

typedef enum urpf_error_t_ urpf_error_t
 

Enumerations

enum  urpf_error_t_ { URPF_N_ERROR }
 
enum  urpf_next_t { URPF_NEXT_DROP, URPF_N_NEXT }
 

Functions

static u8format_urpf_trace (u8 *s, va_list *va)
 
static_always_inline uword urpf_inline (vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame, ip_address_family_t af, vlib_dir_t dir, urpf_mode_t mode)
 

Detailed Description

Unicast Reverse Path forwarding.

This file contains the interface unicast source check.

Definition in file urpf_dp.h.

Macro Definition Documentation

◆ foreach_urpf_error

#define foreach_urpf_error   _(DROP, "uRPF Drop") \

Definition at line 73 of file urpf_dp.h.

Typedef Documentation

◆ urpf_error_t

Enumeration Type Documentation

◆ urpf_error_t_

Enumerator
URPF_N_ERROR 

Definition at line 76 of file urpf_dp.h.

◆ urpf_next_t

Enumerator
URPF_NEXT_DROP 
URPF_N_NEXT 

Definition at line 84 of file urpf_dp.h.

Function Documentation

◆ format_urpf_trace()

static u8* format_urpf_trace ( u8 s,
va_list *  va 
)
static

Definition at line 62 of file urpf_dp.h.

+ Here is the call graph for this function:

◆ urpf_inline()

static_always_inline uword urpf_inline ( vlib_main_t vm,
vlib_node_runtime_t node,
vlib_frame_t frame,
ip_address_family_t  af,
vlib_dir_t  dir,
urpf_mode_t  mode 
)

Definition at line 91 of file urpf_dp.h.

+ Here is the call graph for this function:
+ Here is the caller graph for this function: