Signed-off-by: Isaku Yamahata <[email protected]>
---
 ryu/lib/packet/ipv4.py |    5 +++++
 1 file changed, 5 insertions(+)

diff --git a/ryu/lib/packet/ipv4.py b/ryu/lib/packet/ipv4.py
index daf4265..4f48e93 100644
--- a/ryu/lib/packet/ipv4.py
+++ b/ryu/lib/packet/ipv4.py
@@ -23,6 +23,11 @@ from . import tcp
 from ryu.ofproto import inet
 
 
+IPV4_ADDRESS_PACK_STR = '!I'
+IPV4_ADDRESS_LEN = struct.calcsize(IPV4_ADDRESS_PACK_STR)
+IPV4_PSEUDO_HEADER_PACK_STR = '!II2xHH'
+
+
 class ipv4(packet_base.PacketBase):
     _PACK_STR = '!BBHHHBBHII'
     _MIN_LEN = struct.calcsize(_PACK_STR)
-- 
1.7.10.4


------------------------------------------------------------------------------
Minimize network downtime and maximize team effectiveness.
Reduce network management and security costs.Learn how to hire 
the most talented Cisco Certified professionals. Visit the 
Employer Resources Portal
http://www.cisco.com/web/learning/employer_resources/index.html
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to