basic.h

00001 /*
00002  * netlink/route/cls/basic.h    Basic Classifier
00003  *
00004  *      This library is free software; you can redistribute it and/or
00005  *      modify it under the terms of the GNU Lesser General Public
00006  *      License as published by the Free Software Foundation version 2.1
00007  *      of the License.
00008  *
00009  * Copyright (c) 2008-2010 Thomas Graf <tgraf@suug.ch>
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 void                     rtnl_basic_set_target(struct rtnl_cls *, uint32_t);
00022 extern uint32_t                 rtnl_basic_get_target(struct rtnl_cls *);
00023 extern void                     rtnl_basic_set_ematch(struct rtnl_cls *,
00024                                                       struct rtnl_ematch_tree *);
00025 extern struct rtnl_ematch_tree *rtnl_basic_get_ematch(struct rtnl_cls *);
00026 
00027 #ifdef __cplusplus
00028 }
00029 #endif
00030 
00031 #endif