RDK-B
dpoe_hal.h File Reference

Go to the source code of this file.

Data Structures

struct  dpoe_mac_address
 
struct  dpoe_firmware_info
 
struct  dpoe_epon_chip_info
 
struct  dpoe_manufacturer_date
 
struct  dpoe_manufacturer
 
struct  dpoe_onu_packet_buffer_capabilities
 
struct  dpoe_device_sys_descr_info
 
struct  dpoe_traffic_stats
 

Macros

#define CHAR   char
 
#define UCHAR   unsigned char
 
#define BOOLEAN   unsigned char
 
#define USHORT   unsigned short
 
#define INT   int
 
#define UINT8   unsigned char
 
#define ULONG   unsigned long
 
#define ULONGLONG   unsigned long long
 
#define TRUE   1
 
#define FALSE   0
 
#define RETURN_OK   0
 
#define RETURN_ERR   -1
 
#define DPOE_HAL_MAJOR_VERSION   1
 This is the major version of this HAL. More...
 
#define DPOE_HAL_MINOR_VERSION   0
 This is the minor version of the HAL. More...
 
#define DPOE_HAL_MAINTENANCE_VERSION   1
 This is the maintenance version of the HAL. More...
 

Typedefs

typedef struct dpoe_mac_address dpoe_mac_address_t
 
typedef struct dpoe_link_mac_address dpoe_link_mac_address_t
 
typedef struct dpoe_firmware_info dpoe_firmware_info_t
 
typedef struct dpoe_epon_chip_info dpoe_epon_chip_info_t
 
typedef struct dpoe_manufacturer_date dpoe_manufacturer_date_t
 
typedef struct dpoe_manufacturer dpoe_manufacturer_t
 
typedef struct dpoe_onu_packet_buffer_capabilities dpoe_onu_packet_buffer_capabilities_t
 
typedef struct dpoe_device_sys_descr_info dpoe_device_sys_descr_info_t
 
typedef struct dpoe_onu_max_logical_links dpoe_onu_max_logical_links_t
 
typedef struct dpoe_traffic_stats dpoe_traffic_stats_t
 
typedef struct dpoe_link_traffic_stats dpoe_link_traffic_stats_t
 
typedef struct dpoe_link_forwarding_state dpoe_link_forwarding_state_t
 
typedef struct dpoe_link_oam_frame_rate dpoe_link_oam_frame_rate_t
 
typedef struct dpoe_link_encrypt_expiry_time dpoe_link_encrypt_expiry_time_t
 
typedef struct dpoe_link_encrypt_mode dpoe_link_encrypt_mode_t
 

Functions

int dpoe_getOnuId (dpoe_mac_address_t *pOnuId)
 
int dpoe_getFirmwareInfo (dpoe_firmware_info_t *pFirmwareInfo)
 
int dpoe_getEponChipInfo (dpoe_epon_chip_info_t *pEponChipInfo)
 
int dpoe_getManufacturerInfo (dpoe_manufacturer_t *pManufacturerInfo)
 
unsigned short dpoe_getMaxLogicalLinks (dpoe_onu_max_logical_links_t *pMaxLogicalLinks)
 
int dpoe_getNumberOfNetworkPorts (unsigned long *pNumPorts)
 
int dpoe_getNumberOfS1Interfaces (unsigned long *pNumS1Interfaces)
 
int dpoe_getOnuPacketBufferCapabilities (dpoe_onu_packet_buffer_capabilities_t *pCapabilities)
 
int dpoe_getLlidForwardingState (dpoe_link_forwarding_state_t linkForwardingState[], unsigned short numEntries)
 
int dpoe_getOamFrameRate (dpoe_link_oam_frame_rate_t linkOamFrameRate[], unsigned short numEntries)
 
int dpoe_getDeviceSysDescrInfo (dpoe_device_sys_descr_info_t *pDeviceSysDescrInfo)
 
int dpoe_getEponMode (unsigned short *pMode)
 
int dpoe_setResetOnu (void)
 
int dpoe_getDynamicMacAddressAgeLimit (unsigned short *pAgeLimit)
 
int dpoe_getDynamicMacLearningTableSize (unsigned short *pNumEntries)
 
int dpoe_getDynamicMacTable (dpoe_link_mac_address_t linkDynamicMacTable[], unsigned short numEntries)
 
int dpoe_getStaticMacTable (dpoe_link_mac_address_t linkStaticMacTable[], unsigned short numEntries)
 
int dpoe_getMacLearningAggregateLimit (unsigned short *pAggregrateLimit)
 
int dpoe_getOnuLinkStatistics (dpoe_link_traffic_stats_t onuLinkTrafficStats[], unsigned short numEntries)
 
int dpoe_setClearOnuLinkStatistics (void)
 
int dpoe_hal_Reboot_Ready (unsigned long *pValue)
 
int dpoe_hal_ReinitMac ()
 
int dpoe_hal_Get_eponResetCount (unsigned long *resetcnt)
 
int dpoe_hal_LocalResetCount (unsigned long *resetcnt)
 
int dpoe_hal_Get_ErouterResetCount (unsigned long *resetcnt)
 
int dpoe_LlidForwardingStateGetEntryCount (unsigned short *pNumEntry)
 
int dpoe_OamFrameRateGetEntryCount (unsigned short *pNumEntry)
 
int dpoe_OnuLinkStatisticsGetEntryCount (unsigned short *pNumEntry)