diff options
| author | Philippe Guibert <philippe.guibert@6wind.com> | 2019-06-06 17:31:46 +0200 |
|---|---|---|
| committer | Philippe Guibert <philippe.guibert@6wind.com> | 2019-07-08 08:36:45 +0200 |
| commit | f449d22396d770330906d860f496a830117f2789 (patch) | |
| tree | 9b1185954d560e408fe748de4a01da9c3e468cbe /bgpd/bgp_pbr.h | |
| parent | c682502cd723f0f6f8a0f64607bc35f736b4e635 (diff) | |
bgp, zebra, lib: add protocol support for iptables
in addition to support for tcpflags, it is possible to filter on any
protocol. the filtering can then be based with iptables.
Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
Diffstat (limited to 'bgpd/bgp_pbr.h')
| -rw-r--r-- | bgpd/bgp_pbr.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bgpd/bgp_pbr.h b/bgpd/bgp_pbr.h index b368d8892d..393b08da48 100644 --- a/bgpd/bgp_pbr.h +++ b/bgpd/bgp_pbr.h @@ -186,6 +186,7 @@ struct bgp_pbr_match { uint16_t tcp_mask_flags; uint8_t dscp_value; uint8_t fragment; + uint8_t protocol; vrf_id_t vrf_id; |
