All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | Friends | List of all members
CSiriusEth Class Reference

#include <sir_ethernet.h>

Collaboration diagram for CSiriusEth:
Collaboration graph

Public Types

enum  EEthInfo { ETH_ERROR = 0, ETH_OTHER = 1, ETH_V4 = 2, ETH_V6 = 3 }
 

Public Member Functions

 CSiriusEth (int iPortNr)
 
bool Init (int iInstance)
 
bool DisplayArpStats (int iPortNr)
 
int SendFromIPtoEth (CSiriusMemList *pBuffer, uint16_t ui16VLAN, uint64_t ui64DstMAC, volatile void *pAddr=NULL)
 
EEthInfo HandlePacket (cvmx_wqe_t *pWQE, uint16_t *pui16Vlan, uint16_t *pui16HeaderSize)
 
uint64_t GetMAC (void)
 

Friends

class CSirius
 

Detailed Description

Definition at line 47 of file sir_ethernet.h.

Member Enumeration Documentation

Enumerator
ETH_ERROR 
ETH_OTHER 
ETH_V4 
ETH_V6 

Definition at line 51 of file sir_ethernet.h.

Constructor & Destructor Documentation

CSiriusEth::CSiriusEth ( int  iPortNr)

Member Function Documentation

bool CSiriusEth::DisplayArpStats ( int  iPortNr)
uint64_t CSiriusEth::GetMAC ( void  )
EEthInfo CSiriusEth::HandlePacket ( cvmx_wqe_t *  pWQE,
uint16_t *  pui16Vlan,
uint16_t *  pui16HeaderSize 
)
bool CSiriusEth::Init ( int  iInstance)
int CSiriusEth::SendFromIPtoEth ( CSiriusMemList pBuffer,
uint16_t  ui16VLAN,
uint64_t  ui64DstMAC,
volatile void *  pAddr = NULL 
)

Friends And Related Function Documentation

friend class CSirius
friend

Definition at line 49 of file sir_ethernet.h.


The documentation for this class was generated from the following file: