libnl: /data/src/libnl3/include/netlink/cli/cls.h Source File

libnl 3.10.0

cls.h
1/* SPDX-License-Identifier: LGPL-2.1-only */
2/*
3 * Copyright (c) 2010 Thomas Graf <tgraf@suug.ch>
4 */
5
6#ifndef __NETLINK_CLI_CLS_H_
7#define __NETLINK_CLI_CLS_H_
8
9#include <netlink/route/classifier.h>
10#include <netlink/cli/tc.h>
11
12#ifdef __cplusplus
13extern "C" {
14#endif
15
16extern struct rtnl_cls * nl_cli_cls_alloc(void);
17extern struct nl_cache * nl_cli_cls_alloc_cache(struct nl_sock *,
18 int, uint32_t);
19extern void nl_cli_cls_parse_proto(struct rtnl_cls *, char *);
20extern struct rtnl_ematch_tree *nl_cli_cls_parse_ematch(struct rtnl_cls *, char *);
21
22#ifdef __cplusplus
23}
24#endif
25
26#endif