Definition at line 100 of file system.h.
Data Fields | |
LWORD | localip |
IP address of a device. | |
BYTE | localHW [6] |
Ethernet address given to a device. | |
LWORD | defgw |
Default network gateway. | |
LWORD | netmask |
Network submask. |
|
IP address of a happy device using OpenTCP :-). This must hold proper-value IP address in order for the networking stuff to work. Possible scenarios for filling this field are:
Definition at line 119 of file system.h. Referenced by is_subnet(). |
|
This array holds an Ethernet address assigned to a device. Note that these must be unique so if you're shipping your product to outside world you must purchase sufficient address range.
|
|
IP address of a default network gateway. This is needed if the device is to communicate with the outside network (Internet) and not only intranet.
|
|
Network submask. Also needed if the the device is to communicate with the outside network. Used when determining whether the host we're sending some data to is on the local network (send data directly) or not (send through gateway).
Definition at line 145 of file system.h. Referenced by is_subnet(). |