#include <netlink-local.h>
#include <netlink/netlink.h>
#include <netlink/cache.h>
#include <netlink/utils.h>
#include <netlink/data.h>
#include <netlink/route/rtnl.h>
#include <netlink/route/route.h>
#include <netlink/route/link.h>
Functions | |
Cache Management | |
int | rtnl_route_alloc_cache (struct nl_sock *sk, int family, int flags, struct nl_cache **result) |
Build a route cache holding all routes currently configured in the kernel. More... | |
Route Addition | |
int | rtnl_route_build_add_request (struct rtnl_route *tmpl, int flags, struct nl_msg **result) |
int | rtnl_route_add (struct nl_sock *sk, struct rtnl_route *route, int flags) |
int | rtnl_route_build_del_request (struct rtnl_route *tmpl, int flags, struct nl_msg **result) |
int | rtnl_route_delete (struct nl_sock *sk, struct rtnl_route *route, int flags) |