Back to Sealevel      

ceth_device Struct Reference
[SeaMAX Ethernet Discovery/Configuration API]

This is the device info struct. find_devices() expects a list of this structs. The data fields of this struct are filled in in find_device(). Please note that the MAC address can only be retrieved as a privileged user (RAW Sockets). More...

List of all members.

Public Attributes

ceth_device_type type
 SeaLink or SeaIO.
ceth_addr_info mac_address
 Device MAC address.
ceth_ip_addr ip_address
 IP address.
ceth_ip_addr net_mask
 Device Netmask.
ceth_ip_addr gateway
 Device Gateway.
char name [20]
 Device name (max 8 bytes).
unsigned char dhcp_enabled
 Is DHCP mode enabled?
struct ceth_device * next
 Pointer to next device.
void * prop_data
 Skeleton. Unused.

Detailed Description

This is the device info struct. find_devices() expects a list of this structs. The data fields of this struct are filled in in find_device(). Please note that the MAC address can only be retrieved as a privileged user (RAW Sockets).

 
 
Generated on 3 Jun 2011.