summaryrefslogtreecommitdiff
path: root/bgpd/bgp_pbr.h
diff options
context:
space:
mode:
authorPhilippe Guibert <philippe.guibert@6wind.com>2018-06-12 18:31:52 +0200
committerPhilippe Guibert <philippe.guibert@6wind.com>2018-06-28 08:52:15 +0200
commit2da7d62e94997683e141e4b1d092eaedff16d3fb (patch)
tree3a0667c66a56f1f4b74c4e9ce5e0eee41646de85 /bgpd/bgp_pbr.h
parent01ffd28b8d4aae9e178257ef7d99a7e1fafc335b (diff)
bgpd: support for flowspec tcp flags
Ability to handle flowspec tcp flags. Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
Diffstat (limited to 'bgpd/bgp_pbr.h')
-rw-r--r--bgpd/bgp_pbr.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/bgpd/bgp_pbr.h b/bgpd/bgp_pbr.h
index 9d578a183b..a39fba82c1 100644
--- a/bgpd/bgp_pbr.h
+++ b/bgpd/bgp_pbr.h
@@ -134,6 +134,7 @@ struct bgp_pbr_entry_main {
struct bgp_pbr_match_val icmp_code[BGP_PBR_MATCH_VAL_MAX];
struct bgp_pbr_match_val packet_length[BGP_PBR_MATCH_VAL_MAX];
struct bgp_pbr_match_val dscp[BGP_PBR_MATCH_VAL_MAX];
+
struct bgp_pbr_match_val tcpflags[BGP_PBR_MATCH_VAL_MAX];
struct bgp_pbr_fragment_val fragment;
@@ -187,6 +188,8 @@ struct bgp_pbr_match {
uint16_t pkt_len_min;
uint16_t pkt_len_max;
+ uint16_t tcp_flags;
+ uint16_t tcp_mask_flags;
vrf_id_t vrf_id;