summaryrefslogtreecommitdiff
path: root/pbrd/pbr_map.h
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@nvidia.com>2021-06-03 19:39:09 -0400
committerDonald Sharp <sharpd@nvidia.com>2021-07-08 11:12:46 -0400
commit0d7b939fd063ceb825c3aed9c9915c674f2922ac (patch)
tree94143ba9845c5598e92398b9b385627909875306 /pbrd/pbr_map.h
parent3f8fcd2caa4fadeca9ecb8b432d28341d418cd2a (diff)
pbrd: Start inclusion of src and dst ports for pbrd
Start the inclusion of src_prt and dst_prt in the internal data structures. At this point we do not do anything with the data other than pass down what we have stored in pbrd. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'pbrd/pbr_map.h')
-rw-r--r--pbrd/pbr_map.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/pbrd/pbr_map.h b/pbrd/pbr_map.h
index caeadb0644..5673024772 100644
--- a/pbrd/pbr_map.h
+++ b/pbrd/pbr_map.h
@@ -85,6 +85,12 @@ struct pbr_map_sequence {
uint32_t ruleno;
/*
+ * src and dst ports
+ */
+ uint16_t src_prt;
+ uint16_t dst_prt;
+
+ /*
* Our policy Catchers
*/
struct prefix *src;