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

Functions

struct rtnl_neighrtnl_neigh_alloc (void)
 
void rtnl_neigh_put (struct rtnl_neigh *)
 
int rtnl_neigh_alloc_cache (struct nl_sock *, struct nl_cache **)
 Build a neighbour cache including all neighbours currently configured in the kernel. More...
 
struct rtnl_neighrtnl_neigh_get (struct nl_cache *, int, struct nl_addr *)
 Look up a neighbour by interface index and destination address. More...
 
char * rtnl_neigh_state2str (int, char *, size_t)
 
int rtnl_neigh_str2state (const char *)
 
char * rtnl_neigh_flags2str (int, char *, size_t)
 
int rtnl_neigh_str2flag (const char *)
 
int rtnl_neigh_add (struct nl_sock *, struct rtnl_neigh *, int)
 Add a new neighbour. More...
 
int rtnl_neigh_build_add_request (struct rtnl_neigh *, int, struct nl_msg **)
 Build netlink request message to add a new neighbour. More...
 
int rtnl_neigh_delete (struct nl_sock *, struct rtnl_neigh *, int)
 Delete a neighbour. More...
 
int rtnl_neigh_build_delete_request (struct rtnl_neigh *, int, struct nl_msg **)
 Build a netlink request message to delete a neighbour. More...
 
void rtnl_neigh_set_state (struct rtnl_neigh *, int)
 
int rtnl_neigh_get_state (struct rtnl_neigh *)
 
void rtnl_neigh_unset_state (struct rtnl_neigh *, int)
 
void rtnl_neigh_set_flags (struct rtnl_neigh *, unsigned int)
 
void rtnl_neigh_unset_flags (struct rtnl_neigh *, unsigned int)
 
unsigned int rtnl_neigh_get_flags (struct rtnl_neigh *)
 
void rtnl_neigh_set_ifindex (struct rtnl_neigh *, int)
 
int rtnl_neigh_get_ifindex (struct rtnl_neigh *)
 
void rtnl_neigh_set_lladdr (struct rtnl_neigh *, struct nl_addr *)
 
struct nl_addrrtnl_neigh_get_lladdr (struct rtnl_neigh *)
 
int rtnl_neigh_set_dst (struct rtnl_neigh *, struct nl_addr *)
 
struct nl_addrrtnl_neigh_get_dst (struct rtnl_neigh *)
 
void rtnl_neigh_set_type (struct rtnl_neigh *, int)
 
int rtnl_neigh_get_type (struct rtnl_neigh *)
 
void rtnl_neigh_set_family (struct rtnl_neigh *, int)
 
int rtnl_neigh_get_family (struct rtnl_neigh *)