XgConfNet


Data Structures

struct  _CONFNET
 Network configuration structure. More...

Defines

#define CONFNET_EE_OFFSET   64
 Non-volatile memory location.
#define CONFNET_MAX_IF   1

Typedefs

typedef int int8_t __attribute__ ((__mode__(__QI__)))

Functions

struct __attribute__ ((packed)) _CONFNET CONFNET
 Network configuration type.

Variables

CONFNET confnet

Define Documentation

#define CONFNET_EE_OFFSET   64

Non-volatile memory location.

Offset into non-volatile memory, where Nut/Net stores the network configuration. The default may be overridden by the Configurator.

Definition at line 81 of file confnet.h.

#define CONFNET_MAX_IF   1

Definition at line 85 of file confnet.h.


Typedef Documentation

typedef unsigned int uint64_t __attribute__((__mode__(__DI__))) [read]

Size of this structure.

Used by Nut/Net to verify, that the structure contents is valid after reading it from non-volatile memory.

Magic cookie.

Contains the device name of the network interface.

Ethernet MAC address.

Unique Ethernet address of the network interface.

Last used IP address.

Each time Nut/Net receives an IP address during boot, it will store the address in here.

If no fixed IP address has been configured (cdn_cip_addr contains 0.0.0.0) and if no DHCP server is available, then Nut/Net will use this one, if it is not 0.0.0.0.

IP netmask.

The netmask is used to determine which machines are available in the local network.

Default route.

Nut/Net will redirect IP packets to this node, if the target IP is not located in the local network.

Configured IP address.

If this address is set to 0.0.0.0, Nut/Net will try to obtain one from the DHCP server.

Definition at line 121 of file stdint.h.


Function Documentation

struct __attribute__ ( (packed)   )  [read]

Network configuration type.

Size of this structure.

Used by Nut/Net to verify, that the structure contents is valid after reading it from non-volatile memory.

Magic cookie.

Contains the device name of the network interface.

Ethernet MAC address.

Unique Ethernet address of the network interface.

Last used IP address.

Each time Nut/Net receives an IP address during boot, it will store the address in here.

If no fixed IP address has been configured (cdn_cip_addr contains 0.0.0.0) and if no DHCP server is available, then Nut/Net will use this one, if it is not 0.0.0.0.

IP netmask.

The netmask is used to determine which machines are available in the local network.

Default route.

Nut/Net will redirect IP packets to this node, if the target IP is not located in the local network.

Configured IP address.

If this address is set to 0.0.0.0, Nut/Net will try to obtain one from the DHCP server.


Variable Documentation

CONFNET confnet


Generated on Sun Aug 31 13:31:34 2008 for FrankenRTOS by  doxygen 1.5.6