Go to the source code of this file.
|
enum | mfib_entry_attribute_t_ {
MFIB_ENTRY_ATTRIBUTE_FIRST = 0,
MFIB_ENTRY_SIGNAL = MFIB_ENTRY_ATTRIBUTE_FIRST,
MFIB_ENTRY_DROP,
MFIB_ENTRY_CONNECTED,
MFIB_ENTRY_ACCEPT_ALL_ITF,
MFIB_ENTRY_EXCLUSIVE,
MFIB_ENTRY_INHERIT_ACCEPT,
MFIB_ENTRY_ATTRIBUTE_LAST = MFIB_ENTRY_INHERIT_ACCEPT
} |
|
enum | mfib_entry_flags_t_ {
MFIB_ENTRY_FLAG_NONE,
MFIB_ENTRY_FLAG_SIGNAL = (1 << MFIB_ENTRY_SIGNAL),
MFIB_ENTRY_FLAG_DROP = (1 << MFIB_ENTRY_DROP),
MFIB_ENTRY_FLAG_CONNECTED = (1 << MFIB_ENTRY_CONNECTED),
MFIB_ENTRY_FLAG_ACCEPT_ALL_ITF = (1 << MFIB_ENTRY_ACCEPT_ALL_ITF),
MFIB_ENTRY_FLAG_EXCLUSIVE = (1 << MFIB_ENTRY_EXCLUSIVE),
MFIB_ENTRY_FLAG_INHERIT_ACCEPT = (1 << MFIB_ENTRY_INHERIT_ACCEPT)
} |
|
enum | mfib_itf_attribute_t_ {
MFIB_ITF_ATTRIBUTE_FIRST,
MFIB_ITF_NEGATE_SIGNAL = MFIB_ITF_ATTRIBUTE_FIRST,
MFIB_ITF_ACCEPT,
MFIB_ITF_FORWARD,
MFIB_ITF_SIGNAL_PRESENT,
MFIB_ITF_DONT_PRESERVE,
MFIB_ITF_ATTRIBUTE_LAST = MFIB_ITF_DONT_PRESERVE
} |
|
enum | mfib_itf_flags_t_ {
MFIB_ITF_FLAG_NONE,
MFIB_ITF_FLAG_NEGATE_SIGNAL = (1 << MFIB_ITF_NEGATE_SIGNAL),
MFIB_ITF_FLAG_ACCEPT = (1 << MFIB_ITF_ACCEPT),
MFIB_ITF_FLAG_FORWARD = (1 << MFIB_ITF_FORWARD),
MFIB_ITF_FLAG_SIGNAL_PRESENT = (1 << MFIB_ITF_SIGNAL_PRESENT),
MFIB_ITF_FLAG_DONT_PRESERVE = (1 << MFIB_ITF_DONT_PRESERVE)
} |
|
enum | mfib_source_t_ {
MFIB_SOURCE_SPECIAL,
MFIB_SOURCE_API,
MFIB_SOURCE_CLI,
MFIB_SOURCE_VXLAN,
MFIB_SOURCE_DHCP,
MFIB_SOURCE_SRv6,
MFIB_SOURCE_GTPU,
MFIB_SOURCE_VXLAN_GPE,
MFIB_SOURCE_RR,
MFIB_SOURCE_DEFAULT_ROUTE
} |
| Possible [control plane] sources of MFIB entries. More...
|
|
#define FOR_EACH_MFIB_ATTRIBUTE |
( |
|
_item | ) |
|
#define FOR_EACH_MFIB_ITF_ATTRIBUTE |
( |
|
_item | ) |
|
#define MFIB_ENTRY_NAMES_LONG |
Value:{ \
}
Exclusive - like its unicast counterpart.
The control planes needs packets mathing this entry to generate a signal.
The control plane needs to be informed of coneected sources.
Drop all traffic to this route.
Accept packets from any incpoming interface Use with extreme caution.
Definition at line 96 of file mfib_types.h.
#define MFIB_ENTRY_NAMES_SHORT |
Value:{ \
}
Exclusive - like its unicast counterpart.
The control planes needs packets mathing this entry to generate a signal.
The control plane needs to be informed of coneected sources.
Drop all traffic to this route.
Accept packets from any incpoming interface Use with extreme caution.
Definition at line 87 of file mfib_types.h.
#define MFIB_ITF_NAMES_LONG |
#define MFIB_ITF_NAMES_SHORT |
#define MFIB_SOURCE_NAMES |
Aggregrate type for a prefix.
Possible [control plane] sources of MFIB entries.
Enumerator |
---|
MFIB_ENTRY_ATTRIBUTE_FIRST |
|
MFIB_ENTRY_SIGNAL |
The control planes needs packets mathing this entry to generate a signal.
|
MFIB_ENTRY_DROP |
Drop all traffic to this route.
|
MFIB_ENTRY_CONNECTED |
The control plane needs to be informed of coneected sources.
|
MFIB_ENTRY_ACCEPT_ALL_ITF |
Accept packets from any incpoming interface Use with extreme caution.
|
MFIB_ENTRY_EXCLUSIVE |
Exclusive - like its unicast counterpart.
the source has provided the forwarding DPO directly. The entry therefore does not resolve paths via a path-list
|
MFIB_ENTRY_INHERIT_ACCEPT |
|
MFIB_ENTRY_ATTRIBUTE_LAST |
|
Definition at line 50 of file mfib_types.h.
Enumerator |
---|
MFIB_ENTRY_FLAG_NONE |
|
MFIB_ENTRY_FLAG_SIGNAL |
|
MFIB_ENTRY_FLAG_DROP |
|
MFIB_ENTRY_FLAG_CONNECTED |
|
MFIB_ENTRY_FLAG_ACCEPT_ALL_ITF |
|
MFIB_ENTRY_FLAG_EXCLUSIVE |
|
MFIB_ENTRY_FLAG_INHERIT_ACCEPT |
|
Definition at line 105 of file mfib_types.h.
Enumerator |
---|
MFIB_ITF_ATTRIBUTE_FIRST |
|
MFIB_ITF_NEGATE_SIGNAL |
|
MFIB_ITF_ACCEPT |
|
MFIB_ITF_FORWARD |
|
MFIB_ITF_SIGNAL_PRESENT |
|
MFIB_ITF_DONT_PRESERVE |
|
MFIB_ITF_ATTRIBUTE_LAST |
|
Definition at line 116 of file mfib_types.h.
Enumerator |
---|
MFIB_ITF_FLAG_NONE |
|
MFIB_ITF_FLAG_NEGATE_SIGNAL |
|
MFIB_ITF_FLAG_ACCEPT |
|
MFIB_ITF_FLAG_FORWARD |
|
MFIB_ITF_FLAG_SIGNAL_PRESENT |
|
MFIB_ITF_FLAG_DONT_PRESERVE |
|
Definition at line 148 of file mfib_types.h.
Possible [control plane] sources of MFIB entries.
Enumerator |
---|
MFIB_SOURCE_SPECIAL |
|
MFIB_SOURCE_API |
|
MFIB_SOURCE_CLI |
|
MFIB_SOURCE_VXLAN |
|
MFIB_SOURCE_DHCP |
|
MFIB_SOURCE_SRv6 |
|
MFIB_SOURCE_GTPU |
|
MFIB_SOURCE_VXLAN_GPE |
|
MFIB_SOURCE_RR |
|
MFIB_SOURCE_DEFAULT_ROUTE |
|
Definition at line 161 of file mfib_types.h.
u8* format_mfib_entry_flags |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
u8* format_mfib_itf_flags |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
u8* format_mfib_prefix |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
Compare two prefixes for equality.