netfilter
firewalling, NAT, and packet mangling for linux
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
rtnl.c File Reference
#include <netlink-local.h>
#include <netlink/netlink.h>
#include <netlink/utils.h>
#include <netlink/route/rtnl.h>
Include dependency graph for rtnl.c:

Functions

Sending
int nl_rtgen_request (struct nl_sock *sk, int type, int family, int flags)
 Send routing netlink request message. More...
 
Realms Translations
char * rtnl_realms2str (uint32_t realms, char *buf, size_t len)
 

Routing Type Translations

char * nl_rtntype2str (int type, char *buf, size_t size)
 
int nl_str2rtntype (const char *name)
 

Scope Translations

char * rtnl_scope2str (int scope, char *buf, size_t size)
 
int rtnl_str2scope (const char *name)