firewalling, NAT, and packet mangling for linux
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
rtnl.h File Reference
#include <netlink/netlink.h>
Include dependency graph for rtnl.h:
This graph shows which files directly or indirectly include this file:


#define RTNL_REALM_MASK   (0xFFFF)
 Mask specying the size of each realm part. More...
#define RTNL_REALM_FROM(realm)   ((realm) >> 16)
 Extract FROM realm from a realms field. More...
#define RTNL_REALM_TO(realm)   ((realm) & RTNL_REALM_MASK)
 Extract TO realm from a realms field. More...
#define RTNL_MAKE_REALM(from, to)   ((RTNL_REALM_TO(from) << 16) & RTNL_REALM_TO(to))
 Build a realms field. More...


int nl_rtgen_request (struct nl_sock *, int, int, int)
 Send routing netlink request message. More...
char * nl_rtntype2str (int, char *, size_t)
int nl_str2rtntype (const char *)
char * rtnl_scope2str (int, char *, size_t)
int rtnl_str2scope (const char *)
char * rtnl_realms2str (uint32_t, char *, size_t)