]> git.proxmox.com Git - mirror_frr.git/commit
zebra: add 3 fields to ipset_entry : src,dst port, and proto
authorPhilippe Guibert <philippe.guibert@6wind.com>
Fri, 30 Mar 2018 11:01:39 +0000 (13:01 +0200)
committerPhilippe Guibert <philippe.guibert@6wind.com>
Thu, 31 May 2018 15:44:39 +0000 (17:44 +0200)
commit386dab78bce12d747375f9987aadb6d2bdf9ef38
treec065c0c532e6705b70a753e7eca0a04033a700b9
parent69428a4312fba03f9b25df685ef4f8748f969a97
zebra: add 3 fields to ipset_entry : src,dst port, and proto

Those 3 fields are read and written between zebra and bgpd.
This permits extending the ipset_entry structure.
Combinatories will be possible:
- filtering with one of the src/dst port.
- filtering with one of the range src/ range dst port
usage of src or dst is exclusive in a FS entry.
- filtering a port or a port range based on either src or dst port.

Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
lib/pbr.h
zebra/zapi_msg.c
zebra/zebra_pbr.c
zebra/zebra_pbr.h