Home | History | Annotate | Download | only in ematch
      1 /*
      2  * netlink/route/cls/ematch/cmp.h	Simple Comparison
      3  *
      4  *	This library is free software; you can redistribute it and/or
      5  *	modify it under the terms of the GNU Lesser General Public
      6  *	License as published by the Free Software Foundation version 2.1
      7  *	of the License.
      8  *
      9  * Copyright (c) 2008-2010 Thomas Graf <tgraf (at) suug.ch>
     10  */
     11 
     12 #ifndef NETLINK_CLS_EMATCH_CMP_H_
     13 #define NETLINK_CLS_EMATCH_CMP_H_
     14 
     15 #include <netlink/netlink.h>
     16 #include <netlink/route/cls/ematch.h>
     17 #include <linux/tc_ematch/tc_em_cmp.h>
     18 
     19 #ifdef __cplusplus
     20 extern "C" {
     21 #endif
     22 
     23 extern void	rtnl_ematch_cmp_set(struct rtnl_ematch *,
     24 				    struct tcf_em_cmp *);
     25 extern struct tcf_em_cmp *
     26 		rtnl_ematch_cmp_get(struct rtnl_ematch *);
     27 
     28 #ifdef __cplusplus
     29 }
     30 #endif
     31 
     32 #endif
     33