12 #ifndef NETLINK_U32_H_ 13 #define NETLINK_U32_H_ 15 #include <netlink/netlink.h> 16 #include <netlink/cache.h> 22 extern void rtnl_u32_set_handle(
struct rtnl_cls *,
int,
int,
int);
23 extern int rtnl_u32_set_classid(
struct rtnl_cls *, uint32_t);
25 extern int rtnl_u32_set_flags(
struct rtnl_cls *,
int);
28 extern int rtnl_u32_add_key_uint8(
struct rtnl_cls *, uint8_t, uint8_t,
34 extern int rtnl_u32_add_key_in_addr(
struct rtnl_cls *,
struct in_addr *,
36 extern int rtnl_u32_add_key_in6_addr(
struct rtnl_cls *,
struct in6_addr *,
int rtnl_u32_add_key_uint16(struct rtnl_cls *, uint16_t, uint16_t, int, int)
Append new selector key to match a 16-bit number.
int rtnl_u32_add_key(struct rtnl_cls *, uint32_t, uint32_t, int, int)
Append new 32-bit key to the selector.
int rtnl_u32_add_key_uint32(struct rtnl_cls *, uint32_t, uint32_t, int, int)
Append new selector key to match a 32-bit number.