22 #ifndef __QOS_TYPES_H__ 23 #define __QOS_TYPES_H__ 39 } __attribute__ ((packed)) qos_source_t;
45 #define QOS_N_SOURCES (QOS_SOURCE_IP + 1) 47 #define QOS_SOURCE_NAMES { \ 48 [QOS_SOURCE_EXT] = "ext", \ 49 [QOS_SOURCE_IP] = "IP", \ 50 [QOS_SOURCE_MPLS] = "MPLS", \ 51 [QOS_SOURCE_VLAN] = "VLAN", \ 54 #define FOR_EACH_QOS_SOURCE(_src) \ 55 for (_src = QOS_SOURCE_EXT; \ 56 _src <= QOS_SOURCE_IP; \
Some external source, e.g.
u8 * format_qos_source(u8 *s, va_list *args)
format/unformat QoS source types
uword unformat_qos_source(unformat_input_t *input, va_list *args)
u8 qos_bits_t
Type, er, safety for us water based entities.