X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=src%2Fvnet%2Fl2%2Fl2_bd.h;h=35c0e0bf0a16a2df86f779cfdad1fe90517e6cdd;hb=5da10c4c5501d40366df451703c2ffa3993be8cf;hp=987569aad9e28b794d3d97f0409136fecbf3d11e;hpb=4d5b917b1a74461abaa30182d4bf5c7761572323;p=vpp.git diff --git a/src/vnet/l2/l2_bd.h b/src/vnet/l2/l2_bd.h index 987569aad9e..35c0e0bf0a1 100644 --- a/src/vnet/l2/l2_bd.h +++ b/src/vnet/l2/l2_bd.h @@ -20,7 +20,7 @@ #include #include -#include +#include #include typedef enum l2_bd_port_type_t_ @@ -123,6 +123,7 @@ typedef struct u8 forward; u8 learn; u8 arp_term; + u8 arp_ufwd; u8 mac_age; u8 *bd_tag; u8 is_add; @@ -152,6 +153,7 @@ typedef enum bd_flags_t_ L2_FLOOD = (1 << 2), L2_UU_FLOOD = (1 << 3), L2_ARP_TERM = (1 << 4), + L2_ARP_UFWD = (1 << 5), } bd_flags_t; u32 bd_set_flags (vlib_main_t * vm, u32 bd_index, bd_flags_t flags, @@ -204,6 +206,8 @@ u32 bd_add_del_ip_mac (u32 bd_index, const ip46_address_t * ip_addr, const mac_address_t * mac, u8 is_add); +void bd_flush_ip_mac (u32 bd_index); + #endif /*