71 const string &
name(eOipv4addr_t ipv4);
84 typedef struct ethboardProperties_t
86 eOipv4addr_t ipv4 {0};
88 uint8_t numberofinterfaces {0};
89 uint8_t boardnumber {0};
90 AbstractEthResource* resource {
nullptr};
97 numberofinterfaces = 0;
100 for (
auto& itf : interfaces) {itf =
nullptr;}
109 inline static const string defaultnames[
EthBoards::maxEthBoards] = {
"noname-in-xml-board.1",
"noname-in-xml-board.2",
"noname-in-xml-board.3",
"noname-in-xml-board.4",
110 "noname-in-xml-board.5",
"noname-in-xml-board.6",
"noname-in-xml-board.7",
"noname-in-xml-board.8",
111 "noname-in-xml-board.9",
"noname-in-xml-board.10",
"noname-in-xml-board.11",
"noname-in-xml-board.12",
112 "noname-in-xml-board.13",
"noname-in-xml-board.14",
"noname-in-xml-board.15",
"noname-in-xml-board.16",
113 "noname-in-xml-board.17",
"noname-in-xml-board.18",
"noname-in-xml-board.19",
"noname-in-xml-board.20",
114 "noname-in-xml-board.21",
"noname-in-xml-board.22",
"noname-in-xml-board.23",
"noname-in-xml-board.24",
115 "noname-in-xml-board.25",
"noname-in-xml-board.26",
"noname-in-xml-board.27",
"noname-in-xml-board.28",
116 "noname-in-xml-board.29",
"noname-in-xml-board.30",
"noname-in-xml-board.31",
"noname-in-xml-board.32"};
118 inline static const string errorname[1] = {
"wrong-unknown-board"};
126 bool get_LUTindex(eOipv4addr_t ipv4, uint8_t &index);