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.c File Reference
#include "common.h"
#include "iflist.h"
Include dependency graph for iflist.c:

Go to the source code of this file.


int iflistadd (iflist **ifl, const char *iface, const uint32_t bandwidth)
int iflistsearch (iflist **ifl, const char *iface)
void iflistfree (iflist **ifl)

Function Documentation

◆ iflistadd()

int iflistadd ( iflist **  ifl,
const char *  iface,
const uint32_t  bandwidth 

Definition at line 4 of file iflist.c.

References iflist::bandwidth, iflist::interface, iflist::next, and strncpy_nt().

Referenced by cleanremovedinterfaces(), and db_getiflist_sorted().

◆ iflistfree()

◆ iflistsearch()

int iflistsearch ( iflist **  ifl,
const char *  iface 

Definition at line 30 of file iflist.c.

References iflist::interface, and iflist::next.

Referenced by handleifselection().