L2 Scan list API. More...
L2 Scan list API.
Definition in file l2scan_list.h.
Go to the source code of this file.
Data Structures | |
struct | l2scan_list |
Type of a Link Layer scan list. More... | |
Typedefs | |
typedef struct l2scan_list | l2scan_list_t |
Type of a Link Layer scan list. | |
Functions | |
void | l2scan_list_empty (l2scan_list_t *list, list_node_t *nodes, unsigned nodes_numof, size_t node_size) |
Empty the list to start a new scan. | |
void | l2scan_list_insert (l2scan_list_t *list, list_node_t *nodes, unsigned nodes_numof, size_t node_size, const netopt_scan_result_t *result) |
Insert a new scan result into the list. | |
unsigned | l2scan_list_to_array (const l2scan_list_t *list, void *nodes_array, unsigned nodes_numof, size_t node_size) |
Copy the content of a L2 scan list to an array to get rid of the list overhead. | |