OP_ETH_SETTINGS Structure

This structure defines various settings for OP BR Ethernet networks.

typedef struct __declspec (align(2))
{
    unsigned char ucConfigMode;
    unsigned char preemption_en;
    unsigned char mac_addr1_0;
    unsigned char mac_addr1_1;
    unsigned char mac_addr1_2;
    unsigned char mac_addr1_3;
    unsigned char mac_addr1_4;
    unsigned char mac_addr1_5;
    unsigned char mac_addr2_0;
    unsigned char mac_addr2_1;
    unsigned char mac_addr2_2;
    unsigned char mac_addr2_3;
    unsigned char mac_addr2_4;
    unsigned char mac_addr2_5;
    unsigned char OpEthFlags;
    unsigned char Reserved;
}OP_ETH_SETTINGS;

Remarks

Item
Description

ucConfigMode

Sets the Link Mode. 0=Auto: 1=Master: 2=Slave

preemption_en

Enables Preemption Support (IEEE802.3Br). 0=Disabled: 1=Enabled

mac_addr1_0

First byte of Original MAC address XX:11:22:33:44:55

mac_addr1_1

Second byte of Original MAC address 00:XX:22:33:44:55

mac_addr1_2

Third byte of Original MAC address 00:11:XX:33:44:55

mac_addr1_3

Fourth byte of Original MAC address 00:11:22:XX:44:55

mac_addr1_4

Fifth byte of Original MAC address 00:11:22:33:XX:55

mac_addr1_5

Sixth First byte of Original MAC address 00:11:22:33:44:XX

mac_addr2_0

First byte of Spoof MAC address XX:11:22:33:44:55

mac_addr2_1

Second byte of Spoof MAC address 00:XX:22:33:44:55

mac_addr2_2

Third byte of Spoof MAC address 00:11:XX:33:44:55

mac_addr2_3

fourth byte of Spoof MAC address 00:11:22:XX:44:55

mac_addr2_4

Fifth byte of Spoof MAC address 00:11:22:33:XX:55

mac_addr2_5

Sixth byte of Spoof MAC address 00:11:22:33:44:XX

OpEthFlags

Bitfield of options

Reserved

Not Available

Last updated