summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorYAMAMOTO Takashi <yamamoto@valinux.co.jp>2013-05-14 17:11:39 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2013-05-14 22:47:01 +0900
commit9d06333da0eaeeca440a4eae728c5dd14d16ba65 (patch)
tree9b65c400d1e6b32e4d3ed4134cec2103507ded22
parent4006436f9a4a5835c31bc70e44d0337857f37f0d (diff)
of13: add missing UINTxx_MAX
Signed-off-by: YAMAMOTO Takashi <yamamoto@valinux.co.jp> Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
-rw-r--r--ryu/ofproto/ofproto_v1_3_parser.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/ryu/ofproto/ofproto_v1_3_parser.py b/ryu/ofproto/ofproto_v1_3_parser.py
index 3f2d020b..2f36859e 100644
--- a/ryu/ofproto/ofproto_v1_3_parser.py
+++ b/ryu/ofproto/ofproto_v1_3_parser.py
@@ -266,6 +266,11 @@ class OFPSetConfig(MsgBase):
self.flags, self.miss_send_len)
+UINT64_MAX = (1 << 64) - 1
+UINT32_MAX = (1 << 32) - 1
+UINT16_MAX = (1 << 16) - 1
+
+
class Flow(object):
def __init__(self):
self.in_port = 0