]> git.proxmox.com Git - mirror_frr.git/blobdiff - lib/pbr.h
Merge pull request #5778 from ton31337/fix/add_doc_for_ebgp_connected_route_check
[mirror_frr.git] / lib / pbr.h
index 1425e679c5e5e948a25038499aa721c817a0c274..cf6ac41d326c7a091ef520741f5963c824412179 100644 (file)
--- a/lib/pbr.h
+++ b/lib/pbr.h
@@ -90,7 +90,7 @@ struct pbr_rule {
        uint32_t unique;
        struct pbr_filter filter;
        struct pbr_action action;
-       uint32_t ifindex;
+       ifindex_t ifindex;
 };
 
 /* TCP flags value shared
@@ -121,6 +121,7 @@ struct pbr_rule {
 #define MATCH_PKT_LEN_INVERSE_SET      (1 << 8)
 #define MATCH_FRAGMENT_INVERSE_SET     (1 << 9)
 #define MATCH_ICMP_SET                 (1 << 10)
+#define MATCH_PROTOCOL_SET             (1 << 11)
 
 extern int zapi_pbr_rule_encode(uint8_t cmd, struct stream *s,
                                struct pbr_rule *zrule);