PDK API Guide for J721E
Enet intercore netif helper APIs

Introduction

Functions

err_t LWIPIF_LWIP_IC_init (struct netif *netif)
 Inter-core virtual network driver's netif init callback function. More...
 

Function Documentation

◆ LWIPIF_LWIP_IC_init()

err_t LWIPIF_LWIP_IC_init ( struct netif *  netif)

Inter-core virtual network driver's netif init callback function.

This function implements the initialization of the inter-core virtual network interface, so it must be called when adding a netif interface via netif_add().

Virtual netifs should be added via netif_add() and this function must be passed as the init callback function.

Parameters
netifThe netif to initialize.
Returns
ERR_OK if initialization was successful. A corresponding lwIP error code otherwise.