]> git.puffer.fish Git - matthieu/frr.git/commit
bgpd: 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)
commitf730e5667dcbe6b2e937b35084c5825be44895bf
treea9d7fe14f21eb47a0b3c31ab5d0cddce604eddd7
parentb5c4010508e224f63a6d72853e663f85b8c009e7
bgpd: 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>
bgpd/bgp_pbr.h
bgpd/bgp_zebra.c