diff options
author | Dave Barach <dave@barachs.net> | 2020-02-26 10:27:08 -0500 |
---|---|---|
committer | Florin Coras <florin.coras@gmail.com> | 2020-02-26 18:50:35 +0000 |
commit | 5fa4525543b212dd04b4f687722bf7feb1eeb6f9 (patch) | |
tree | acbfb597680d6c2b1102f570b92d28e39afb5e30 /src/vnet/ethernet/ethernet.h | |
parent | 2fcd265d383a17e74b7d51f26e81bd27f830bf6b (diff) |
ethernet: configure system default ethernet MTU
Type: feature
Signed-off-by: Dave Barach <dave@barachs.net>
Change-Id: I9c2081c56cfbf61df7e5170002f5f65902f49942
Diffstat (limited to 'src/vnet/ethernet/ethernet.h')
-rw-r--r-- | src/vnet/ethernet/ethernet.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/vnet/ethernet/ethernet.h b/src/vnet/ethernet/ethernet.h index 2e5209c4423..2f544bbdbaa 100644 --- a/src/vnet/ethernet/ethernet.h +++ b/src/vnet/ethernet/ethernet.h @@ -315,6 +315,9 @@ typedef struct ethernet_main_t_ /** Functions to call when interface hw address changes. */ ethernet_address_change_ctx_t *address_change_callbacks; + /** Default interface MTU */ + u32 default_mtu; + } ethernet_main_t; extern ethernet_main_t ethernet_main; |