Ratan Gupta | 82549cc | 2017-04-21 08:45:23 +0530 | [diff] [blame] | 1 | #pragma once |
2 | |||||
3 | #include <list> | ||||
4 | #include <string> | ||||
5 | #include <vector> | ||||
6 | #include <map> | ||||
7 | |||||
8 | namespace phosphor | ||||
9 | { | ||||
10 | namespace network | ||||
11 | { | ||||
12 | |||||
13 | using IntfName = std::string; | ||||
14 | |||||
15 | struct AddrInfo { | ||||
16 | uint8_t addrType; | ||||
17 | std::string ipaddress; | ||||
18 | uint16_t prefix; | ||||
19 | }; | ||||
20 | |||||
21 | using AddrList = std::list<AddrInfo>; | ||||
22 | using IntfAddrMap = std::map<IntfName, AddrList>; | ||||
23 | |||||
24 | |||||
25 | }//namespace network | ||||
26 | }//namespace phosphor |