For the complete documentation index, see llms.txt. This page is also available as Markdown.

ETHERNET_SETTINGS Structure

This structure defines various settings for Ethernet networks.

typedef struct __declspec (align(2))
{
    unsigned char duplex;
    unsigned char link_speed;
    unsigned char auto_neg;
    unsigned char led_mode;
    unsigned char rsvd0;
    unsigned char rsvd1;
    unsigned char rsvd2;
    unsigned char rsvd3;
}ETHERNET_SETTINGS;
<StructLayout(LayoutKind.Sequential, Pack:=2)> Public Structure ETHERNET_SETTINGS
    Dim duplex As Byte
    Dim link_speed As Byte
    Dim auto_neg As Byte
    Dim led_mode As Byte
    Dim rsvd0 As Byte
    Dim rsvd1 As Byte
    Dim rsvd2 As Byte
    Dim rsvd3 As Byte
End Structure

Remarks

Item
Description

duplex

Sets the Duplex mode.

0=Half 1=Full

link_speed

Sets the speed for the network

0=10Mbps 1=100Mbps

auto_neg

Enables Auto-Negotiate

0=Disabled 1=Enabled

led_mode

Sets the function of the Ethernet IDs

0=link 1=activity 2=link/activity

rsvd0

Reserved Set to 0

rsvd1

Reserved Set to 0

rsvd2

Reserved Set to 0

rsvd3

Reserved Set to 0

Last updated