ETHFW API Guide
EthRemoteCfg_VlanJoinReq Struct Reference

Detailed Description

Request params for ETHREMOTECFG_CMD_JOIN_VLAN command.

Parameters provided by remote clients to join a VLAN previously setup by Ethernet Firmware. The remote client must be allowed to join the requested EthRemoteCfg_VlanJoinReq::vlanId for the request to succeed. If allowed, VLAN traffic will be routed to the RX flow provided by the client.

Data Fields

EthRemoteCfg_ReqHdr hdr
 
uint16_t vlanId
 
uint8_t macAddr [ETHREMOTECFG_MACADDRLEN]
 
uint32_t flowIdxBase
 
uint32_t flowIdxOffset
 

Field Documentation

◆ hdr

EthRemoteCfg_ReqHdr EthRemoteCfg_VlanJoinReq::hdr

Request message common header.

◆ vlanId

uint16_t EthRemoteCfg_VlanJoinReq::vlanId

VLAN id.

◆ macAddr

uint8_t EthRemoteCfg_VlanJoinReq::macAddr[ETHREMOTECFG_MACADDRLEN]

MAC address.

◆ flowIdxBase

uint32_t EthRemoteCfg_VlanJoinReq::flowIdxBase

RX flow index base.

◆ flowIdxOffset

uint32_t EthRemoteCfg_VlanJoinReq::flowIdxOffset

RX flow index offset to route unicast VLAN packets to.