|
FD.io VPP
v21.06-3-gbb25fbf28
Vector Packet Processing
|
Go to the documentation of this file.
21 import "vnet/ethernet/ethernet_types.api";
22 import "vnet/interface_types.api";
34 option vat_help =
"<intfc> [disable]";
78 autoreply define mactime_add_del_range
89 string device_name[64];
92 vl_api_time_range_t ranges[
count];
93 option vat_help =
"name <devname> mac <mac-addr> allow drop allow-range Mon - Fri 9:00 - 17:00";
125 define mactime_details
133 string device_name[64];
135 vl_api_mactime_time_range_t ranges[nranges];
141 define mactime_dump_reply
string device_name[64]
device name
bool no_udp_10001
drop udp to port 10001
mactime table entry details
u32 client_index
client index, from api_main
u32 my_table_epoch
to suppress dump if no changes
u64 data_quota
max bytes this device
bool enable_disable
enable=1, disable=0
int mactime_enable_disable(mactime_main_t *mm, u32 sw_if_index, int enable_disable)
Action function shared between message handler and debug CLI.
u32 client_index
client index, from api_main
typedef time_range
a time range structure times are in double-precision fp seconds since 1/1/1970, which was a Thursday.
u32 client_index
client index, from api_main
u32 context
application context
u32 context
application context
api to enable or disable the time-based src mac filter on an interface
f64 end
end of the time range
u8 allow_quota
allow subject to quota
vl_api_interface_index_t sw_if_index
the interface handle
configure per src-mac time ranges
typedef mactime_time_range
a time range, in fp seconds since Sunday midnight
u32 count
number of time ranges to follow
vl_api_mactime_time_range_t ranges[nranges]
vl_api_mac_address_t mac_address
vl_api_time_range_t ranges[count]
time ranges, in seconds since Sunday began
u32 context
application context
vl_api_mac_address_t mac_address
src mac address
dump mactime table reply Includes the vpp table epoch, needed to optimize API traffic