AM261x MCU+ SDK: CpswAle_GetPortMacAddrOutArgs Struct Reference

| AM261x MCU+ SDK 26.00.00 |

Data Fields
CpswAle_GetPortMacAddrOutArgs Struct Reference
APIs for Networking modules » APIs for Enet LLD » Enet Forwarding Database (FDB) » CPSW Address Lookup Engine (ALE)

## Detailed Description

Output args for CPSW_ALE_IOCTL_GET_PORT_MACADDR command.

## Data Fields
CpswAle_MacAddrInfo * | addrs
uint32_t | addrCnt
uint32_t | totalAddrCnt

## Field Documentation

## ◆ addrs

CpswAle_MacAddrInfo* CpswAle_GetPortMacAddrOutArgs::addrs

Application provided buffer populated with MAC addresses reachable on the port number given in inArgs CpswAle_GetPortMacAddrInArgs::portNum

## ◆ addrCnt

uint32_t CpswAle_GetPortMacAddrOutArgs::addrCnt

Number of MAC entries stored in provided buffer. Will not exceed CpswAle_GetPortMacAddrInArgs::macAddrMax

## ◆ totalAddrCnt

uint32_t CpswAle_GetPortMacAddrOutArgs::totalAddrCnt

Total number of MAC addresses reachable on given portNum