ETHERNET_SETTINGS2 Structure

This structure defines various settings for Ethernet networks.

typedef struct __declspec (align(2))
{
   uint8_t flags;
   uint8_t link_speed;
   uint32_t ip_addr;
   uint32_t netmask;
   uint32_t gateway;
   int16_t rsvd0;
}ETHERNET_SETTINGS2;

Remarks

Item
Description

flags

Bit
Function

Bit 0

0=half duplex, 1=full duplex

Bit 1

1=Enable Autonegotiation

Bit 2

1= Enable tcpip stack

Bit 3

1=Enable rtsp server

Bit 4

1=Enable ICS device hosting

Bit 5

1=Config not allowed

link_speed

0 = 10B, 1 = 100B, 2=1000B

ip_addr

Not Defined

netmask

Not Defined

gateway

Not Defined

rsvd0

Not Defined

Last updated