Go to the source code of this file.
#define MACTIME_DEVICE_FLAG_DYNAMIC_ALLOW (1<<3) |
#define MACTIME_DEVICE_FLAG_DYNAMIC_DROP (1<<2) |
#define MACTIME_DEVICE_FLAG_STATIC_ALLOW (1<<1) |
#define MACTIME_DEVICE_FLAG_STATIC_DROP (1<<0) |
Always drop packets from this device.
Definition at line 44 of file mactime.h.
#define MACTIME_EVENT_PERIODIC_ENABLE_DISABLE 3 |
#define MACTIME_MEMORY_SIZE (256<<10) |
#define MACTIME_NUM_BUCKETS 128 |
#define MACTIME_RANGE_TYPE_ALLOW 1 |
#define MACTIME_RANGE_TYPE_DROP 0 |
static u8* format_mac_address |
( |
u8 * |
s, |
|
|
va_list * |
args |
|
) |
| |
|
inlinestatic |
void mactime_send_create_entry_message |
( |
u8 * |
mac_address | ) |
|
Create a lookup table entry for the indicated mac address.
Definition at line 189 of file mactime.c.
Initial value:=
{
.name = "mactime",
.vector_size =
sizeof (
u32),
.next_nodes =
{
},
}
static char * mactime_error_strings[]
static u8 * format_mactime_trace(u8 *s, va_list *args)
static uword mactime_node_fn(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
(constructor) VLIB_REGISTER_NODE (mactime_node)
Definition at line 282 of file node.c.
Initial value:=
{
.name = "mactime-tx",
.vector_size =
sizeof (
u32),
.next_nodes =
{
},
}
static char * mactime_error_strings[]
static uword mactime_tx_node_fn(vlib_main_t *vm, vlib_node_runtime_t *node, vlib_frame_t *frame)
static u8 * format_mactime_trace(u8 *s, va_list *args)
(constructor) VLIB_REGISTER_NODE (mactime_tx_node)
Definition at line 312 of file node.c.