Changeset 4989
- Timestamp:
- 07/04/09 22:02:48 (4 years ago)
- Location:
- branch/UMPA
- Files:
-
- 2 added
- 2 modified
-
tests/a_unit/test_protocols/test_sll.py (added)
-
umpa/protocols/SLL.py (added)
-
umpa/protocols/__init__.py (modified) (1 diff)
-
umpa/protocols/_decoder.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branch/UMPA/umpa/protocols/__init__.py
r4975 r4989 40 40 # loading global protocols 41 41 from Ethernet import Ethernet 42 from SLL import SLL 42 43 from IP import IP 43 44 # from ICMP import ICMP -
branch/UMPA/umpa/protocols/_decoder.py
r4988 r4989 21 21 22 22 import umpa 23 from umpa.protocols import Ethernet, IP, TCP, UDP, Payload23 from umpa.protocols import Ethernet, SLL, IP, TCP, UDP, Payload 24 24 from umpa.protocols import _consts as consts 25 25 … … 36 36 buffer = header.load_raw(buffer) 37 37 next_type = header._type 38 #elif linktype == consts.DLT_LINUX_SLL: 39 # raise Exception("got SLL") 40 # header = SLL() 41 # header.load_raw(buffer) 42 # next_type = header.ltype 38 elif linktype == consts.DLT_LINUX_SLL: 39 header = SLL() 40 buffer = header.load_raw(buffer) 41 next_type = header._etype 43 42 else: 44 43 header = Payload()
