Changeset 5792
- Timestamp:
- 08/13/10 23:55:16 (3 years ago)
- Location:
- umpa/branches/protocols/umit/umpa/protocols
- Files:
-
- 2 modified
-
Ethernet.py (modified) (2 diffs)
-
_consts.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
umpa/branches/protocols/umit/umpa/protocols/Ethernet.py
r5791 r5792 131 131 """ 132 132 133 return 0x8100133 return _consts.ETHERTYPE_VLAN 134 134 135 135 class _HPCP(_HDynamicIntField): … … 225 225 _fields.MACAddrField('Source', '00:00:00:00:00:00'), 226 226 _HIEEE8021Q('vlan', False), 227 _HTPID('tpid', 0x8100),227 _HTPID('tpid', _consts.ETHERTYPE_VLAN), 228 228 _HPCP('pcp', 0), 229 229 _HCFI('cfi', 0), -
umpa/branches/protocols/umit/umpa/protocols/_consts.py
r4969 r5792 50 50 ETHERTYPE_IPV6 = 0x86DD 51 51 ETHERTYPE_PPPOE = 0x8863 52 ETHERTYPE_VLAN = 0x8100 52 53 53 54 # IP Versions (based on RFC 790 "Assigned Numbers")
