libnl: /data/src/libnl3/include/netlink/route/cls/ematch/cmp.h Source File

libnl 3.7.0

cmp.h
1 /* SPDX-License-Identifier: LGPL-2.1-only */
2 /*
3 * Copyright (c) 2008-2010 Thomas Graf <tgraf@suug.ch>
4 */
5
6 #ifndef NETLINK_CLS_EMATCH_CMP_H_
7 #define NETLINK_CLS_EMATCH_CMP_H_
8
9 #include <netlink/netlink.h>
10 #include <netlink/route/cls/ematch.h>
11 #include <linux/tc_ematch/tc_em_cmp.h>
12
13 #ifdef __cplusplus
14 extern "C" {
15 #endif
16
17 struct tcf_em_cmp;
18
19 extern void rtnl_ematch_cmp_set(struct rtnl_ematch *,
20 struct tcf_em_cmp *);
21 extern struct tcf_em_cmp *
22 rtnl_ematch_cmp_get(struct rtnl_ematch *);
23
24 #ifdef __cplusplus
25 }
26 #endif
27
28 #endif