netfilter
firewalling, NAT, and packet mangling for linux
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
iftest.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <errno.h>
#include <net/if.h>
#include <libnfnetlink/libnfnetlink.h>
Include dependency graph for iftest.c:

Functions

int main (int argc, char *argv[])
 

Function Documentation

int main ( int  argc,
char *  argv[] 
)

References flags, IFF_RUNNING, IFF_UP, IFNAMSIZ, name, nlif_close(), nlif_get_ifflags(), nlif_index2name(), nlif_open(), nlif_query(), and NULL.

Here is the call graph for this function: