#define HWADDR_SIZE 6
-struct network_config {
+struct interface_config {
uint8_t hwaddr[HWADDR_SIZE];
bool ignore;
enum {
};
};
+struct network_config {
+ struct interface_config **interfaces;
+ int n_interfaces;
+};
+
struct config {
bool autoboot_enabled;
- struct network_config **network_configs;
- int n_network_configs;
+ struct network_config network;
};