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

libnl 3.10.0

rule.h
1/* SPDX-License-Identifier: LGPL-2.1-only */
2/*
3 * Copyright (c) 2008-2009 Thomas Graf <tgraf@suug.ch>
4 */
5
6#ifndef __NETLINK_CLI_RULE_H_
7#define __NETLINK_CLI_RULE_H_
8
9#include <netlink/route/rule.h>
10
11#ifdef __cplusplus
12extern "C" {
13#endif
14
15extern struct rtnl_rule *nl_cli_rule_alloc(void);
16extern struct nl_cache *nl_cli_rule_alloc_cache(struct nl_sock *);
17extern void nl_cli_rule_parse_family(struct rtnl_rule *, char *);
18
19#ifdef __cplusplus
20}
21#endif
22
23#endif