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