diff options
author | imarom <imarom@cisco.com> | 2016-03-22 17:20:13 +0200 |
---|---|---|
committer | imarom <imarom@cisco.com> | 2016-03-23 13:01:06 +0200 |
commit | 46f110d0c728ba9299156cf92a59c27c2d0348fa (patch) | |
tree | 9053af8b721a79378cea8ee4401d029b5a23d4b6 /scripts/external_libs/dpkt-1.8.6/dpkt/hsrp.py | |
parent | 9c03844bea5c9fc4423ed4c6ddf9376a9cdd7ac5 (diff) |
removed dpkt
Diffstat (limited to 'scripts/external_libs/dpkt-1.8.6/dpkt/hsrp.py')
-rw-r--r-- | scripts/external_libs/dpkt-1.8.6/dpkt/hsrp.py | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/scripts/external_libs/dpkt-1.8.6/dpkt/hsrp.py b/scripts/external_libs/dpkt-1.8.6/dpkt/hsrp.py deleted file mode 100644 index 9a082a3d..00000000 --- a/scripts/external_libs/dpkt-1.8.6/dpkt/hsrp.py +++ /dev/null @@ -1,32 +0,0 @@ -# $Id: hsrp.py 23 2006-11-08 15:45:33Z dugsong $ - -"""Cisco Hot Standby Router Protocol.""" - -import dpkt - -# Opcodes -HELLO = 0 -COUP = 1 -RESIGN = 2 - -# States -INITIAL = 0x00 -LEARN = 0x01 -LISTEN = 0x02 -SPEAK = 0x04 -STANDBY = 0x08 -ACTIVE = 0x10 - -class HSRP(dpkt.Packet): - __hdr__ = ( - ('version', 'B', 0), - ('opcode', 'B', 0), - ('state', 'B', 0), - ('hello', 'B', 0), - ('hold', 'B', 0), - ('priority', 'B', 0), - ('group', 'B', 0), - ('rsvd', 'B', 0), - ('auth', '8s', 'cisco'), - ('vip', '4s', '') - ) |