diff options
author | Eyal Bari <ebari@cisco.com> | 2017-04-27 14:07:55 +0300 |
---|---|---|
committer | John Lo <loj@cisco.com> | 2017-05-08 12:33:17 +0000 |
commit | 7537e717d1ca6de0e33478bc50b9f7125f04c808 (patch) | |
tree | 43006c833fe8caa85231160db94866d348a52cca /src/vnet/buffer.h | |
parent | 57d7dbc8bf8a49ee2421fe97bd3ed7099d2384bf (diff) |
L2FIB:CLI/API to flush all non-static entries
added CLI l2fib flush-mac all
added API l2fib_flush_all
flushes all non static l2fib entries on all valid BDs
Change-Id: Ic963c88f4bed56308c03ab43106033132a0e87be
Signed-off-by: Eyal Bari <ebari@cisco.com>
Diffstat (limited to 'src/vnet/buffer.h')
-rw-r--r-- | src/vnet/buffer.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/vnet/buffer.h b/src/vnet/buffer.h index 5d1b1c4d699..ec5e2f7505f 100644 --- a/src/vnet/buffer.h +++ b/src/vnet/buffer.h @@ -176,8 +176,7 @@ typedef struct u16 bd_index; /* bridge-domain index */ u8 l2_len; /* ethernet header length */ u8 shg; /* split-horizon group */ - u8 bd_sn; /* bridge domain seq# */ - u8 int_sn; /* interface seq# */ + u16 l2fib_sn; /* l2fib bd/int seq_num */ } l2; /* l2tpv3 softwire encap, only valid there */ |