12 #ifndef NETLINK_U32_H_
13 #define NETLINK_U32_H_
15 #include <netlink/netlink.h>
16 #include <netlink/cache.h>
17 #include <netlink/route/classifier.h>
23 extern void rtnl_u32_set_handle(
struct rtnl_cls *,
int,
int,
int);
24 extern int rtnl_u32_set_classid(
struct rtnl_cls *, uint32_t);
25 extern int rtnl_u32_set_divisor(
struct rtnl_cls *, uint32_t);
26 extern int rtnl_u32_set_link(
struct rtnl_cls *, uint32_t);
27 extern int rtnl_u32_set_hashtable(
struct rtnl_cls *, uint32_t);
28 extern int rtnl_u32_set_hashmask(
struct rtnl_cls *, uint32_t, uint32_t);
29 extern int rtnl_u32_set_cls_terminal(
struct rtnl_cls *);
31 extern int rtnl_u32_set_flags(
struct rtnl_cls *,
int);
34 extern int rtnl_u32_add_key_uint8(
struct rtnl_cls *, uint8_t, uint8_t,
40 extern int rtnl_u32_add_key_in_addr(
struct rtnl_cls *,
struct in_addr *,
42 extern int rtnl_u32_add_key_in6_addr(
struct rtnl_cls *,
struct in6_addr *,