Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

net_if.h/net_if.c

Prototype

Code Block

          NET_IF_NBR NetIF_Add(void    *if_api,
                               void    *dev_api,
                               void    *dev_bsp,
                               void    *dev_cfg,
                               void    *ext_api,
                               void    *ext_cfg,
                               NET_ERR *p_err);

Arguments

if_api

Pointer to the desired link-layer API for this network interface and device hardware. The desired link-layer interface will point to the Ethernet API (NetIF_API_Ether) or the WiFi API,(NetIF_API_WiFi).

...