libnl 3.5.0

cmp.h
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@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 struct tcf_em_cmp;
24
25 extern void rtnl_ematch_cmp_set(struct rtnl_ematch *,
26 struct tcf_em_cmp *);
27 extern struct tcf_em_cmp *
28 rtnl_ematch_cmp_get(struct rtnl_ematch *);
29
30 #ifdef __cplusplus
31 }
32 #endif
33
34 #endif