commit | c53a413e4fe1a5402ae11b12311c56387c90ba54 | [log] [tgz] |
---|---|---|
author | Shashikanth VH <shashikanth.vh@huawei.com> | Thu Feb 11 18:33:34 2016 +0530 |
committer | Gerrit Code Review <gerrit@onlab.us> | Fri Feb 12 17:08:22 2016 +0000 |
tree | b68c3e8e609a2bb77e6012da3f8ad281582f103f | |
parent | fe69e9abc490d526107f5e21ffc512dfd0b1cc56 [diff] [blame] |
[ONOS-3857] BGP update message flow specification components parsing. Change-Id: I9b58cdf2c47cb736a8119433cbc7911d871a83d1
diff --git a/protocols/bgp/bgpio/src/main/java/org/onosproject/bgpio/util/Constants.java b/protocols/bgp/bgpio/src/main/java/org/onosproject/bgpio/util/Constants.java index 8d68742..e904313 100644 --- a/protocols/bgp/bgpio/src/main/java/org/onosproject/bgpio/util/Constants.java +++ b/protocols/bgp/bgpio/src/main/java/org/onosproject/bgpio/util/Constants.java
@@ -68,4 +68,6 @@ public static final short BGP_FLOWSPEC_ACTION_TRAFFIC_REDIRECT = (short) 0x8008; public static final short BGP_FLOWSPEC_ACTION_TRAFFIC_MARKING = (short) 0x8009; + public static final byte BGP_FLOW_SPEC_LEN_MASK = 0x30; + public static final byte BGP_FLOW_SPEC_END_OF_LIST_MASK = (byte) 0x80; } \ No newline at end of file