vnstat  2.9
About: vnStat is a console-based network traffic monitor (using the /proc filesystem).
  Fossies Dox: vnstat-2.9.tar.gz  ("unofficial" and yet experimental doxygen-generated source code documentation)  

iflist.h
Go to the documentation of this file.
1#ifndef IFLIST_H
2#define IFLIST_H
3
4typedef struct iflist {
5 char interface[32];
6 uint32_t bandwidth;
7 struct iflist *next;
9
10int iflistadd(iflist **ifl, const char *iface, const uint32_t bandwidth);
11int iflistsearch(iflist **ifl, const char *iface);
12void iflistfree(iflist **ifl);
13
14#endif
struct iflist iflist
int iflistsearch(iflist **ifl, const char *iface)
Definition: iflist.c:30
void iflistfree(iflist **ifl)
Definition: iflist.c:43
int iflistadd(iflist **ifl, const char *iface, const uint32_t bandwidth)
Definition: iflist.c:4
Definition: iflist.h:4
struct iflist * next
Definition: iflist.h:7
char interface[32]
Definition: iflist.h:5
uint32_t bandwidth
Definition: iflist.h:6