Loading...
Searching...
No Matches

L2 Scan list API. More...

Detailed Description

L2 Scan list API.

Author
Fabian Hüßler fabia.nosp@m.n.hu.nosp@m.essle.nosp@m.r@ml.nosp@m.-pa.c.nosp@m.om

Definition in file l2scan_list.h.

#include <stdlib.h>
#include "list.h"
#include "net/netopt.h"
+ Include dependency graph for l2scan_list.h:
+ This graph shows which files directly or indirectly include this file:

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.