|
18 | 18 | class EtherType(IntEnum):
|
19 | 19 | """[EtherType] Ethertype IEEE 802 Numbers"""
|
20 | 20 |
|
21 |
| - #: XEROX PUP (see 0A00) [Boggs, D., J. Shoch, E. Taft, and R. Metcalfe, "PUP: |
22 |
| - #: An Internetwork Architecture", XEROX Palo Alto Research Center, CSL-79-10, |
23 |
| - #: July 1979; also in IEEE Transactions on Communication, Volume COM-28, Number |
24 |
| - #: 4, April 1980.][Neil Sembower] |
25 |
| - XEROX_PUP = 0x0200 |
| 21 | + #: Formerly XEROX PUP. Invalid as an Ethertype since 1983. Use 0x0A00. [Boggs, |
| 22 | + #: D., J. Shoch, E. Taft, and R. Metcalfe, "PUP: An Internetwork Architecture", |
| 23 | + #: XEROX Palo Alto Research Center, CSL-79-10, July 1979; also in IEEE |
| 24 | + #: Transactions on Communication, Volume COM-28, Number 4, April 1980.][Neil |
| 25 | + #: Sembower] |
| 26 | + Formerly_XEROX_PUP_Invalid_as_an_Ethertype_since_1983_Use_0x0A00 = 0x0200 |
26 | 27 |
|
27 |
| - #: PUP Addr Trans (see 0A01) [Neil Sembower] |
28 |
| - PUP_Addr_Trans_0x0201 = 0x0201 |
| 28 | + #: Formerly PUP Addr Trans. Invalid as an Ethertype since 1983. Use 0x0A01. |
| 29 | + #: [Neil Sembower] |
| 30 | + Formerly_PUP_Addr_Trans_Invalid_as_an_Ethertype_since_1983_Use_0x0A01 = 0x0201 |
29 | 31 |
|
30 |
| - #: Nixdorf [Neil Sembower] |
31 |
| - Nixdorf = 0x0400 |
| 32 | + #: Old Nixdorf private protocol. Invalid as an Ethertype since 1983. [Neil |
| 33 | + #: Sembower] |
| 34 | + Old_Nixdorf_private_protocol_Invalid_as_an_Ethertype_since_1983 = 0x0400 |
32 | 35 |
|
33 | 36 | #: XEROX NS IDP ["The Ethernet, A Local Area Network: Data Link Layer and
|
34 | 37 | #: Physical Layer Specification", AA-K759B-TK, Digital Equipment Corporation,
|
@@ -84,7 +87,7 @@ class EtherType(IntEnum):
|
84 | 87 | Xerox_IEEE802_3_PUP = 0x0A00
|
85 | 88 |
|
86 | 89 | #: PUP Addr Trans [Neil Sembower]
|
87 |
| - PUP_Addr_Trans_0x0A01 = 0x0A01 |
| 90 | + PUP_Addr_Trans = 0x0A01 |
88 | 91 |
|
89 | 92 | #: Banyan VINES [Neil Sembower]
|
90 | 93 | Banyan_VINES = 0x0BAD
|
@@ -507,8 +510,8 @@ class EtherType(IntEnum):
|
507 | 510 | #: processor for processing. [:rfc:`8157`]
|
508 | 511 | The_Ethertype_will_be_used_to_identify_a_Channel_in_which_control_messages_are_encapsulated_as_payload_of_GRE_packets_When_a_GRE_packet_tagged_with_the_Ethertype_is_received_the_payload_will_be_handed_to_the_network_processor_for_processing = 0xB7EA
|
509 | 512 |
|
510 |
| - #: BBN VITAL-LanBridge cache [Neil Sembower] |
511 |
| - BBN_VITAL_LanBridge_cache = 0xFF00 |
| 513 | + #: BBN VITAL-LanBridge cache private protocol. [Neil Sembower] |
| 514 | + BBN_VITAL_LanBridge_cache_private_protocol = 0xFF00 |
512 | 515 |
|
513 | 516 | #: Reserved [:rfc:`1701`]
|
514 | 517 | Reserved = 0xFFFF
|
@@ -540,11 +543,12 @@ def _missing_(cls, value: 'int') -> 'EtherType':
|
540 | 543 | if not (isinstance(value, int) and 0x0000 <= value <= 0xFFFF):
|
541 | 544 | raise ValueError('%r is not a valid %s' % (value, cls.__name__))
|
542 | 545 | if 0x0000 <= value <= 0x05DC:
|
543 |
| - #: IEEE802.3 Length Field [Neil Sembower] |
| 546 | + #: IEEE802.3 Length Field [IEEE Std 802.3] |
544 | 547 | return extend_enum(cls, 'IEEE802_3_Length_Field_0x%s' % hex(value)[2:].upper().zfill(4), value)
|
545 | 548 | if 0x0101 <= value <= 0x01FF:
|
546 |
| - #: Experimental [Neil Sembower] |
547 |
| - return extend_enum(cls, 'Experimental_0x%s' % hex(value)[2:].upper().zfill(4), value) |
| 549 | + #: Old Xerox Experimental values. Invalid as an Ethertype since 1983. [Neil |
| 550 | + #: Sembower] |
| 551 | + return extend_enum(cls, 'Old_Xerox_Experimental_values_Invalid_as_an_Ethertype_since_1983_0x%s' % hex(value)[2:].upper().zfill(4), value) |
548 | 552 | if 0x0888 <= value <= 0x088A:
|
549 | 553 | #: Xyplex [Neil Sembower]
|
550 | 554 | return extend_enum(cls, 'Xyplex_0x%s' % hex(value)[2:].upper().zfill(4), value)
|
@@ -705,6 +709,6 @@ def _missing_(cls, value: 'int') -> 'EtherType':
|
705 | 709 | #: Invisible Software [Neil Sembower]
|
706 | 710 | return extend_enum(cls, 'Invisible_Software_0x%s' % hex(value)[2:].upper().zfill(4), value)
|
707 | 711 | if 0xFF00 <= value <= 0xFF0F:
|
708 |
| - #: ISC Bunker Ramo [Neil Sembower] |
709 |
| - return extend_enum(cls, 'ISC_Bunker_Ramo_0x%s' % hex(value)[2:].upper().zfill(4), value) |
| 712 | + #: ISC Bunker Ramo private protocol. [Neil Sembower] |
| 713 | + return extend_enum(cls, 'ISC_Bunker_Ramo_private_protocol_0x%s' % hex(value)[2:].upper().zfill(4), value) |
710 | 714 | return super()._missing_(value)
|
0 commit comments