summaryrefslogtreecommitdiff
path: root/zebra/zebra_pbr.h
diff options
context:
space:
mode:
authorPhilippe Guibert <philippe.guibert@6wind.com>2019-10-16 11:07:41 +0200
committerPhilippe Guibert <philippe.guibert@6wind.com>2020-08-21 13:37:08 +0200
commita60b7031f98bd95050905fc1cf1b488f285655ce (patch)
tree43af60e5b52254a72cd139c54c793fb97bda3d0d /zebra/zebra_pbr.h
parentf01e580fc022be15b1f70a3407c898d92b0509ee (diff)
bgp, zebra: add family attribute to ipset and iptable context
in order to create appropriate policy route, family attribute is stored in ipset and iptable zapi contexts. This commit also adds the flow label attribute in iptables, for further usage. Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
Diffstat (limited to 'zebra/zebra_pbr.h')
-rw-r--r--zebra/zebra_pbr.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/zebra/zebra_pbr.h b/zebra/zebra_pbr.h
index 888d2fcfa0..c84e603723 100644
--- a/zebra/zebra_pbr.h
+++ b/zebra/zebra_pbr.h
@@ -79,6 +79,9 @@ struct zebra_pbr_ipset {
* but value is an enum ipset_type
*/
uint32_t type;
+
+ uint8_t family;
+
char ipset_name[ZEBRA_IPSET_NAME_SIZE];
};
@@ -150,6 +153,9 @@ struct zebra_pbr_iptable {
uint8_t protocol;
uint32_t nb_interface;
+ uint16_t flow_label;
+
+ uint8_t family;
struct list *interface_name_list;