FD.io VPP
v18.07.1-19-g511ce25
Vector Packet Processing
|
Go to the source code of this file.
Macros | |
#define | QOS_N_SOURCES (QOS_SOURCE_IP + 1) |
The maximum number of sources. More... | |
#define | QOS_SOURCE_NAMES |
#define | FOR_EACH_QOS_SOURCE(_src) |
Typedefs | |
typedef enum qos_source_t_ | qos_source_t |
QoS tyeps. More... | |
typedef u8 | qos_bits_t |
Type, er, safety for us water based entities. More... | |
Enumerations | |
enum | qos_source_t_ { QOS_SOURCE_EXT, QOS_SOURCE_VLAN, QOS_SOURCE_MPLS, QOS_SOURCE_IP } |
QoS tyeps. More... | |
Functions | |
u8 * | format_qos_source (u8 *s, va_list *args) |
format/unformat QoS source types More... | |
uword | unformat_qos_source (unformat_input_t *input, va_list *args) |
#define FOR_EACH_QOS_SOURCE | ( | _src | ) |
Definition at line 54 of file qos_types.h.
#define QOS_N_SOURCES (QOS_SOURCE_IP + 1) |
The maximum number of sources.
defined outside the enum so switch statements don't need to handle a non-value nor use a default label
Definition at line 45 of file qos_types.h.
#define QOS_SOURCE_NAMES |
Definition at line 47 of file qos_types.h.
typedef u8 qos_bits_t |
Type, er, safety for us water based entities.
Definition at line 68 of file qos_types.h.
typedef enum qos_source_t_ qos_source_t |
QoS tyeps.
Sources for the QoS bits in the packet
enum qos_source_t_ |
QoS tyeps.
Sources for the QoS bits in the packet
Enumerator | |
---|---|
QOS_SOURCE_EXT |
Some external source, e.g. a plugin. |
QOS_SOURCE_VLAN | |
QOS_SOURCE_MPLS | |
QOS_SOURCE_IP |
Definition at line 30 of file qos_types.h.
format/unformat QoS source types
Definition at line 27 of file qos_types.c.
uword unformat_qos_source | ( | unformat_input_t * | input, |
va_list * | args | ||
) |
Definition at line 35 of file qos_types.c.