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

#include <sir_ip.h>

Collaboration diagram for CSiriusIP:
Collaboration graph

Public Member Functions

bool Init (int iInstance)
 
void Diagnostics (uint16_t Selection, uint16_t *pOffset, uint8_t *pBytes, int iLength)
 
bool IP_Timing ()
 
bool PacketIsARP (cvmx_wqe_t *pWQE)
 
bool PacketIsICMP (cvmx_wqe_t *pWQE)
 
bool HandleARPandICMP (int iPortNr, cvmx_wqe_t *pWQE)
 
uint64_t GetMACOfPort (int iPortNr)
 
CSiriusMemListIPV4HandleIncoming (cvmx_wqe_t *pWQE, bool &bDigested)
 
bool IPGetSocketAddr (CSiriusMemList *ptMemList, sir_ip_sockaddr_t &tSockaddr)
 
int IPSendIP (uint32_t ui32DestIP, uint32_t ui32SrcIP, uint32_t ui32OrgSrcIP, char *pBuffer, uint32_t ui32PayloadSize, uint8_t ui8Protocol, int iPortNr=-1)
 
int IPSendIP (uint32_t ui32DestIP, uint32_t ui32SrcIP, uint32_t ui32OrgSrcIP, CSiriusMemList *pMemList, uint32_t ui32PayloadSize, uint8_t ui8Protocol, volatile void *pAddr, int iPortNr=-1)
 
int IPSendIPFast (TSendAccelerate *ptAccelerate, uint32_t ui32DestIP, uint32_t ui32SrcIP, uint32_t ui32OrgSrcIP, CSiriusMemList *pMemList, uint32_t ui32PayloadSize, uint8_t ui8Protocol, volatile void *pAddr, int iPortNr)
 
uint16_t IPGetMTUSize ()
 
void IPSetMTUSize (uint16_t ui16MTUSize)
 
CSiriusMemListIPHandle_Packet (cvmx_wqe_t *pWQE, bool &bPacketDigested)
 
bool IPDeleteFragmentedList (CSiriusMemList *ptMemList)
 
bool IPTransferFragmentedList (CSiriusMemList *ptDestMemList, CSiriusMemList *ptSrcMemList)
 
bool IPSetReAssTimerUnused (uint8_t ui8ReAssTim)
 
int IPGetAndAddNrOfResourcesInUse (int iIncrement)
 

Static Public Member Functions

static CSiriusIPInstance (void)
 
static int IPHeaderSize ()
 
static bool IPHandle_Unused_Static (cvmx_wqe_t *pWQE, void *pThis)
 

Public Attributes

bool m_bAcceptFarAddresses
 

Friends

class CSirius
 

Detailed Description

Definition at line 49 of file sir_ip.h.

Member Function Documentation

void CSiriusIP::Diagnostics ( uint16_t  Selection,
uint16_t *  pOffset,
uint8_t *  pBytes,
int  iLength 
)
uint64_t CSiriusIP::GetMACOfPort ( int  iPortNr)
bool CSiriusIP::HandleARPandICMP ( int  iPortNr,
cvmx_wqe_t *  pWQE 
)
bool CSiriusIP::Init ( int  iInstance)
static CSiriusIP* CSiriusIP::Instance ( void  )
static
bool CSiriusIP::IP_Timing ( )
bool CSiriusIP::IPDeleteFragmentedList ( CSiriusMemList ptMemList)
int CSiriusIP::IPGetAndAddNrOfResourcesInUse ( int  iIncrement)
uint16_t CSiriusIP::IPGetMTUSize ( )
bool CSiriusIP::IPGetSocketAddr ( CSiriusMemList ptMemList,
sir_ip_sockaddr_t tSockaddr 
)
CSiriusMemList* CSiriusIP::IPHandle_Packet ( cvmx_wqe_t *  pWQE,
bool bPacketDigested 
)
static bool CSiriusIP::IPHandle_Unused_Static ( cvmx_wqe_t *  pWQE,
void *  pThis 
)
static
static int CSiriusIP::IPHeaderSize ( )
static
int CSiriusIP::IPSendIP ( uint32_t  ui32DestIP,
uint32_t  ui32SrcIP,
uint32_t  ui32OrgSrcIP,
char pBuffer,
uint32_t  ui32PayloadSize,
uint8_t  ui8Protocol,
int  iPortNr = -1 
)
int CSiriusIP::IPSendIP ( uint32_t  ui32DestIP,
uint32_t  ui32SrcIP,
uint32_t  ui32OrgSrcIP,
CSiriusMemList pMemList,
uint32_t  ui32PayloadSize,
uint8_t  ui8Protocol,
volatile void *  pAddr,
int  iPortNr = -1 
)
int CSiriusIP::IPSendIPFast ( TSendAccelerate ptAccelerate,
uint32_t  ui32DestIP,
uint32_t  ui32SrcIP,
uint32_t  ui32OrgSrcIP,
CSiriusMemList pMemList,
uint32_t  ui32PayloadSize,
uint8_t  ui8Protocol,
volatile void *  pAddr,
int  iPortNr 
)
void CSiriusIP::IPSetMTUSize ( uint16_t  ui16MTUSize)
bool CSiriusIP::IPSetReAssTimerUnused ( uint8_t  ui8ReAssTim)
bool CSiriusIP::IPTransferFragmentedList ( CSiriusMemList ptDestMemList,
CSiriusMemList ptSrcMemList 
)
CSiriusMemList* CSiriusIP::IPV4HandleIncoming ( cvmx_wqe_t *  pWQE,
bool bDigested 
)
bool CSiriusIP::PacketIsARP ( cvmx_wqe_t *  pWQE)
bool CSiriusIP::PacketIsICMP ( cvmx_wqe_t *  pWQE)

Friends And Related Function Documentation

friend class CSirius
friend

Definition at line 51 of file sir_ip.h.

Member Data Documentation

bool CSiriusIP::m_bAcceptFarAddresses

Definition at line 77 of file sir_ip.h.


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