diff options
| author | Eli Baum <ebaum@mitre.org> | 2021-10-05 09:06:49 -0400 |
|---|---|---|
| committer | Eli Baum <ebaum@mitre.org> | 2021-10-07 09:14:59 -0400 |
| commit | d70a31a3ef2b60d978b336d5cc9ee5e1ec079dfc (patch) | |
| tree | 2fdf320ce338a2078a2d9bac1453e59fcd04ef91 /pbrd/pbr_map.h | |
| parent | ac32b03f9805df2639d6a62ffd1bef76da15e6f0 (diff) | |
pbrd: add vlan actions to vty
Signed-off-by: Eli Baum <ebaum@mitre.org>
Diffstat (limited to 'pbrd/pbr_map.h')
| -rw-r--r-- | pbrd/pbr_map.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/pbrd/pbr_map.h b/pbrd/pbr_map.h index 694b915f48..3527523fc1 100644 --- a/pbrd/pbr_map.h +++ b/pbrd/pbr_map.h @@ -104,6 +104,17 @@ struct pbr_map_sequence { uint32_t mark; /* + * Actions + */ + uint8_t action_pcp; + uint8_t action_vlan_id; +#define PBR_MAP_STRIP_INNER_ANY (1 << 0) + uint8_t action_vlan_flags; + +#define PBR_MAP_UNDEFINED_QUEUE_ID 0 + uint32_t action_queue_id; + + /* * Family of the src/dst. Needed when deleting since we clear them */ unsigned char family; @@ -158,6 +169,7 @@ struct pbr_map_sequence { #define PBR_MAP_INVALID_BOTH_NHANDGRP (1 << 3) #define PBR_MAP_INVALID_EMPTY (1 << 4) #define PBR_MAP_INVALID_VRF (1 << 5) +#define PBR_MAP_INVALID_SET_STRIP_VLAN (1 << 6) uint64_t reason; QOBJ_FIELDS; |
