summaryrefslogtreecommitdiff
path: root/lib/pbr.h
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@nvidia.com>2021-06-04 14:18:56 -0400
committerDonald Sharp <sharpd@nvidia.com>2021-07-08 11:12:47 -0400
commitb94683f0db071775ce2d9e92c711f8f7f9acd1b3 (patch)
tree200ee1cf4dcc1fcdf1624505c324a757c5bdbae1 /lib/pbr.h
parent8ccbc778cffa1ecac10d261ca0f034ffa999136c (diff)
lib, zebra: add ip_proto to the filter data structure
Add ip_proto to the filter data structure and also account for it in the hash when stored. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'lib/pbr.h')
-rw-r--r--lib/pbr.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/pbr.h b/lib/pbr.h
index 23092cf1db..cef1d9d380 100644
--- a/lib/pbr.h
+++ b/lib/pbr.h
@@ -68,6 +68,9 @@ struct pbr_filter {
/* Filter with fwmark */
uint32_t fwmark;
+
+ /* Filter with the ip protocol */
+ uint8_t ip_proto;
};
/*