Protocol Type Registry Vendor Crawlers¶
Link-Layer Header Type Values [*] |
|
Ethertype IEEE 802 Numbers [†] |
|
Transport Layer Protocol Numbers [‡] |
|
Application Layer Protocol Numbers (Service Name and Transport Protocol Port Number Registry) [§] |
Link-Layer Header Type Values¶
Generates pcapkit.const.reg.linktype.LinkType.
Ethertype IEEE 802 Numbers¶
Generates pcapkit.const.reg.ethertype.EtherType.
- class pcapkit.vendor.reg.ethertype.EtherType[source]¶
Bases:
VendorEthertype IEEE 802 Numbers
- LINK: str = 'https://www.iana.org/assignments/ieee-802-numbers/ieee-802-numbers-1.csv'¶
Link to registry.
- static _insert_range(ranges, entry)[source]¶
Insert a range block ahead of the first already-placed range that fully contains it.
The generated
_missing_()tests theseifblocks in list order and returns on the first match, so a range that is fully contained within an earlier, wider one would never be reached – see GitHub issue #862, where the source table lists0x0101-0x01FFafter the0x0000-0x05DCrange that wholly contains it.The IANA CSV is not otherwise sorted by range, so this only reorders the pairs where containment would otherwise shadow one of them; every other pair keeps the source table’s row order, appended in the order it was read.
Transport Layer Protocol Numbers¶
Generates pcapkit.const.reg.transtype.TransType.
Application Layer Protocol Numbers¶
Generates pcapkit.const.reg.apptype. IANA keys every assignment on a
(service, port, transport) triple, so the registry is one crawler per transport
protocol alongside the base they all render against.
- class pcapkit.vendor.reg.apptype.apptype.AppType[source]¶
Bases:
VendorApplication Layer Protocol Numbers
- class pcapkit.vendor.reg.apptype.tcp.TCP[source]¶
Bases:
AppTypeApplication Layer Protocol Numbers (TCP)
- class pcapkit.vendor.reg.apptype.udp.UDP[source]¶
Bases:
AppTypeApplication Layer Protocol Numbers (UDP)
- class pcapkit.vendor.reg.apptype.sctp.SCTP[source]¶
Bases:
AppTypeApplication Layer Protocol Numbers (SCTP)
- class pcapkit.vendor.reg.apptype.dccp.DCCP[source]¶
Bases:
AppTypeApplication Layer Protocol Numbers (DCCP)
Footnotes