InterfaceList
Functions | |
void | csp_iflist_add (csp_iface_t *ifc) |
Add interface to list. More... | |
csp_iface_t * | csp_iflist_get_by_name (char *name) |
Lookup interface by name. More... | |
void | csp_iflist_print (void) |
Print list of interfaces to stdout. More... | |
Function Documentation
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.
- Parameters
-
name String with interface name
- Returns
- Pointer to interface or NULL if not found
void csp_iflist_print | ( | void | ) |
Print list of interfaces to stdout.