6 #ifndef NETLINK_PKTLOC_H_
7 #define NETLINK_PKTLOC_H_
9 #include <netlink/netlink.h>
10 #include <netlink/cache.h>
11 #include <netlink/route/tc.h>
13 #include <linux/tc_ematch/tc_em_cmp.h>
36 extern void rtnl_pktloc_foreach(
void (*cb)(
struct rtnl_pktloc *,
void *),
int rtnl_pktloc_add(struct rtnl_pktloc *)
Add a packet location to the hash table.
int rtnl_pktloc_lookup(const char *, struct rtnl_pktloc **)
Lookup packet location alias.
struct rtnl_pktloc * rtnl_pktloc_alloc(void)
Allocate packet location object.
void rtnl_pktloc_put(struct rtnl_pktloc *)
Return reference of a packet location.