/
NetIF_GetNbrBaseCfgd
NetIF_GetNbrBaseCfgd
Get base ID of external interface.
Files
net_if.h/net_if.c
Prototype
NET_IF_NBR NetIF_GetNbrBaseCfgd(void);
Arguments
None.
Returned Value
ID of the first external interface configured.
Required Configuration
None.
Notes
- Interface ID start at 0 or 1 depending if the loopback interface is enabled or not.
- You can find the number of external interface added/configured by calling NetIF_GetExtAvailCtr(). By knowing the ID of the first external interface and the number of external interface, it is possible to browse in a generic way all interfaces.
Related content
NetIF_GetExtAvailCtr
NetIF_GetExtAvailCtr
More like this
Network Interface Functions
Network Interface Functions
More like this
Initializing Interfaces
Initializing Interfaces
More like this
Interface Programming
Interface Programming
More like this
NetIF_IsEnCfgd
NetIF_IsEnCfgd
More like this
Network Interface Hardware Address
Network Interface Hardware Address
More like this