diff options
author | Philippe Guibert <philippe.guibert@6wind.com> | 2018-03-21 11:55:38 +0100 |
---|---|---|
committer | Philippe Guibert <philippe.guibert@6wind.com> | 2018-04-16 14:40:43 +0200 |
commit | 0031a6bb2cd94066de1133f2de3a9ce079453631 (patch) | |
tree | 5ff4b1f8033a5a29a756500b49142253fa56673d /zebra/rule_netlink.c | |
parent | zebra: add a helper structure to look zebra_pbr_ipset per ipsetname (diff) | |
download | frr-0031a6bb2cd94066de1133f2de3a9ce079453631.tar.xz frr-0031a6bb2cd94066de1133f2de3a9ce079453631.zip |
lib: enhance pbr_rule structure for zapi encode and for common usage
The pbr_rule structure is derived from zebra_pbr_rule, and is
defined, so that a zclient will be able to encode the zebra_pbr_rule to
send ADD_RULE or DEL_RULE command. Also, the same structure can be used
by other daemons to derive a structure ( this will be the case for
zebra_pbr_rule).
Adding to this, an encoding function is defined, and will be used by
remote daemon to encode that message.
Those definitions are moved in new file pbr.h file.
Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
Diffstat (limited to 'zebra/rule_netlink.c')
0 files changed, 0 insertions, 0 deletions