Data Structures | |
struct | _CONFOS |
Operating system configuration structure. More... | |
Defines | |
#define | CONFOS_EE_MAGIC "OS" |
#define | CONFOS_EE_OFFSET 0 |
Non-volatile memory location. | |
Functions | |
struct | __attribute__ ((packed)) _CONFOS CONFOS |
Operating system configuration type. | |
__BEGIN_DECLS int | NutLoadConfig (void) |
Load Nut/OS configuration from non-volatile memory. | |
int | NutSaveConfig (void) |
Save Nut/OS configuration in non-volatile memory. | |
Variables | |
CONFOS | confos |
Global system configuration structure. | |
CONFOS | confos |
Global system configuration structure. |
#define CONFOS_EE_OFFSET 0 |
Non-volatile memory location.
Offset into non-volatile memory, where Nut/OS stores the system configuration. The default may be overridden by the Configurator.
struct __attribute__ | ( | (packed) | ) |
Operating system configuration type.
Once created, this structure will never change if it points to another directory. Except if the entry is removed.
< Packet opcode type: 1=request, 2=reply
< Hardware address type: 1=Ethernet
< Hardware address length: 6 for Ethernet
< Gateway hops
< Transaction ID
< Seconds since boot began
< RFC1532 broadcast, etc.
< Client IP address
< 'Your' IP address
< Server IP address
< Gateway IP address
< Client hardware address
< Server host name
< Boot file name
< Vendor-specific area
int NutLoadConfig | ( | void | ) |
Load Nut/OS configuration from non-volatile memory.
This routine is automatically called during system initialization.
int NutSaveConfig | ( | void | ) |
Save Nut/OS configuration in non-volatile memory.
CONFOS confos |
Global system configuration structure.
Contains the current system configuration. Nut/OS will load this structure from non-volatile memory during initialization.
CONFOS confos |
Global system configuration structure.
Contains the current system configuration. Nut/OS will load this structure from non-volatile memory during initialization.