#include <stdio.h>
#include <stdlib.h>
#include <ctype.h>
#include "netifhandler.h"
Defines | |
| #define | LINESIZE 1024 |
| #define | NETSTATFILE "/proc/net/dev" |
Functions | |
| aw_netifhandler_t * | aw_create_netifhandler (const aw_netifhandler_events_t *events, const byte_t *dev, int32_t(*regevent)(aw_handler_t *h, aw_address_t *eventid, u_int32_t index), int32_t(*regmaskevent)(aw_handler_t *h, aw_address_t *eventid, u_int32_t index), const aw_alarm_sched_t *sched, aw_logger_t *logger) |
| Create a netifhandler. | |
| void | aw_free_netifhandler (aw_netifhandler_t *h) |
| Free handler and all associated resources. | |
| aw_handler_t * | aw_wire_netifhandler (aw_wire_mkhandler_args_t *args) |
| Create a netif handler using "wire". See header doc for keyword documentation. | |
|
|
|
|
|
|
|
||||||||||||||||||||||||||||
|
Create a netifhandler. aw_create_netifhandler
|
|
|
Free handler and all associated resources. aw_free_netifhandler
|
|
|
Create a netif handler using "wire". See header doc for keyword documentation. aw_wire_netifhandler |