FD.io VPP  v21.06-3-gbb25fbf28
Vector Packet Processing
urpf.h File Reference
+ Include dependency graph for urpf.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define foreach_urpf_mode
 
#define URPF_N_MODES   (URPF_MODE_STRICT+1)
 

Typedefs

typedef enum urpf_mode_t_ urpf_mode_t
 

Enumerations

enum  urpf_mode_t_ { foreach_urpf_mode }
 

Functions

u8format_urpf_mode (u8 *s, va_list *a)
 
void urpf_update (urpf_mode_t mode, u32 sw_if_index, ip_address_family_t af, vlib_dir_t dir)
 

Macro Definition Documentation

◆ foreach_urpf_mode

#define foreach_urpf_mode
Value:
_(OFF, "off") \
_(LOOSE, "loose") \
_(STRICT, "strict") \

Definition at line 21 of file urpf.h.

◆ URPF_N_MODES

#define URPF_N_MODES   (URPF_MODE_STRICT+1)

Definition at line 33 of file urpf.h.

Typedef Documentation

◆ urpf_mode_t

typedef enum urpf_mode_t_ urpf_mode_t

Enumeration Type Documentation

◆ urpf_mode_t_

Enumerator
foreach_urpf_mode 

Definition at line 26 of file urpf.h.

Function Documentation

◆ format_urpf_mode()

u8* format_urpf_mode ( u8 s,
va_list *  a 
)

Definition at line 64 of file urpf.c.

◆ urpf_update()

void urpf_update ( urpf_mode_t  mode,
u32  sw_if_index,
ip_address_family_t  af,
vlib_dir_t  dir 
)

Definition at line 99 of file urpf.c.

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