Interface List API

group InterfaceList

Functions

void csp_iflist_add(csp_iface_t *ifc)

Add interface to list.

Parameters
  • ifc: Pointer to interface to add

csp_iface_t *csp_iflist_get_by_name(char *name)

Lookup interface by name.

Return
Pointer to interface or NULL if not found
Parameters
  • name: String with interface name

void csp_iflist_print(void)

Print list of interfaces to stdout.