![]()  | 
  
    PDK API Guide for J721E
    
   | 
 
Header file for the LwIP to Enet helper functions.
Go to the source code of this file.
Data Structures | |
| struct | Lwip2EnetIc_RxStats | 
| lwIP interface layer's RX statistics.  More... | |
| struct | Lwip2EnetIc_TxStats | 
| lwIP interface layer's TX statistics.  More... | |
| struct | Lwip2EnetIc_Stats | 
| struct | Lwip2EnetIc_Handle | 
| Inter-core virtual device object.  More... | |
| struct | Lwip2EnetIc_Params | 
Macros | |
| #define | IC_ETH_IF_MCU2_0_MCU2_1 0 | 
| #define | IC_ETH_IF_MCU2_1_MCU2_0 1 | 
| #define | IC_ETH_IF_MCU2_0_A72 2 | 
| #define | IC_ETH_MAX_VIRTUAL_IF 3 | 
| #define | LWIP2ENETIC_OK (0) | 
| #define | LWIP2ENETIC_ERROR (-1) | 
| #define | IC_ETH_RX_POLLING_MODE 1 | 
| #define | IC_ETH_RX_POLLING_INTERVAL 1 /* milli-seconds */ | 
Functions | |
| Lwip2EnetIc_Handle | Lwip2EnetIc_open (uint32_t instId) | 
| void | Lwip2EnetIc_close (Lwip2EnetIc_Handle hlwip2enetIc) | 
| int32_t | Lwip2EnetIc_remoteCorePktNotify (Lwip2EnetIc_Handle hLwip2EnetIc) | 
| static void | Lwip2EnetIcStats_addOne (uint32_t *statCnt) | 
| static void | Lwip2EnetIcStats_addNum (uint32_t *statCnt, uint32_t addCnt) | 
| static void | Lwip2EnetIc_assert (bool cond) | 
| #define IC_ETH_IF_MCU2_0_MCU2_1 0 | 
Inter-core virtual driver object instance ID: MCU2_0->MCU2_1 This instance is created on MCU2_0 to interface with MCU2_1
| #define IC_ETH_IF_MCU2_1_MCU2_0 1 | 
Inter-core virtual driver object instance ID: MCU2_0->MCU2_1 This instance is created on MCU2_1 to interface with MCU2_0
| #define IC_ETH_IF_MCU2_0_A72 2 | 
Inter-core virtual driver object instance ID: MCU2_0->A72 This instance is created on MCU2_0 to interface with A72
Note: The A72 side peer peer virtual driver does not use Lwip so we do not need an A72_to_MCU2_0 driver instance.
| #define IC_ETH_MAX_VIRTUAL_IF 3 | 
Total no. of inter-core virtual interfaces
| #define LWIP2ENETIC_OK (0) | 
LWIP2ENETIC Error Code: Success
| #define LWIP2ENETIC_ERROR (-1) | 
LWIP2ENETIC Error Code: Failure
| #define IC_ETH_RX_POLLING_MODE 1 | 
Enables polling mode in the packet RX task
| #define IC_ETH_RX_POLLING_INTERVAL 1 /* milli-seconds */ | 
Pooling interval used by the packet RX task
| Lwip2EnetIc_Handle Lwip2EnetIc_open | ( | uint32_t | instId | ) | 
| void Lwip2EnetIc_close | ( | Lwip2EnetIc_Handle | hlwip2enetIc | ) | 
| int32_t Lwip2EnetIc_remoteCorePktNotify | ( | Lwip2EnetIc_Handle | hLwip2EnetIc | ) | 
      
  | 
  inlinestatic | 
      
  | 
  inlinestatic | 
      
  | 
  inlinestatic |