Signed-off-by: IWASE Yusuke <iwase.yusu...@gmail.com> --- ryu/lib/packet/arp.py | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-)
diff --git a/ryu/lib/packet/arp.py b/ryu/lib/packet/arp.py index dc78f2b..5a0eea4 100644 --- a/ryu/lib/packet/arp.py +++ b/ryu/lib/packet/arp.py @@ -37,19 +37,19 @@ class arp(packet_base.PacketBase): MAC addresses are represented as a string like '08:60:6e:7f:74:e7'. __init__ takes the corresponding args in this order. - ============== ==================== ===================== - Attribute Description Example - ============== ==================== ===================== - hwtype ar$hrd - proto ar$pro - hlen ar$hln - plen ar$pln - opcode ar$op - src_mac ar$sha '08:60:6e:7f:74:e7' - src_ip ar$spa '192.0.2.1' - dst_mac ar$tha '00:00:00:00:00:00' - dst_ip ar$tpa '192.0.2.2' - ============== ==================== ===================== + ============== ===================================== ===================== + Attribute Description Example + ============== ===================================== ===================== + hwtype Hardware address. + proto Protocol address. + hlen byte length of each hardware address. + plen byte length of each protocol address. + opcode operation codes. + src_mac Hardware address of sender. '08:60:6e:7f:74:e7' + src_ip Protocol address of sender. '192.0.2.1' + dst_mac Hardware address of target. '00:00:00:00:00:00' + dst_ip Protocol address of target. '192.0.2.2' + ============== ===================================== ===================== """ _PACK_STR = '!HHBBH6s4s6s4s' -- 2.7.4 ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Ryu-devel mailing list Ryu-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/ryu-devel