Persistent storage of network configuration. More...
#include <string.h>
#include <arpa/inet.h>
#include <netinet/if_ether.h>
#include <sys/confnet.h>
#include <dev/nvmem.h>
Defines | |
#define | VIRGIN_MAC virgin_mac |
#define | VIRGIN_NETMASK 0x00FFFFFFUL |
Functions | |
int | NutNetLoadConfig (const char *name) |
Load network configuration from non-volatile memory. | |
int | NutNetSaveConfig (void) |
Save network configuration in non-volatile memory. | |
Variables | |
CONFNET | confnet |
Global network configuration structure. |
Persistent storage of network configuration.
* $Id: confnet.c 4473 2012-08-20 15:12:45Z haraldkipp $ *
#define VIRGIN_MAC virgin_mac |
Referenced by NutNetLoadConfig().
#define VIRGIN_NETMASK 0x00FFFFFFUL |
Referenced by NutNetLoadConfig().