]> git.puffer.fish Git - matthieu/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>
Fri, 25 May 2018 13:49:38 +0000 (15:49 +0200)
commit25d760c5518ab49a7fc1e9812112a4f529d8630e
tree3eaad408c646823a4a832c57837cb783eb34e4f6
parent586f4ccf2cbf8626499a8a8e281679db863d417e
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