diff options
author | Ido Barnea <ibarnea@cisco.com> | 2016-09-25 16:58:02 +0300 |
---|---|---|
committer | Ido Barnea <ibarnea@cisco.com> | 2016-10-05 10:45:28 +0300 |
commit | a42bf7bc43e78e63c266c22cccf15ce3f4cab297 (patch) | |
tree | bf8c61d079f7aa8e94ae6f82262923da92019ced /src/platform_cfg.h | |
parent | af781231f369dfcf735b499ed65b800e7d6b5537 (diff) |
pre test: Periodically send gratuitous ARP in stateful
Diffstat (limited to 'src/platform_cfg.h')
-rwxr-xr-x | src/platform_cfg.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/platform_cfg.h b/src/platform_cfg.h index cd01f476..d9eca60b 100755 --- a/src/platform_cfg.h +++ b/src/platform_cfg.h @@ -101,12 +101,16 @@ struct CMacYamlInfo { std::vector <uint8_t> m_src_base; uint32_t m_def_gw; uint32_t m_ip; + uint32_t m_mask; + uint16_t m_vlan; void Dump(FILE *fd); void copy_dest(char *p); void copy_src(char *p); uint32_t get_def_gw(); uint32_t get_ip(); + uint32_t get_vlan(); + uint32_t get_mask(); void dump_mac_vector( std::vector<uint8_t> & v,FILE *fd){ int i; |