diff options
| author | Donald Sharp <sharpd@nvidia.com> | 2021-06-04 14:18:56 -0400 |
|---|---|---|
| committer | Donald Sharp <sharpd@nvidia.com> | 2021-07-08 11:12:47 -0400 |
| commit | b94683f0db071775ce2d9e92c711f8f7f9acd1b3 (patch) | |
| tree | 200ee1cf4dcc1fcdf1624505c324a757c5bdbae1 /lib/pbr.h | |
| parent | 8ccbc778cffa1ecac10d261ca0f034ffa999136c (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.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -68,6 +68,9 @@ struct pbr_filter { /* Filter with fwmark */ uint32_t fwmark; + + /* Filter with the ip protocol */ + uint8_t ip_proto; }; /* |
