FD.io VPP
v19.04.4-rc0-5-ge88582fac
Vector Packet Processing
|
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) |
ip_null_dpo_action_t | ip_null_dpo_get_action (index_t indi) |
#define IP_NULL_ACTIONS |
Definition at line 42 of file ip_null_dpo.h.
#define IP_NULL_DPO_ACTION_NUM (IP_NULL_ACTION_SEND_ICMP_PROHIBIT+1) |
Definition at line 48 of file ip_null_dpo.h.
typedef enum ip_null_dpo_action_t_ ip_null_dpo_action_t |
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
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.
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.
ip_null_dpo_action_t ip_null_dpo_get_action | ( | index_t | indi | ) |
void ip_null_dpo_module_init | ( | void | ) |
Definition at line 411 of file ip_null_dpo.c.