FD.io VPP  v17.10-9-gd594711
Vector Packet Processing
ip_null_dpo.h File Reference
+ Include dependency graph for ip_null_dpo.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define IP_NULL_ACTIONS
 
#define IP_NULL_DPO_ACTION_NUM   (IP_NULL_ACTION_SEND_ICMP_PROHIBIT+1)
 

Typedefs

typedef enum ip_null_dpo_action_t_ ip_null_dpo_action_t
 The IP NULL DPO represents the rubbish bin for IP traffic. More...
 

Enumerations

enum  ip_null_dpo_action_t_ { IP_NULL_ACTION_NONE, IP_NULL_ACTION_SEND_ICMP_UNREACH, IP_NULL_ACTION_SEND_ICMP_PROHIBIT }
 The IP NULL DPO represents the rubbish bin for IP traffic. More...
 

Functions

void ip_null_dpo_add_and_lock (dpo_proto_t proto, ip_null_dpo_action_t action, dpo_id_t *dpo)
 
void ip_null_dpo_module_init (void)
 

Macro Definition Documentation

#define IP_NULL_ACTIONS
#define IP_NULL_DPO_ACTION_NUM   (IP_NULL_ACTION_SEND_ICMP_PROHIBIT+1)

Definition at line 48 of file ip_null_dpo.h.

Typedef Documentation

The IP NULL DPO represents the rubbish bin for IP traffic.

Without specifying an action (i.e. send IMCP type X to sender) it is equivalent to using a drop DPO. However, in contrast to the drop DPO any route that resovles via a NULL, is considered to 'resolved' by FIB, i.e. a IP NULL is used when the control plane is explicitly expressing the desire to drop packets. Drop DPOs are used internally by FIB when resolution is not possible.

Any replies to sender are rate limited. Actions to take when a packet encounters the NULL DPO

Enumeration Type Documentation

The IP NULL DPO represents the rubbish bin for IP traffic.

Without specifying an action (i.e. send IMCP type X to sender) it is equivalent to using a drop DPO. However, in contrast to the drop DPO any route that resovles via a NULL, is considered to 'resolved' by FIB, i.e. a IP NULL is used when the control plane is explicitly expressing the desire to drop packets. Drop DPOs are used internally by FIB when resolution is not possible.

Any replies to sender are rate limited. Actions to take when a packet encounters the NULL DPO

Enumerator
IP_NULL_ACTION_NONE 
IP_NULL_ACTION_SEND_ICMP_UNREACH 
IP_NULL_ACTION_SEND_ICMP_PROHIBIT 

Definition at line 35 of file ip_null_dpo.h.

Function Documentation

void ip_null_dpo_add_and_lock ( dpo_proto_t  proto,
ip_null_dpo_action_t  action,
dpo_id_t dpo 
)

Definition at line 78 of file ip_null_dpo.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void ip_null_dpo_module_init ( void  )

Definition at line 405 of file ip_null_dpo.c.

+ Here is the call graph for this function:

+ Here is the caller graph for this function: