FD.io VPP  v18.07-rc0-415-g6c78436
Vector Packet Processing
ip4_error.h File Reference
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define foreach_ip4_error
 

Enumerations

enum  ip4_error_t { IP4_N_ERROR }
 

Macro Definition Documentation

#define foreach_ip4_error
Value:
/* Must be first. */ \
_ (NONE, "valid ip4 packets") \
\
/* Errors signalled by ip4-input */ \
_ (TOO_SHORT, "ip4 length < 20 bytes") \
_ (BAD_LENGTH, "ip4 length > l2 length") \
_ (BAD_CHECKSUM, "bad ip4 checksum") \
_ (VERSION, "ip4 version != 4") \
_ (OPTIONS, "ip4 options present") \
_ (FRAGMENT_OFFSET_ONE, "ip4 fragment offset == 1") \
_ (TIME_EXPIRED, "ip4 ttl <= 1") \
\
/* Errors signalled by ip4-rewrite. */ \
_ (MTU_EXCEEDED, "ip4 MTU exceeded and DF set") \
_ (DST_LOOKUP_MISS, "ip4 destination lookup miss") \
_ (SRC_LOOKUP_MISS, "ip4 source lookup miss") \
_ (DROP, "ip4 drop") \
_ (PUNT, "ip4 punt") \
_ (SAME_INTERFACE, "ip4 egrees interface same as ingress") \
\
/* Errors signalled by ip4-local. */ \
_ (UNKNOWN_PROTOCOL, "unknown ip protocol") \
_ (TCP_CHECKSUM, "bad tcp checksum") \
_ (UDP_CHECKSUM, "bad udp checksum") \
_ (UDP_LENGTH, "inconsistent udp/ip lengths") \
\
/* Errors signalled by ip4-source-check. */ \
_ (UNICAST_SOURCE_CHECK_FAILS, "ip4 unicast source check fails") \
\
/* Spoofed packets in ip4-rewrite-local */ \
_ (SPOOFED_LOCAL_PACKETS, "ip4 spoofed local-address packet drops") \
\
/* Errors singalled by ip4-inacl */ \
_ (INACL_TABLE_MISS, "input ACL table-miss drops") \
_ (INACL_SESSION_DENY, "input ACL session deny drops") \
/* Errors singalled by ip4-outacl */ \
_ (OUTACL_TABLE_MISS, "output ACL table-miss drops") \
_ (OUTACL_SESSION_DENY, "output ACL session deny drops") \
\
/* Erros from mfib-forward */ \
_ (RPF_FAILURE, "Multicast RPF check failed") \
\
/* Errors signalled by ip4-reassembly */ \
_ (REASS_DUPLICATE_FRAGMENT, "duplicate/overlapping fragments") \
_ (REASS_LIMIT_REACHED, "drops due to concurrent reassemblies limit") \
_ (REASS_TIMEOUT, "fragments dropped due to reassembly timeout")
DROP
Definition: error.def:41

Definition at line 43 of file ip4_error.h.

Enumeration Type Documentation

Enumerator
IP4_N_ERROR 

Definition at line 91 of file ip4_error.h.