diff options
| author | Russ White <russ@riw.us> | 2020-07-23 12:08:38 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-07-23 12:08:38 -0400 |
| commit | a90f46738a6a8b0450b269b7e28090677ca27920 (patch) | |
| tree | c511340f026dbfdc6376707cd97153699a61cb59 /pbrd/pbr_map.h | |
| parent | bd6cec43c37474f55afd855787e0f5212c9f9643 (diff) | |
| parent | 44025159215212df2b9f21451d49edc109a61dbe (diff) | |
Merge pull request #6730 from wesleycoakley/pbrd-dscp-ecn
DSCP / ECN-based PBR Matching
Diffstat (limited to 'pbrd/pbr_map.h')
| -rw-r--r-- | pbrd/pbr_map.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pbrd/pbr_map.h b/pbrd/pbr_map.h index 704f1a0361..64c090d2e8 100644 --- a/pbrd/pbr_map.h +++ b/pbrd/pbr_map.h @@ -89,6 +89,7 @@ struct pbr_map_sequence { */ struct prefix *src; struct prefix *dst; + uint8_t dsfield; uint32_t mark; /* @@ -168,6 +169,8 @@ extern void pbr_map_add_interface(struct pbr_map *pbrm, struct interface *ifp); extern void pbr_map_interface_delete(struct pbr_map *pbrm, struct interface *ifp); +extern uint8_t pbr_map_decode_dscp_enum(const char *name); + /* Update maps installed on interface */ extern void pbr_map_policy_interface_update(const struct interface *ifp, bool state_up); |
