00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012 #ifndef NETLINK_BASIC_H_
00013 #define NETLINK_BASIC_H_
00014
00015 #include <netlink/netlink.h>
00016
00017 #ifdef __cplusplus
00018 extern "C" {
00019 #endif
00020
00021 extern struct rtnl_cls_ops *rtnl_basic_get_ops(void);
00022 extern int rtnl_basic_set_classid(struct rtnl_cls *, uint32_t);
00023 extern uint32_t rtnl_basic_get_classid(struct rtnl_cls *);
00024 extern int rtnl_basic_set_ematch(struct rtnl_cls *,
00025 struct rtnl_ematch_tree *);
00026 extern struct rtnl_ematch_tree *
00027 rtnl_basic_get_ematch(struct rtnl_cls *);
00028
00029 #ifdef __cplusplus
00030 }
00031 #endif
00032
00033 #endif