pypcapkit 1.3.5.post6__pp310-none-any.whl
Sign up to get free protection for your applications and to get access to all the features.
- pcapkit/__init__.py +124 -0
- pcapkit/__main__.py +138 -0
- pcapkit/all.py +136 -0
- pcapkit/const/__init__.py +81 -0
- pcapkit/const/arp/__init__.py +25 -0
- pcapkit/const/arp/hardware.py +181 -0
- pcapkit/const/arp/operation.py +131 -0
- pcapkit/const/ftp/__init__.py +25 -0
- pcapkit/const/ftp/command.py +309 -0
- pcapkit/const/ftp/return_code.py +304 -0
- pcapkit/const/hip/__init__.py +94 -0
- pcapkit/const/hip/certificate.py +77 -0
- pcapkit/const/hip/cipher.py +65 -0
- pcapkit/const/hip/di.py +59 -0
- pcapkit/const/hip/ecdsa_curve.py +59 -0
- pcapkit/const/hip/ecdsa_low_curve.py +56 -0
- pcapkit/const/hip/eddsa_curve.py +65 -0
- pcapkit/const/hip/esp_transform_suite.py +98 -0
- pcapkit/const/hip/group.py +86 -0
- pcapkit/const/hip/hi_algorithm.py +86 -0
- pcapkit/const/hip/hit_suite.py +68 -0
- pcapkit/const/hip/nat_traversal.py +62 -0
- pcapkit/const/hip/notify_message.py +200 -0
- pcapkit/const/hip/packet.py +89 -0
- pcapkit/const/hip/parameter.py +377 -0
- pcapkit/const/hip/registration.py +68 -0
- pcapkit/const/hip/registration_failure.py +84 -0
- pcapkit/const/hip/suite.py +71 -0
- pcapkit/const/hip/transport.py +59 -0
- pcapkit/const/http/__init__.py +39 -0
- pcapkit/const/http/error_code.py +95 -0
- pcapkit/const/http/frame.py +95 -0
- pcapkit/const/http/method.py +184 -0
- pcapkit/const/http/setting.py +96 -0
- pcapkit/const/http/status_code.py +298 -0
- pcapkit/const/ipv4/__init__.py +57 -0
- pcapkit/const/ipv4/classification_level.py +64 -0
- pcapkit/const/ipv4/option_class.py +55 -0
- pcapkit/const/ipv4/option_number.py +137 -0
- pcapkit/const/ipv4/protection_authority.py +63 -0
- pcapkit/const/ipv4/qs_function.py +51 -0
- pcapkit/const/ipv4/router_alert.py +251 -0
- pcapkit/const/ipv4/tos_del.py +51 -0
- pcapkit/const/ipv4/tos_ecn.py +55 -0
- pcapkit/const/ipv4/tos_pre.py +63 -0
- pcapkit/const/ipv4/tos_rel.py +51 -0
- pcapkit/const/ipv4/tos_thr.py +51 -0
- pcapkit/const/ipv4/ts_flag.py +53 -0
- pcapkit/const/ipv6/__init__.py +53 -0
- pcapkit/const/ipv6/extension_header.py +69 -0
- pcapkit/const/ipv6/option.py +137 -0
- pcapkit/const/ipv6/option_action.py +55 -0
- pcapkit/const/ipv6/qs_function.py +51 -0
- pcapkit/const/ipv6/router_alert.py +266 -0
- pcapkit/const/ipv6/routing.py +80 -0
- pcapkit/const/ipv6/seed_id.py +55 -0
- pcapkit/const/ipv6/smf_dpd_mode.py +51 -0
- pcapkit/const/ipv6/tagger_id.py +62 -0
- pcapkit/const/ipx/__init__.py +27 -0
- pcapkit/const/ipx/packet.py +72 -0
- pcapkit/const/ipx/socket.py +104 -0
- pcapkit/const/l2tp/__init__.py +21 -0
- pcapkit/const/l2tp/type.py +51 -0
- pcapkit/const/mh/__init__.py +204 -0
- pcapkit/const/mh/access_type.py +92 -0
- pcapkit/const/mh/ack_status_code.py +71 -0
- pcapkit/const/mh/ani_suboption.py +74 -0
- pcapkit/const/mh/auth_subtype.py +53 -0
- pcapkit/const/mh/binding_ack_flag.py +66 -0
- pcapkit/const/mh/binding_error.py +51 -0
- pcapkit/const/mh/binding_revocation.py +59 -0
- pcapkit/const/mh/binding_update_flag.py +81 -0
- pcapkit/const/mh/cga_extension.py +66 -0
- pcapkit/const/mh/cga_sec.py +57 -0
- pcapkit/const/mh/cga_type.py +68 -0
- pcapkit/const/mh/dhcp_support_mode.py +53 -0
- pcapkit/const/mh/dns_status_code.py +65 -0
- pcapkit/const/mh/dsmip6_tls_packet.py +62 -0
- pcapkit/const/mh/dsmipv6_home_address.py +74 -0
- pcapkit/const/mh/enumerating_algorithm.py +56 -0
- pcapkit/const/mh/fb_ack_status.py +62 -0
- pcapkit/const/mh/fb_action.py +71 -0
- pcapkit/const/mh/fb_indication_trigger.py +65 -0
- pcapkit/const/mh/fb_type.py +59 -0
- pcapkit/const/mh/flow_id_status.py +77 -0
- pcapkit/const/mh/flow_id_suboption.py +71 -0
- pcapkit/const/mh/handoff_type.py +71 -0
- pcapkit/const/mh/handover_ack_flag.py +54 -0
- pcapkit/const/mh/handover_ack_status.py +92 -0
- pcapkit/const/mh/handover_initiate_flag.py +57 -0
- pcapkit/const/mh/handover_initiate_status.py +62 -0
- pcapkit/const/mh/home_address_reply.py +71 -0
- pcapkit/const/mh/lla_code.py +63 -0
- pcapkit/const/mh/lma_mag_suboption.py +59 -0
- pcapkit/const/mh/mn_group_id.py +59 -0
- pcapkit/const/mh/mn_id_subtype.py +77 -0
- pcapkit/const/mh/operator_id.py +63 -0
- pcapkit/const/mh/option.py +260 -0
- pcapkit/const/mh/packet.py +119 -0
- pcapkit/const/mh/qos_attribute.py +89 -0
- pcapkit/const/mh/revocation_status_code.py +83 -0
- pcapkit/const/mh/revocation_trigger.py +86 -0
- pcapkit/const/mh/status_code.py +232 -0
- pcapkit/const/mh/traffic_selector.py +62 -0
- pcapkit/const/mh/upa_status.py +71 -0
- pcapkit/const/mh/upn_reason.py +80 -0
- pcapkit/const/ospf/__init__.py +27 -0
- pcapkit/const/ospf/authentication.py +65 -0
- pcapkit/const/ospf/packet.py +71 -0
- pcapkit/const/pcapng/__init__.py +51 -0
- pcapkit/const/pcapng/block_type.py +152 -0
- pcapkit/const/pcapng/filter_type.py +48 -0
- pcapkit/const/pcapng/hash_algorithm.py +59 -0
- pcapkit/const/pcapng/option_type.py +233 -0
- pcapkit/const/pcapng/record_type.py +57 -0
- pcapkit/const/pcapng/secrets_type.py +56 -0
- pcapkit/const/pcapng/verdict_type.py +53 -0
- pcapkit/const/reg/__init__.py +34 -0
- pcapkit/const/reg/apptype.py +32728 -0
- pcapkit/const/reg/ethertype.py +714 -0
- pcapkit/const/reg/linktype.py +890 -0
- pcapkit/const/reg/transtype.py +526 -0
- pcapkit/const/tcp/__init__.py +35 -0
- pcapkit/const/tcp/checksum.py +55 -0
- pcapkit/const/tcp/flags.py +73 -0
- pcapkit/const/tcp/mp_tcp_option.py +80 -0
- pcapkit/const/tcp/option.py +198 -0
- pcapkit/const/vlan/__init__.py +23 -0
- pcapkit/const/vlan/priority_level.py +71 -0
- pcapkit/corekit/__init__.py +59 -0
- pcapkit/corekit/fields/__init__.py +45 -0
- pcapkit/corekit/fields/collections.py +282 -0
- pcapkit/corekit/fields/field.py +269 -0
- pcapkit/corekit/fields/ipaddress.py +274 -0
- pcapkit/corekit/fields/misc.py +722 -0
- pcapkit/corekit/fields/numbers.py +375 -0
- pcapkit/corekit/fields/strings.py +245 -0
- pcapkit/corekit/infoclass.py +394 -0
- pcapkit/corekit/io.py +506 -0
- pcapkit/corekit/module.py +39 -0
- pcapkit/corekit/multidict.py +626 -0
- pcapkit/corekit/protochain.py +263 -0
- pcapkit/corekit/version.py +33 -0
- pcapkit/dumpkit/__init__.py +15 -0
- pcapkit/dumpkit/common.py +199 -0
- pcapkit/dumpkit/null.py +77 -0
- pcapkit/dumpkit/pcap.py +144 -0
- pcapkit/foundation/__init__.py +45 -0
- pcapkit/foundation/engines/__init__.py +36 -0
- pcapkit/foundation/engines/dpkt.py +230 -0
- pcapkit/foundation/engines/engine.py +194 -0
- pcapkit/foundation/engines/pcap.py +188 -0
- pcapkit/foundation/engines/pcapng.py +310 -0
- pcapkit/foundation/engines/pyshark.py +166 -0
- pcapkit/foundation/engines/scapy.py +161 -0
- pcapkit/foundation/extraction.py +915 -0
- pcapkit/foundation/reassembly/__init__.py +49 -0
- pcapkit/foundation/reassembly/data/__init__.py +48 -0
- pcapkit/foundation/reassembly/data/ip.py +117 -0
- pcapkit/foundation/reassembly/data/tcp.py +145 -0
- pcapkit/foundation/reassembly/ip.py +192 -0
- pcapkit/foundation/reassembly/ipv4.py +50 -0
- pcapkit/foundation/reassembly/ipv6.py +50 -0
- pcapkit/foundation/reassembly/reassembly.py +389 -0
- pcapkit/foundation/reassembly/tcp.py +249 -0
- pcapkit/foundation/registry/__init__.py +41 -0
- pcapkit/foundation/registry/foundation.py +327 -0
- pcapkit/foundation/registry/protocols.py +885 -0
- pcapkit/foundation/traceflow/__init__.py +44 -0
- pcapkit/foundation/traceflow/data/__init__.py +30 -0
- pcapkit/foundation/traceflow/data/tcp.py +105 -0
- pcapkit/foundation/traceflow/tcp.py +159 -0
- pcapkit/foundation/traceflow/traceflow.py +390 -0
- pcapkit/interface/__init__.py +22 -0
- pcapkit/interface/core.py +185 -0
- pcapkit/interface/misc.py +120 -0
- pcapkit/protocols/__init__.py +85 -0
- pcapkit/protocols/application/NotImplemented/bgp.py +0 -0
- pcapkit/protocols/application/NotImplemented/dhcp.py +0 -0
- pcapkit/protocols/application/NotImplemented/dhcpv6.py +0 -0
- pcapkit/protocols/application/NotImplemented/dns.py +0 -0
- pcapkit/protocols/application/NotImplemented/imap.py +0 -0
- pcapkit/protocols/application/NotImplemented/ldap.py +0 -0
- pcapkit/protocols/application/NotImplemented/mqtt.py +0 -0
- pcapkit/protocols/application/NotImplemented/nntp.py +0 -0
- pcapkit/protocols/application/NotImplemented/ntp.py +0 -0
- pcapkit/protocols/application/NotImplemented/onc_rpc.py +0 -0
- pcapkit/protocols/application/NotImplemented/pop.py +0 -0
- pcapkit/protocols/application/NotImplemented/rip.py +0 -0
- pcapkit/protocols/application/NotImplemented/rtp.py +0 -0
- pcapkit/protocols/application/NotImplemented/sip.py +0 -0
- pcapkit/protocols/application/NotImplemented/smtp.py +0 -0
- pcapkit/protocols/application/NotImplemented/snmp.py +0 -0
- pcapkit/protocols/application/NotImplemented/ssh.py +0 -0
- pcapkit/protocols/application/NotImplemented/telnet.py +0 -0
- pcapkit/protocols/application/NotImplemented/tls.py +0 -0
- pcapkit/protocols/application/NotImplemented/xmpp.py +0 -0
- pcapkit/protocols/application/__init__.py +34 -0
- pcapkit/protocols/application/application.py +114 -0
- pcapkit/protocols/application/ftp.py +206 -0
- pcapkit/protocols/application/http.py +176 -0
- pcapkit/protocols/application/httpv1.py +320 -0
- pcapkit/protocols/application/httpv2.py +1255 -0
- pcapkit/protocols/data/__init__.py +192 -0
- pcapkit/protocols/data/application/__init__.py +57 -0
- pcapkit/protocols/data/application/ftp.py +59 -0
- pcapkit/protocols/data/application/httpv1.py +79 -0
- pcapkit/protocols/data/application/httpv2.py +293 -0
- pcapkit/protocols/data/data.py +25 -0
- pcapkit/protocols/data/internet/__init__.py +298 -0
- pcapkit/protocols/data/internet/ah.py +31 -0
- pcapkit/protocols/data/internet/hip.py +804 -0
- pcapkit/protocols/data/internet/hopopt.py +351 -0
- pcapkit/protocols/data/internet/ipv4.py +369 -0
- pcapkit/protocols/data/internet/ipv6.py +67 -0
- pcapkit/protocols/data/internet/ipv6_frag.py +29 -0
- pcapkit/protocols/data/internet/ipv6_opts.py +368 -0
- pcapkit/protocols/data/internet/ipv6_route.py +86 -0
- pcapkit/protocols/data/internet/ipx.py +56 -0
- pcapkit/protocols/data/internet/mh.py +509 -0
- pcapkit/protocols/data/link/__init__.py +33 -0
- pcapkit/protocols/data/link/arp.py +74 -0
- pcapkit/protocols/data/link/ethernet.py +28 -0
- pcapkit/protocols/data/link/l2tp.py +63 -0
- pcapkit/protocols/data/link/ospf.py +58 -0
- pcapkit/protocols/data/link/vlan.py +42 -0
- pcapkit/protocols/data/misc/__init__.py +109 -0
- pcapkit/protocols/data/misc/null.py +18 -0
- pcapkit/protocols/data/misc/pcap/__init__.py +18 -0
- pcapkit/protocols/data/misc/pcap/frame.py +56 -0
- pcapkit/protocols/data/misc/pcap/header.py +53 -0
- pcapkit/protocols/data/misc/pcapng.py +925 -0
- pcapkit/protocols/data/misc/raw.py +25 -0
- pcapkit/protocols/data/protocol.py +32 -0
- pcapkit/protocols/data/transport/__init__.py +71 -0
- pcapkit/protocols/data/transport/tcp.py +555 -0
- pcapkit/protocols/data/transport/udp.py +29 -0
- pcapkit/protocols/internet/NotImplemented/ecn.py +0 -0
- pcapkit/protocols/internet/NotImplemented/esp.py +97 -0
- pcapkit/protocols/internet/NotImplemented/icmp.py +0 -0
- pcapkit/protocols/internet/NotImplemented/icmpv6.py +0 -0
- pcapkit/protocols/internet/NotImplemented/igmp.py +0 -0
- pcapkit/protocols/internet/NotImplemented/shim6.py +0 -0
- pcapkit/protocols/internet/__init__.py +43 -0
- pcapkit/protocols/internet/ah.py +275 -0
- pcapkit/protocols/internet/hip.py +4727 -0
- pcapkit/protocols/internet/hopopt.py +1879 -0
- pcapkit/protocols/internet/internet.py +249 -0
- pcapkit/protocols/internet/ip.py +51 -0
- pcapkit/protocols/internet/ipsec.py +50 -0
- pcapkit/protocols/internet/ipv4.py +1782 -0
- pcapkit/protocols/internet/ipv6.py +412 -0
- pcapkit/protocols/internet/ipv6_frag.py +258 -0
- pcapkit/protocols/internet/ipv6_opts.py +1890 -0
- pcapkit/protocols/internet/ipv6_route.py +708 -0
- pcapkit/protocols/internet/ipx.py +230 -0
- pcapkit/protocols/internet/mh.py +2764 -0
- pcapkit/protocols/link/NotImplemented/dsl.py +0 -0
- pcapkit/protocols/link/NotImplemented/eapol.py +1 -0
- pcapkit/protocols/link/NotImplemented/fddi.py +0 -0
- pcapkit/protocols/link/NotImplemented/isdn.py +0 -0
- pcapkit/protocols/link/NotImplemented/ndp.py +0 -0
- pcapkit/protocols/link/NotImplemented/ppp.py +0 -0
- pcapkit/protocols/link/__init__.py +35 -0
- pcapkit/protocols/link/arp.py +421 -0
- pcapkit/protocols/link/ethernet.py +248 -0
- pcapkit/protocols/link/l2tp.py +267 -0
- pcapkit/protocols/link/link.py +140 -0
- pcapkit/protocols/link/ospf.py +342 -0
- pcapkit/protocols/link/rarp.py +82 -0
- pcapkit/protocols/link/vlan.py +225 -0
- pcapkit/protocols/misc/__init__.py +37 -0
- pcapkit/protocols/misc/null.py +129 -0
- pcapkit/protocols/misc/pcap/__init__.py +17 -0
- pcapkit/protocols/misc/pcap/frame.py +478 -0
- pcapkit/protocols/misc/pcap/header.py +358 -0
- pcapkit/protocols/misc/pcapng.py +5520 -0
- pcapkit/protocols/misc/raw.py +180 -0
- pcapkit/protocols/protocol.py +1216 -0
- pcapkit/protocols/schema/__init__.py +140 -0
- pcapkit/protocols/schema/application/__init__.py +40 -0
- pcapkit/protocols/schema/application/ftp.py +21 -0
- pcapkit/protocols/schema/application/httpv1.py +21 -0
- pcapkit/protocols/schema/application/httpv2.py +384 -0
- pcapkit/protocols/schema/internet/__init__.py +294 -0
- pcapkit/protocols/schema/internet/ah.py +40 -0
- pcapkit/protocols/schema/internet/hip.py +1184 -0
- pcapkit/protocols/schema/internet/hopopt.py +679 -0
- pcapkit/protocols/schema/internet/ipv4.py +576 -0
- pcapkit/protocols/schema/internet/ipv6.py +63 -0
- pcapkit/protocols/schema/internet/ipv6_frag.py +48 -0
- pcapkit/protocols/schema/internet/ipv6_opts.py +680 -0
- pcapkit/protocols/schema/internet/ipv6_route.py +197 -0
- pcapkit/protocols/schema/internet/ipx.py +40 -0
- pcapkit/protocols/schema/internet/mh.py +718 -0
- pcapkit/protocols/schema/link/__init__.py +19 -0
- pcapkit/protocols/schema/link/arp.py +39 -0
- pcapkit/protocols/schema/link/ethernet.py +51 -0
- pcapkit/protocols/schema/link/l2tp.py +88 -0
- pcapkit/protocols/schema/link/ospf.py +90 -0
- pcapkit/protocols/schema/link/vlan.py +69 -0
- pcapkit/protocols/schema/misc/__init__.py +108 -0
- pcapkit/protocols/schema/misc/null.py +18 -0
- pcapkit/protocols/schema/misc/pcap/__init__.py +10 -0
- pcapkit/protocols/schema/misc/pcap/frame.py +51 -0
- pcapkit/protocols/schema/misc/pcap/header.py +63 -0
- pcapkit/protocols/schema/misc/pcapng.py +1689 -0
- pcapkit/protocols/schema/misc/raw.py +24 -0
- pcapkit/protocols/schema/schema.py +809 -0
- pcapkit/protocols/schema/transport/__init__.py +69 -0
- pcapkit/protocols/schema/transport/tcp.py +928 -0
- pcapkit/protocols/schema/transport/udp.py +90 -0
- pcapkit/protocols/transport/NotImplemented/dccp.py +0 -0
- pcapkit/protocols/transport/NotImplemented/rsvp.py +0 -0
- pcapkit/protocols/transport/NotImplemented/sctp.py +0 -0
- pcapkit/protocols/transport/__init__.py +27 -0
- pcapkit/protocols/transport/tcp.py +3025 -0
- pcapkit/protocols/transport/transport.py +158 -0
- pcapkit/protocols/transport/udp.py +214 -0
- pcapkit/py.typed +0 -0
- pcapkit/toolkit/__init__.py +57 -0
- pcapkit/toolkit/dpkt.py +306 -0
- pcapkit/toolkit/pcap.py +212 -0
- pcapkit/toolkit/pcapng.py +251 -0
- pcapkit/toolkit/pyshark.py +99 -0
- pcapkit/toolkit/scapy.py +297 -0
- pcapkit/utilities/__init__.py +20 -0
- pcapkit/utilities/compat.py +196 -0
- pcapkit/utilities/decorators.py +197 -0
- pcapkit/utilities/exceptions.py +365 -0
- pcapkit/utilities/logging.py +55 -0
- pcapkit/utilities/warnings.py +185 -0
- pcapkit/vendor/__init__.py +105 -0
- pcapkit/vendor/__main__.py +92 -0
- pcapkit/vendor/arp/__init__.py +27 -0
- pcapkit/vendor/arp/hardware.py +29 -0
- pcapkit/vendor/arp/operation.py +29 -0
- pcapkit/vendor/default.py +474 -0
- pcapkit/vendor/ftp/__init__.py +27 -0
- pcapkit/vendor/ftp/command.py +244 -0
- pcapkit/vendor/ftp/return_code.py +256 -0
- pcapkit/vendor/hip/__init__.py +94 -0
- pcapkit/vendor/hip/certificate.py +29 -0
- pcapkit/vendor/hip/cipher.py +29 -0
- pcapkit/vendor/hip/di.py +29 -0
- pcapkit/vendor/hip/ecdsa_curve.py +29 -0
- pcapkit/vendor/hip/ecdsa_low_curve.py +29 -0
- pcapkit/vendor/hip/eddsa_curve.py +85 -0
- pcapkit/vendor/hip/esp_transform_suite.py +29 -0
- pcapkit/vendor/hip/group.py +87 -0
- pcapkit/vendor/hip/hi_algorithm.py +29 -0
- pcapkit/vendor/hip/hit_suite.py +29 -0
- pcapkit/vendor/hip/nat_traversal.py +29 -0
- pcapkit/vendor/hip/notify_message.py +29 -0
- pcapkit/vendor/hip/packet.py +88 -0
- pcapkit/vendor/hip/parameter.py +88 -0
- pcapkit/vendor/hip/registration.py +29 -0
- pcapkit/vendor/hip/registration_failure.py +29 -0
- pcapkit/vendor/hip/suite.py +29 -0
- pcapkit/vendor/hip/transport.py +29 -0
- pcapkit/vendor/http/__init__.py +39 -0
- pcapkit/vendor/http/error_code.py +95 -0
- pcapkit/vendor/http/frame.py +91 -0
- pcapkit/vendor/http/method.py +167 -0
- pcapkit/vendor/http/setting.py +93 -0
- pcapkit/vendor/http/status_code.py +185 -0
- pcapkit/vendor/ipv4/__init__.py +57 -0
- pcapkit/vendor/ipv4/classification_level.py +91 -0
- pcapkit/vendor/ipv4/option_class.py +80 -0
- pcapkit/vendor/ipv4/option_number.py +105 -0
- pcapkit/vendor/ipv4/protection_authority.py +84 -0
- pcapkit/vendor/ipv4/qs_function.py +78 -0
- pcapkit/vendor/ipv4/router_alert.py +93 -0
- pcapkit/vendor/ipv4/tos_del.py +78 -0
- pcapkit/vendor/ipv4/tos_ecn.py +95 -0
- pcapkit/vendor/ipv4/tos_pre.py +84 -0
- pcapkit/vendor/ipv4/tos_rel.py +78 -0
- pcapkit/vendor/ipv4/tos_thr.py +77 -0
- pcapkit/vendor/ipv4/ts_flag.py +79 -0
- pcapkit/vendor/ipv6/__init__.py +53 -0
- pcapkit/vendor/ipv6/extension_header.py +171 -0
- pcapkit/vendor/ipv6/option.py +104 -0
- pcapkit/vendor/ipv6/option_action.py +90 -0
- pcapkit/vendor/ipv6/qs_function.py +78 -0
- pcapkit/vendor/ipv6/router_alert.py +93 -0
- pcapkit/vendor/ipv6/routing.py +87 -0
- pcapkit/vendor/ipv6/seed_id.py +81 -0
- pcapkit/vendor/ipv6/smf_dpd_mode.py +78 -0
- pcapkit/vendor/ipv6/tagger_id.py +81 -0
- pcapkit/vendor/ipx/__init__.py +37 -0
- pcapkit/vendor/ipx/packet.py +123 -0
- pcapkit/vendor/ipx/socket.py +125 -0
- pcapkit/vendor/l2tp/__init__.py +21 -0
- pcapkit/vendor/l2tp/type.py +78 -0
- pcapkit/vendor/mh/__init__.py +204 -0
- pcapkit/vendor/mh/access_type.py +87 -0
- pcapkit/vendor/mh/ack_status_code.py +88 -0
- pcapkit/vendor/mh/ani_suboption.py +88 -0
- pcapkit/vendor/mh/auth_subtype.py +83 -0
- pcapkit/vendor/mh/binding_ack_flag.py +148 -0
- pcapkit/vendor/mh/binding_error.py +78 -0
- pcapkit/vendor/mh/binding_revocation.py +87 -0
- pcapkit/vendor/mh/binding_update_flag.py +147 -0
- pcapkit/vendor/mh/cga_extension.py +91 -0
- pcapkit/vendor/mh/cga_sec.py +91 -0
- pcapkit/vendor/mh/cga_type.py +74 -0
- pcapkit/vendor/mh/dhcp_support_mode.py +77 -0
- pcapkit/vendor/mh/dns_status_code.py +87 -0
- pcapkit/vendor/mh/dsmip6_tls_packet.py +87 -0
- pcapkit/vendor/mh/dsmipv6_home_address.py +87 -0
- pcapkit/vendor/mh/enumerating_algorithm.py +82 -0
- pcapkit/vendor/mh/fb_ack_status.py +87 -0
- pcapkit/vendor/mh/fb_action.py +88 -0
- pcapkit/vendor/mh/fb_indication_trigger.py +87 -0
- pcapkit/vendor/mh/fb_type.py +88 -0
- pcapkit/vendor/mh/flow_id_status.py +87 -0
- pcapkit/vendor/mh/flow_id_suboption.py +87 -0
- pcapkit/vendor/mh/handoff_type.py +87 -0
- pcapkit/vendor/mh/handover_ack_flag.py +143 -0
- pcapkit/vendor/mh/handover_ack_status.py +87 -0
- pcapkit/vendor/mh/handover_initiate_flag.py +143 -0
- pcapkit/vendor/mh/handover_initiate_status.py +87 -0
- pcapkit/vendor/mh/home_address_reply.py +87 -0
- pcapkit/vendor/mh/lla_code.py +97 -0
- pcapkit/vendor/mh/lma_mag_suboption.py +88 -0
- pcapkit/vendor/mh/mn_group_id.py +87 -0
- pcapkit/vendor/mh/mn_id_subtype.py +87 -0
- pcapkit/vendor/mh/operator_id.py +87 -0
- pcapkit/vendor/mh/option.py +83 -0
- pcapkit/vendor/mh/packet.py +82 -0
- pcapkit/vendor/mh/qos_attribute.py +87 -0
- pcapkit/vendor/mh/revocation_status_code.py +87 -0
- pcapkit/vendor/mh/revocation_trigger.py +87 -0
- pcapkit/vendor/mh/status_code.py +91 -0
- pcapkit/vendor/mh/traffic_selector.py +87 -0
- pcapkit/vendor/mh/upa_status.py +87 -0
- pcapkit/vendor/mh/upn_reason.py +87 -0
- pcapkit/vendor/ospf/__init__.py +27 -0
- pcapkit/vendor/ospf/authentication.py +29 -0
- pcapkit/vendor/ospf/packet.py +29 -0
- pcapkit/vendor/pcapng/__init__.py +51 -0
- pcapkit/vendor/pcapng/block_type.py +94 -0
- pcapkit/vendor/pcapng/filter_type.py +77 -0
- pcapkit/vendor/pcapng/hash_algorithm.py +82 -0
- pcapkit/vendor/pcapng/option_type.py +287 -0
- pcapkit/vendor/pcapng/record_type.py +81 -0
- pcapkit/vendor/pcapng/secrets_type.py +81 -0
- pcapkit/vendor/pcapng/verdict_type.py +79 -0
- pcapkit/vendor/reg/__init__.py +34 -0
- pcapkit/vendor/reg/apptype.py +338 -0
- pcapkit/vendor/reg/ethertype.py +121 -0
- pcapkit/vendor/reg/linktype.py +110 -0
- pcapkit/vendor/reg/transtype.py +111 -0
- pcapkit/vendor/tcp/__init__.py +35 -0
- pcapkit/vendor/tcp/checksum.py +80 -0
- pcapkit/vendor/tcp/flags.py +149 -0
- pcapkit/vendor/tcp/mp_tcp_option.py +90 -0
- pcapkit/vendor/tcp/option.py +103 -0
- pcapkit/vendor/vlan/__init__.py +23 -0
- pcapkit/vendor/vlan/priority_level.py +97 -0
- pypcapkit-1.3.5.post6.dist-info/LICENSE +29 -0
- pypcapkit-1.3.5.post6.dist-info/METADATA +238 -0
- pypcapkit-1.3.5.post6.dist-info/RECORD +466 -0
- pypcapkit-1.3.5.post6.dist-info/WHEEL +5 -0
- pypcapkit-1.3.5.post6.dist-info/entry_points.txt +3 -0
- pypcapkit-1.3.5.post6.dist-info/top_level.txt +1 -0
@@ -0,0 +1,890 @@
|
|
1
|
+
# -*- coding: utf-8 -*-
|
2
|
+
# pylint: disable=line-too-long,consider-using-f-string
|
3
|
+
"""Link-Layer Header Type Values
|
4
|
+
===================================
|
5
|
+
|
6
|
+
.. module:: pcapkit.const.reg.linktype
|
7
|
+
|
8
|
+
This module contains the constant enumeration for **Link-Layer Header Type Values**,
|
9
|
+
which is automatically generated from :class:`pcapkit.vendor.reg.linktype.LinkType`.
|
10
|
+
|
11
|
+
"""
|
12
|
+
|
13
|
+
from aenum import IntEnum, extend_enum
|
14
|
+
|
15
|
+
__all__ = ['LinkType']
|
16
|
+
|
17
|
+
|
18
|
+
class LinkType(IntEnum):
|
19
|
+
"""[LinkType] Link-Layer Header Type Values"""
|
20
|
+
|
21
|
+
#: [``DLT_NULL``] BSD loopback encapsulation.
|
22
|
+
NULL = 0
|
23
|
+
|
24
|
+
#: [``DLT_EN10MB``] IEEE 802.3 Ethernet (10Mb, 100Mb, 1000Mb, and up); the 10MB
|
25
|
+
#: in the DLT\_ name is historical.
|
26
|
+
ETHERNET = 1
|
27
|
+
|
28
|
+
#: [``DLT_EN3MB``] Experimental Ethernet (3Mb).
|
29
|
+
EXP_ETHERNET = 2
|
30
|
+
|
31
|
+
#: [``DLT_AX25``] AX.25 packet, with nothing preceding it.
|
32
|
+
AX25 = 3
|
33
|
+
|
34
|
+
#: [``DLT_PRONET``] Reserved for Proteon ProNET Token Ring.
|
35
|
+
PRONET = 4
|
36
|
+
|
37
|
+
#: [``DLT_CHAOS``] Reserved for MIT Chaosnet.
|
38
|
+
CHAOS = 5
|
39
|
+
|
40
|
+
#: [``DLT_IEEE802``] IEEE 802.5 Token Ring; the IEEE802, without \_5, in the
|
41
|
+
#: DLT\_ name is historical.
|
42
|
+
IEEE802_5 = 6
|
43
|
+
|
44
|
+
#: [``DLT_ARCNET``] Reserved for ARCNET Data Packets with BSD encapsulation.
|
45
|
+
ARCNET_BSD = 7
|
46
|
+
|
47
|
+
#: [``DLT_SLIP``] SLIP, with a header giving packet direction
|
48
|
+
SLIP = 8
|
49
|
+
|
50
|
+
#: [``DLT_PPP``] PPP, as per RFC 1661 and RFC 1662; if the first 2 bytes are
|
51
|
+
#: 0xff and 0x03, it's PPP in HDLC-like framing, with the PPP header following
|
52
|
+
#: those two bytes, otherwise it's PPP without framing, and the packet begins
|
53
|
+
#: with the PPP header. The data in the frame is not octet-stuffed or bit-
|
54
|
+
#: stuffed.
|
55
|
+
PPP = 9
|
56
|
+
|
57
|
+
#: [``DLT_FDDI``] FDDI, as specified by ANSI INCITS 239-1994.
|
58
|
+
FDDI = 10
|
59
|
+
|
60
|
+
#: [``DLT_REDBACK_SMARTEDGE``] Redback SmartEdge 400/800.
|
61
|
+
REDBACK_SMARTEDGE = 32
|
62
|
+
|
63
|
+
#: [``DLT_PPP_SERIAL``] PPP in HDLC-like framing, as per RFC 1662, or Cisco PPP
|
64
|
+
#: with HDLC framing, as per section 4.3.1 of RFC 1547; the first byte will be
|
65
|
+
#: 0xFF for PPP in HDLC-like framing, and will be 0x0F or 0x8F for Cisco PPP
|
66
|
+
#: with HDLC framing. The data in the frame is not octet-stuffed or bit-
|
67
|
+
#: stuffed.
|
68
|
+
PPP_HDLC = 50
|
69
|
+
|
70
|
+
#: [``DLT_PPP_ETHER``] PPPoE; the packet begins with a PPPoE header, as per RFC
|
71
|
+
#: 2516.
|
72
|
+
PPP_ETHER = 51
|
73
|
+
|
74
|
+
#: [``DLT_SYMANTEC_FIREWALL``] Symantec Enterprise (ex-Axent Raptor) firewall.
|
75
|
+
SYMANTEC_FIREWALL = 99
|
76
|
+
|
77
|
+
#: [``DLT_ATM_RFC1483``] RFC 1483 LLC/SNAP-encapsulated ATM; the packet begins
|
78
|
+
#: with an ISO 8802-2 (formerly known as IEEE 802.2) LLC header.
|
79
|
+
ATM_RFC1483 = 100
|
80
|
+
|
81
|
+
#: [``DLT_RAW``] Raw IP; the packet begins with an IPv4 or IPv6 header, with
|
82
|
+
#: the version field of the header indicating whether it's an IPv4 or IPv6
|
83
|
+
#: header.
|
84
|
+
RAW = 101
|
85
|
+
|
86
|
+
#: [``DLT_C_HDLC``] Cisco PPP with HDLC framing, as per section 4.3.1 of RFC
|
87
|
+
#: 1547.
|
88
|
+
C_HDLC = 104
|
89
|
+
|
90
|
+
#: [``DLT_IEEE802_11``] IEEE 802.11 wireless LAN.
|
91
|
+
IEEE802_11 = 105
|
92
|
+
|
93
|
+
#: [``DLT_ATM_CLIP``] Linux Classical IP over ATM.
|
94
|
+
ATM_CLIP = 106
|
95
|
+
|
96
|
+
#: [``DLT_FRELAY``] Frame Relay LAPF frames, beginning with a ITU-T
|
97
|
+
#: Recommendation Q.922 LAPF header starting with the address field, and
|
98
|
+
#: without an FCS at the end of the frame.
|
99
|
+
FRELAY = 107
|
100
|
+
|
101
|
+
#: [``DLT_LOOP``] OpenBSD loopback encapsulation.
|
102
|
+
LOOP = 108
|
103
|
+
|
104
|
+
#: [``DLT_ENC``] Encapsulated packets for IPsec.
|
105
|
+
ENC = 109
|
106
|
+
|
107
|
+
#: [``DLT_HDLC``] Cisco HDLC.
|
108
|
+
NETBSD_HDLC = 112
|
109
|
+
|
110
|
+
#: [``DLT_LINUX_SLL``] Linux "cooked" capture encapsulation.
|
111
|
+
LINUX_SLL = 113
|
112
|
+
|
113
|
+
#: [``DLT_LTALK``] Apple LocalTalk; the packet begins with an AppleTalk
|
114
|
+
#: LocalTalk Link Access Protocol header, as described in chapter 1 of Inside
|
115
|
+
#: AppleTalk, Second Edition.
|
116
|
+
LTALK = 114
|
117
|
+
|
118
|
+
#: [``DLT_ECONET``] Acorn Econet.
|
119
|
+
ECONET = 115
|
120
|
+
|
121
|
+
#: [``DLT_IPFILTER``] OpenBSD ipfilter.
|
122
|
+
IPFILTER = 116
|
123
|
+
|
124
|
+
#: [``DLT_PFLOG``] OpenBSD pflog; the link-layer header contains a struct
|
125
|
+
#: pfloghdr structure, as defined by the host on that the file was saved. (This
|
126
|
+
#: differs from operating system to operating system and release to release;
|
127
|
+
#: there is nothing in the file to indicate what the layout of that structure
|
128
|
+
#: is.)
|
129
|
+
PFLOG = 117
|
130
|
+
|
131
|
+
#: [``DLT_CISCO_IOS``] Cisco internal use.
|
132
|
+
CISCO_IOS = 118
|
133
|
+
|
134
|
+
#: [``DLT_PRISM_HEADER``] Prism monitor mode information, followed by an 802.11
|
135
|
+
#: frame.
|
136
|
+
IEEE802_11_PRISM = 119
|
137
|
+
|
138
|
+
#: [``DLT_AIRONET_HEADER``] Reserved for Aironet 802.11 cards, with an Aironet
|
139
|
+
#: link-layer header.
|
140
|
+
AIRONET_HEADER = 120
|
141
|
+
|
142
|
+
#: [``DLT_IP_OVER_FC``] RFC 2625 IP-over-Fibre Channel, with the link-layer
|
143
|
+
#: header being the Network\_Header as described in that RFC.
|
144
|
+
IP_OVER_FC = 122
|
145
|
+
|
146
|
+
#: [``DLT_SUNATM``] ATM traffic captured from a SunATM device.
|
147
|
+
SUNATM = 123
|
148
|
+
|
149
|
+
#: [``DLT_RIO``] RapidIO.
|
150
|
+
RIO = 124
|
151
|
+
|
152
|
+
#: [``DLT_PCI_EXP``] PCI Express.
|
153
|
+
PCI_EXP = 125
|
154
|
+
|
155
|
+
#: [``DLT_AURORA``] Xilinx Aurora.
|
156
|
+
AURORA = 126
|
157
|
+
|
158
|
+
#: [``DLT_IEEE802_11_RADIO``] Radiotap link-layer information followed by an
|
159
|
+
#: 802.11 header.
|
160
|
+
IEEE802_11_RADIOTAP = 127
|
161
|
+
|
162
|
+
#: [``DLT_TZSP``] Tazmen Sniffer Protocol (TZSP) is a generic encapsulation for
|
163
|
+
#: any other link type, which includes a means to include meta-information with
|
164
|
+
#: the packet, e.g. signal strength and channel for 802.11 packets.
|
165
|
+
TZSP = 128
|
166
|
+
|
167
|
+
#: [``DLT_ARCNET_LINUX``] Reserved for ARCNET Data Packets with Linux
|
168
|
+
#: encapsulation.
|
169
|
+
ARCNET_LINUX = 129
|
170
|
+
|
171
|
+
#: [``DLT_JUNIPER_MLPPP``] Juniper Networks private data link type.
|
172
|
+
JUNIPER_MLPPP = 130
|
173
|
+
|
174
|
+
#: [``DLT_JUNIPER_MLFR``] Juniper Networks private data link type.
|
175
|
+
JUNIPER_MLFR = 131
|
176
|
+
|
177
|
+
#: [``DLT_JUNIPER_ES``] Juniper Networks private data link type.
|
178
|
+
JUNIPER_ES = 132
|
179
|
+
|
180
|
+
#: [``DLT_JUNIPER_GGSN``] Juniper Networks private data link type.
|
181
|
+
JUNIPER_GGSN = 133
|
182
|
+
|
183
|
+
#: [``DLT_JUNIPER_MFR``] Juniper Networks private data link type.
|
184
|
+
JUNIPER_MFR = 134
|
185
|
+
|
186
|
+
#: [``DLT_JUNIPER_ATM2``] Juniper Networks private data link type.
|
187
|
+
JUNIPER_ATM2 = 135
|
188
|
+
|
189
|
+
#: [``DLT_JUNIPER_SERVICES``] Juniper Networks private data link type.
|
190
|
+
JUNIPER_SERVICES = 136
|
191
|
+
|
192
|
+
#: [``DLT_JUNIPER_ATM1``] Juniper Networks private data link type.
|
193
|
+
JUNIPER_ATM1 = 137
|
194
|
+
|
195
|
+
#: [``DLT_APPLE_IP_OVER_IEEE1394``] Apple IP-over-IEEE 1394 cooked header.
|
196
|
+
APPLE_IP_OVER_IEEE1394 = 138
|
197
|
+
|
198
|
+
#: [``DLT_MTP2_WITH_PHDR``] Signaling System 7 Message Transfer Part Level 2,
|
199
|
+
#: as specified by ITU-T Recommendation Q.703, preceded by a pseudo-header.
|
200
|
+
MTP2_WITH_PHDR = 139
|
201
|
+
|
202
|
+
#: [``DLT_MTP2``] Signaling System 7 Message Transfer Part Level 2, as
|
203
|
+
#: specified by ITU-T Recommendation Q.703.
|
204
|
+
MTP2 = 140
|
205
|
+
|
206
|
+
#: [``DLT_MTP3``] Signaling System 7 Message Transfer Part Level 3, as
|
207
|
+
#: specified by ITU-T Recommendation Q.704, with no MTP2 header preceding the
|
208
|
+
#: MTP3 packet.
|
209
|
+
MTP3 = 141
|
210
|
+
|
211
|
+
#: [``DLT_SCCP``] Signaling System 7 Signalling Connection Control Part, as
|
212
|
+
#: specified by ITU-T Recommendation Q.711, ITU-T Recommendation Q.712, ITU-T
|
213
|
+
#: Recommendation Q.713, and ITU-T Recommendation Q.714, with no MTP3 or MTP2
|
214
|
+
#: headers preceding the SCCP packet.
|
215
|
+
SCCP = 142
|
216
|
+
|
217
|
+
#: [``DLT_DOCSIS``] DOCSIS MAC frames, as described by the DOCSIS 4.0 MAC and
|
218
|
+
#: Upper Layer Protocols Interface Specification or earlier specifications for
|
219
|
+
#: MAC frames.
|
220
|
+
DOCSIS = 143
|
221
|
+
|
222
|
+
#: [``DLT_LINUX_IRDA``] Linux-IrDA packets
|
223
|
+
LINUX_IRDA = 144
|
224
|
+
|
225
|
+
#: [``DLT_IBM_SP``] IBM SP switch.
|
226
|
+
IBM_SP = 145
|
227
|
+
|
228
|
+
#: [``DLT_IBM_SN``] IBM Next Federation switch.
|
229
|
+
IBM_SN = 146
|
230
|
+
|
231
|
+
#: [``DLT_USER0``] Reserved for private use; see above.
|
232
|
+
USER0 = 147
|
233
|
+
|
234
|
+
#: [``DLT_USER1``] Reserved for private use; see above.
|
235
|
+
USER1 = 148
|
236
|
+
|
237
|
+
#: [``DLT_USER2``] Reserved for private use; see above.
|
238
|
+
USER2 = 149
|
239
|
+
|
240
|
+
#: [``DLT_USER3``] Reserved for private use; see above.
|
241
|
+
USER3 = 150
|
242
|
+
|
243
|
+
#: [``DLT_USER4``] Reserved for private use; see above.
|
244
|
+
USER4 = 151
|
245
|
+
|
246
|
+
#: [``DLT_USER5``] Reserved for private use; see above.
|
247
|
+
USER5 = 152
|
248
|
+
|
249
|
+
#: [``DLT_USER6``] Reserved for private use; see above.
|
250
|
+
USER6 = 153
|
251
|
+
|
252
|
+
#: [``DLT_USER7``] Reserved for private use; see above.
|
253
|
+
USER7 = 154
|
254
|
+
|
255
|
+
#: [``DLT_USER8``] Reserved for private use; see above.
|
256
|
+
USER8 = 155
|
257
|
+
|
258
|
+
#: [``DLT_USER9``] Reserved for private use; see above.
|
259
|
+
USER9 = 156
|
260
|
+
|
261
|
+
#: [``DLT_USER10``] Reserved for private use; see above.
|
262
|
+
USER10 = 157
|
263
|
+
|
264
|
+
#: [``DLT_USER11``] Reserved for private use; see above.
|
265
|
+
USER11 = 158
|
266
|
+
|
267
|
+
#: [``DLT_USER12``] Reserved for private use; see above.
|
268
|
+
USER12 = 159
|
269
|
+
|
270
|
+
#: [``DLT_USER13``] Reserved for private use; see above.
|
271
|
+
USER13 = 160
|
272
|
+
|
273
|
+
#: [``DLT_USER14``] Reserved for private use; see above.
|
274
|
+
USER14 = 161
|
275
|
+
|
276
|
+
#: [``DLT_USER15``] Reserved for private use; see above.
|
277
|
+
USER15 = 162
|
278
|
+
|
279
|
+
#: [``DLT_IEEE802_11_RADIO_AVS``] AVS monitor mode information followed by an
|
280
|
+
#: 802.11 header.
|
281
|
+
IEEE802_11_AVS = 163
|
282
|
+
|
283
|
+
#: [``DLT_JUNIPER_MONITOR``] Juniper Networks private data link type.
|
284
|
+
JUNIPER_MONITOR = 164
|
285
|
+
|
286
|
+
#: [``DLT_BACNET_MS_TP``] BACnet MS/TP frames, as specified by section 9.3
|
287
|
+
#: MS/TP Frame Format of ANSI/ASHRAE Standard 135, BACnet® - A Data
|
288
|
+
#: Communication Protocol for Building Automation and Control Networks,
|
289
|
+
#: including the preamble and, if present, the Data CRC.
|
290
|
+
BACNET_MS_TP = 165
|
291
|
+
|
292
|
+
#: [``DLT_PPP_PPPD``] PPP in HDLC-like encapsulation, like LINKTYPE\_PPP\_HDLC,
|
293
|
+
#: but with the 0xff address byte replaced by a direction indication—0x00 for
|
294
|
+
#: incoming and 0x01 for outgoing.
|
295
|
+
PPP_PPPD = 166
|
296
|
+
|
297
|
+
#: [``DLT_JUNIPER_PPPOE``] Juniper Networks private data link type.
|
298
|
+
JUNIPER_PPPOE = 167
|
299
|
+
|
300
|
+
#: [``DLT_JUNIPER_PPPOE_ATM``] Juniper Networks private data link type.
|
301
|
+
JUNIPER_PPPOE_ATM = 168
|
302
|
+
|
303
|
+
#: [``DLT_GPRS_LLC``] General Packet Radio Service Logical Link Control, as
|
304
|
+
#: defined by 3GPP TS 04.64.
|
305
|
+
GPRS_LLC = 169
|
306
|
+
|
307
|
+
#: [``DLT_GPF_T``] Transparent-mapped generic framing procedure, as specified
|
308
|
+
#: by ITU-T Recommendation G.7041/Y.1303.
|
309
|
+
GPF_T = 170
|
310
|
+
|
311
|
+
#: [``DLT_GPF_F``] Frame-mapped generic framing procedure, as specified by
|
312
|
+
#: ITU-T Recommendation G.7041/Y.1303.
|
313
|
+
GPF_F = 171
|
314
|
+
|
315
|
+
#: [``DLT_GCOM_T1E1``] Gcom's T1/E1 line monitoring equipment.
|
316
|
+
GCOM_T1E1 = 172
|
317
|
+
|
318
|
+
#: [``DLT_GCOM_SERIAL``] Gcom's T1/E1 line monitoring equipment.
|
319
|
+
GCOM_SERIAL = 173
|
320
|
+
|
321
|
+
#: [``DLT_JUNIPER_PIC_PEER``] Juniper Networks private data link type.
|
322
|
+
JUNIPER_PIC_PEER = 174
|
323
|
+
|
324
|
+
#: [``DLT_ERF_ETH``] An ERF header followed by Ethernet.
|
325
|
+
ERF_ETH = 175
|
326
|
+
|
327
|
+
#: [``DLT_ERF_POS``] An ERF header followed by Packet-over-SONET.
|
328
|
+
ERF_POS = 176
|
329
|
+
|
330
|
+
#: [``DLT_LINUX_LAPD``] Linux vISDN LAPD frames
|
331
|
+
LINUX_LAPD = 177
|
332
|
+
|
333
|
+
#: [``DLT_JUNIPER_ETHER``] Juniper Networks private data link type. Ethernet
|
334
|
+
#: frames prepended with meta-information.
|
335
|
+
JUNIPER_ETHER = 178
|
336
|
+
|
337
|
+
#: [``DLT_JUNIPER_PPP``] Juniper Networks private data link type. PPP frames
|
338
|
+
#: prepended with meta-information.
|
339
|
+
JUNIPER_PPP = 179
|
340
|
+
|
341
|
+
#: [``DLT_JUNIPER_FRELAY``] Juniper Networks private data link type. Frame
|
342
|
+
#: Relay frames prepended with meta-information.
|
343
|
+
JUNIPER_FRELAY = 180
|
344
|
+
|
345
|
+
#: [``DLT_JUNIPER_CHDLC``] Juniper Networks private data link type. C-HDLC
|
346
|
+
#: frames prepended with meta-information.
|
347
|
+
JUNIPER_CHDLC = 181
|
348
|
+
|
349
|
+
#: [``DLT_MFR``] FRF.16.1 Multi-Link Frame Relay frames, beginning with an
|
350
|
+
#: FRF.12 Interface fragmentation format fragmentation header.
|
351
|
+
MFR = 182
|
352
|
+
|
353
|
+
#: [``DLT_JUNIPER_VP``] Juniper Networks private data link type.
|
354
|
+
JUNIPER_VP = 183
|
355
|
+
|
356
|
+
#: [``DLT_A429``] ARINC 429 frames. Every frame contains a 32-bit A429 word, in
|
357
|
+
#: little-endian format.
|
358
|
+
A429 = 184
|
359
|
+
|
360
|
+
#: [``DLT_A653_ICM``] ARINC 653 interpartition communication messages. Please
|
361
|
+
#: refer to the A653-1 standard for more information.
|
362
|
+
A653_ICM = 185
|
363
|
+
|
364
|
+
#: [``DLT_USB_FREEBSD``] USB with FreeBSD header.
|
365
|
+
USB_FREEBSD = 186
|
366
|
+
|
367
|
+
#: [``DLT_BLUETOOTH_HCI_H4``] Bluetooth HCI UART transport layer; the frame
|
368
|
+
#: contains an HCI packet indicator byte, as specified by the UART Transport
|
369
|
+
#: Layer portion of the most recent Bluetooth Core specification, followed by
|
370
|
+
#: an HCI packet of the specified packet type, as specified by the Host
|
371
|
+
#: Controller Interface Functional Specification portion of the most recent
|
372
|
+
#: Bluetooth Core Specification.
|
373
|
+
BLUETOOTH_HCI_H4 = 187
|
374
|
+
|
375
|
+
#: [``DLT_IEEE802_16_MAC_CPS``] IEEE 802.16 MAC Common Part Sublayer.
|
376
|
+
IEEE802_16_MAC_CPS = 188
|
377
|
+
|
378
|
+
#: [``DLT_USB_LINUX``] USB packets, beginning with a Linux USB header, as
|
379
|
+
#: specified by the struct usbmon\_packet in the Documentation/usb/usbmon.txt
|
380
|
+
#: file in the Linux source tree. Only the first 48 bytes of that header are
|
381
|
+
#: present. All fields in the header are in host byte order. When performing a
|
382
|
+
#: live capture, the host byte order is the byte order of the machine on that
|
383
|
+
#: the packets are captured. When reading a pcap file, the byte order is the
|
384
|
+
#: byte order for the file, as specified by the file's magic number; when
|
385
|
+
#: reading a pcapng file, the byte order is the byte order for the section of
|
386
|
+
#: the pcapng file, as specified by the Section Header Block.
|
387
|
+
USB_LINUX = 189
|
388
|
+
|
389
|
+
#: [``DLT_CAN20B``] Controller Area Network (CAN) v. 2.0B.
|
390
|
+
CAN20B = 190
|
391
|
+
|
392
|
+
#: [``DLT_IEEE802_15_4_LINUX``] IEEE 802.15.4, with address fields padded, as
|
393
|
+
#: is done by Linux drivers.
|
394
|
+
IEEE802_15_4_LINUX = 191
|
395
|
+
|
396
|
+
#: [``DLT_PPI``] Per-Packet Information information, as specified by the Per-
|
397
|
+
#: Packet Information Header Specification, followed by a packet with the
|
398
|
+
#: LINKTYPE\_ value specified by the pph\_dlt field of that header.
|
399
|
+
PPI = 192
|
400
|
+
|
401
|
+
#: [``DLT_IEEE802_16_MAC_CPS_RADIO``] IEEE 802.16 MAC Common Part Sublayer plus
|
402
|
+
#: radiotap header.
|
403
|
+
IEEE802_16_MAC_CPS_RADIO = 193
|
404
|
+
|
405
|
+
#: [``DLT_JUNIPER_ISM``] Juniper Networks private data link type.
|
406
|
+
JUNIPER_ISM = 194
|
407
|
+
|
408
|
+
#: [``DLT_IEEE802_15_4_WITHFCS``] IEEE 802.15.4 Low-Rate Wireless Networks,
|
409
|
+
#: with each packet having the FCS at the end of the frame.
|
410
|
+
IEEE802_15_4_WITHFCS = 195
|
411
|
+
|
412
|
+
#: [``DLT_SITA``] Various link-layer types, with a pseudo-header, for SITA.
|
413
|
+
SITA = 196
|
414
|
+
|
415
|
+
#: [``DLT_ERF``] Various link-layer types, with a pseudo-header, for Endace DAG
|
416
|
+
#: cards; encapsulates Endace ERF records.
|
417
|
+
ERF = 197
|
418
|
+
|
419
|
+
#: [``DLT_RAIF1``] Special header prepended to Ethernet packets when capturing
|
420
|
+
#: from a u10 Networks board.
|
421
|
+
RAIF1 = 198
|
422
|
+
|
423
|
+
#: [``DLT_IPMB_KONTRON``] IPMB packet for IPMI, beginning with a 2-byte header,
|
424
|
+
#: followed by the I2C slave address, followed by the netFn and LUN, etc…
|
425
|
+
IPMB_KONTRON = 199
|
426
|
+
|
427
|
+
#: [``DLT_JUNIPER_ST``] Juniper Networks private data link type.
|
428
|
+
JUNIPER_ST = 200
|
429
|
+
|
430
|
+
#: [``DLT_BLUETOOTH_HCI_H4_WITH_PHDR``] Bluetooth HCI UART transport layer; the
|
431
|
+
#: frame contains a 4-byte direction field, in network byte order (big-endian),
|
432
|
+
#: the low-order bit of which is set if the frame was sent from the host to the
|
433
|
+
#: controller and clear if the frame was received by the host from the
|
434
|
+
#: controller, followed by an HCI packet indicator byte, as specified by the
|
435
|
+
#: UART Transport Layer portion of the most recent Bluetooth Core
|
436
|
+
#: specification, followed by an HCI packet of the specified packet type, as
|
437
|
+
#: specified by the Host Controller Interface Functional Specification portion
|
438
|
+
#: of the most recent Bluetooth Core Specification.
|
439
|
+
BLUETOOTH_HCI_H4_WITH_PHDR = 201
|
440
|
+
|
441
|
+
#: [``DLT_AX25_KISS``] AX.25 packet, with a 1-byte KISS header containing a
|
442
|
+
#: type indicator.
|
443
|
+
AX25_KISS = 202
|
444
|
+
|
445
|
+
#: [``DLT_LAPD``] Link Access Procedures on the D Channel (LAPD) frames, as
|
446
|
+
#: specified by ITU-T Recommendation Q.920 and ITU-T Recommendation Q.921,
|
447
|
+
#: starting with the address field, with no pseudo-header.
|
448
|
+
LAPD = 203
|
449
|
+
|
450
|
+
#: [``DLT_PPP_WITH_DIR``] PPP, as per RFC 1661 and RFC 1662, preceded with a
|
451
|
+
#: one-byte pseudo-header with a zero value meaning "received by this host" and
|
452
|
+
#: a non-zero value meaning "sent by this host"; if the first 2 bytes are 0xff
|
453
|
+
#: and 0x03, it's PPP in HDLC-like framing, with the PPP header following those
|
454
|
+
#: two bytes, otherwise it's PPP without framing, and the packet begins with
|
455
|
+
#: the PPP header. The data in the frame is not octet-stuffed or bit-stuffed.
|
456
|
+
PPP_WITH_DIR = 204
|
457
|
+
|
458
|
+
#: [``DLT_C_HDLC_WITH_DIR``] Cisco PPP with HDLC framing, as per section 4.3.1
|
459
|
+
#: of RFC 1547, preceded with a one-byte pseudo-header with a zero value
|
460
|
+
#: meaning "received by this host" and a non-zero value meaning "sent by this
|
461
|
+
#: host".
|
462
|
+
C_HDLC_WITH_DIR = 205
|
463
|
+
|
464
|
+
#: [``DLT_FRELAY_WITH_DIR``] Frame Relay LAPF frames, beginning with a one-byte
|
465
|
+
#: pseudo-header with a zero value meaning "received by this host" (DCE⇒DTE)
|
466
|
+
#: and a non-zero value meaning "sent by this host" (DTE⇒DCE), followed by an
|
467
|
+
#: ITU-T Recommendation Q.922 LAPF header starting with the address field, and
|
468
|
+
#: without an FCS at the end of the frame.
|
469
|
+
FRELAY_WITH_DIR = 206
|
470
|
+
|
471
|
+
#: [``DLT_LAPB_WITH_DIR``] Link Access Procedure, Balanced (LAPB), as specified
|
472
|
+
#: by ITU-T Recommendation X.25, preceded with a one-byte pseudo-header with a
|
473
|
+
#: zero value meaning "received by this host" (DCE⇒DTE) and a non-zero value
|
474
|
+
#: meaning "sent by this host" (DTE⇒DCE).
|
475
|
+
LAPB_WITH_DIR = 207
|
476
|
+
|
477
|
+
#: [``DLT_IPMB_LINUX``] Legacy names (do not use) for Linux I2C below.
|
478
|
+
IPMB_LINUX = 209
|
479
|
+
|
480
|
+
#: [``DLT_I2C_LINUX``] Linux I2C packets.
|
481
|
+
I2C_LINUX = 209
|
482
|
+
|
483
|
+
#: [``DLT_FLEXRAY``] FlexRay automotive bus frames or symbols, preceded by a
|
484
|
+
#: pseudo-header
|
485
|
+
FLEXRAY = 210
|
486
|
+
|
487
|
+
#: [``DLT_MOST``] Media Oriented Systems Transport (MOST) bus for multimedia
|
488
|
+
#: transport.
|
489
|
+
MOST = 211
|
490
|
+
|
491
|
+
#: [``DLT_LIN``] Local Interconnect Network (LIN) automotive bus, preceded by a
|
492
|
+
#: pseudo-header
|
493
|
+
LIN = 212
|
494
|
+
|
495
|
+
#: [``DLT_X2E_SERIAL``] X2E-private data link type used for serial line
|
496
|
+
#: capture.
|
497
|
+
X2E_SERIAL = 213
|
498
|
+
|
499
|
+
#: [``DLT_X2E_XORAYA``] X2E-private data link type used for the Xoraya data
|
500
|
+
#: logger family.
|
501
|
+
X2E_XORAYA = 214
|
502
|
+
|
503
|
+
#: [``DLT_IEEE802_15_4_NONASK_PHY``] IEEE 802.15.4 Low-Rate Wireless Networks,
|
504
|
+
#: with each packet having the FCS at the end of the frame, and with the PHY-
|
505
|
+
#: level data for the O-QPSK, BPSK, GFSK, MSK, and RCC DSS BPSK PHYs (4 octets
|
506
|
+
#: of 0 as preamble, one octet of SFD, one octet of frame length + reserved
|
507
|
+
#: bit) preceding the MAC-layer data (starting with the frame control field).
|
508
|
+
IEEE802_15_4_NONASK_PHY = 215
|
509
|
+
|
510
|
+
#: [``DLT_LINUX_EVDEV``] Linux evdev events from /dev/input/eventN devices.
|
511
|
+
LINUX_EVDEV = 216
|
512
|
+
|
513
|
+
#: [``DLT_GSMTAP_UM``] GSM Um interface, preceded by a "gsmtap" header.
|
514
|
+
GSMTAP_UM = 217
|
515
|
+
|
516
|
+
#: [``DLT_GSMTAP_ABIS``] GSM Abis interface, preceded by a "gsmtap" header.
|
517
|
+
GSMTAP_ABIS = 218
|
518
|
+
|
519
|
+
#: [``DLT_MPLS``] MPLS, with an MPLS label as the link-layer header.
|
520
|
+
MPLS = 219
|
521
|
+
|
522
|
+
#: [``DLT_USB_LINUX_MMAPPED``] USB packets, beginning with a Linux USB header,
|
523
|
+
#: as specified by the struct usbmon\_packet in the
|
524
|
+
#: Documentation/usb/usbmon.txt file in the Linux source tree. All 64 bytes of
|
525
|
+
#: the header are present. All fields in the header are in host byte order.
|
526
|
+
#: When performing a live capture, the host byte order is the byte order of the
|
527
|
+
#: machine on that the packets are captured. When reading a pcap file, the byte
|
528
|
+
#: order is the byte order for the file, as specified by the file's magic
|
529
|
+
#: number; when reading a pcapng file, the byte order is the byte order for the
|
530
|
+
#: section of the pcapng file, as specified by the Section Header Block. For
|
531
|
+
#: isochronous transfers, the ndesc field specifies the number of isochronous
|
532
|
+
#: descriptors that follow.
|
533
|
+
USB_LINUX_MMAPPED = 220
|
534
|
+
|
535
|
+
#: [``DLT_DECT``] DECT packets, with a pseudo-header.
|
536
|
+
DECT = 221
|
537
|
+
|
538
|
+
#: [``DLT_AOS``] AOS Space Data Link Protocol.
|
539
|
+
AOS = 222
|
540
|
+
|
541
|
+
#: [``DLT_WIHART``] WirelessHART (Highway Addressable Remote Transducer) from
|
542
|
+
#: the HART Communication Foundation (IEC/PAS 62591).
|
543
|
+
WIHART = 223
|
544
|
+
|
545
|
+
#: [``DLT_FC_2``] Fibre Channel FC-2 frames, beginning with a Frame\_Header.
|
546
|
+
FC_2 = 224
|
547
|
+
|
548
|
+
#: [``DLT_FC_2_WITH_FRAME_DELIMS``] Fibre Channel FC-2 frames, beginning an
|
549
|
+
#: encoding of the SOF, followed by a Frame\_Header, and ending with an
|
550
|
+
#: encoding of the SOF. The encodings represent the frame delimiters as 4-byte
|
551
|
+
#: sequences representing the corresponding ordered sets, with K28.5
|
552
|
+
#: represented as 0xBC, and the D symbols as the corresponding byte values; for
|
553
|
+
#: example, SOFi2, which is K28.5 - D21.5 - D1.2 - D21.2, is represented as
|
554
|
+
#: 0xBC 0xB5 0x55 0x55.
|
555
|
+
FC_2_WITH_FRAME_DELIMS = 225
|
556
|
+
|
557
|
+
#: [``DLT_IPNET``] Solaris ipnet
|
558
|
+
IPNET = 226
|
559
|
+
|
560
|
+
#: [``DLT_CAN_SOCKETCAN``] CAN (Controller Area Network) frames, with a pseudo-
|
561
|
+
#: header followed by the frame payload.
|
562
|
+
CAN_SOCKETCAN = 227
|
563
|
+
|
564
|
+
#: [``DLT_IPV4``] Raw IPv4; the packet begins with an IPv4 header.
|
565
|
+
IPV4 = 228
|
566
|
+
|
567
|
+
#: [``DLT_IPV6``] Raw IPv6; the packet begins with an IPv6 header.
|
568
|
+
IPV6 = 229
|
569
|
+
|
570
|
+
#: [``DLT_IEEE802_15_4_NOFCS``] IEEE 802.15.4 Low-Rate Wireless Network,
|
571
|
+
#: without the FCS at the end of the frame.
|
572
|
+
IEEE802_15_4_NOFCS = 230
|
573
|
+
|
574
|
+
#: [``DLT_DBUS``] Raw D-Bus messages, starting with the endianness flag,
|
575
|
+
#: followed by the message type, etc., but without the authentication handshake
|
576
|
+
#: before the message sequence.
|
577
|
+
DBUS = 231
|
578
|
+
|
579
|
+
#: [``DLT_JUNIPER_VS``] Juniper Networks private data link type.
|
580
|
+
JUNIPER_VS = 232
|
581
|
+
|
582
|
+
#: [``DLT_JUNIPER_SRX_E2E``] Juniper Networks private data link type.
|
583
|
+
JUNIPER_SRX_E2E = 233
|
584
|
+
|
585
|
+
#: [``DLT_JUNIPER_FIBRECHANNEL``] Juniper Networks private data link type.
|
586
|
+
JUNIPER_FIBRECHANNEL = 234
|
587
|
+
|
588
|
+
#: [``DLT_DVB_CI``] DVB-CI messages, with the message format specified by the
|
589
|
+
#: PCAP format for DVB-CI specification.
|
590
|
+
DVB_CI = 235
|
591
|
+
|
592
|
+
#: [``DLT_MUX27010``] Variant of 3GPP TS 27.010 multiplexing protocol (similar
|
593
|
+
#: to, but not the same as, 27.010).
|
594
|
+
MUX27010 = 236
|
595
|
+
|
596
|
+
#: [``DLT_STANAG_5066_D_PDU``] D\_PDUs as described by NATO standard STANAG
|
597
|
+
#: 5066, starting with the synchronization sequence, and including both header
|
598
|
+
#: and data CRCs. The current version of STANAG 5066 is backwards-compatible
|
599
|
+
#: with the 1.0.2 version, although newer versions are classified.
|
600
|
+
STANAG_5066_D_PDU = 237
|
601
|
+
|
602
|
+
#: [``DLT_JUNIPER_ATM_CEMIC``] Juniper Networks private data link type.
|
603
|
+
JUNIPER_ATM_CEMIC = 238
|
604
|
+
|
605
|
+
#: [``DLT_NFLOG``] Linux netlink NETLINK NFLOG socket log messages.
|
606
|
+
NFLOG = 239
|
607
|
+
|
608
|
+
#: [``DLT_NETANALYZER``] Ethernet frames, preceded by a Hilscher netANALYZER
|
609
|
+
#: pseudo-header.
|
610
|
+
NETANALYZER = 240
|
611
|
+
|
612
|
+
#: [``DLT_NETANALYZER_TRANSPARENT``] Ethernet frames, including the preamble
|
613
|
+
#: and SFD, preceded by a Hilscher netANALYZER pseudo-header.
|
614
|
+
NETANALYZER_TRANSPARENT = 241
|
615
|
+
|
616
|
+
#: [``DLT_IPOIB``] IP-over-InfiniBand, as specified by RFC 4391 section 6.
|
617
|
+
IPOIB = 242
|
618
|
+
|
619
|
+
#: [``DLT_MPEG_2_TS``] MPEG-2 Transport Stream transport packets, as specified
|
620
|
+
#: by ISO 13818-1/ITU-T Recommendation H.222.0 (see table 2-2 of section
|
621
|
+
#: 2.4.3.2 "Transport Stream packet layer").
|
622
|
+
MPEG_2_TS = 243
|
623
|
+
|
624
|
+
#: [``DLT_NG40``] Frames from ng4T GmbH's ng40 protocol tester.
|
625
|
+
NG40 = 244
|
626
|
+
|
627
|
+
#: [``DLT_NFC_LLCP``] NFC Logical Link Control Protocol frames, with a pseudo-
|
628
|
+
#: header.
|
629
|
+
NFC_LLCP = 245
|
630
|
+
|
631
|
+
#: Packet filter state syncing.
|
632
|
+
PFSYNC = 246
|
633
|
+
|
634
|
+
#: [``DLT_INFINIBAND``] Raw InfiniBand frames, starting with the Local Routing
|
635
|
+
#: Header, as specified in Chapter 5 "Data packet format" of InfiniBand™
|
636
|
+
#: Architecture Specification Release 1.2.1 Volume 1 - General Specifications.
|
637
|
+
INFINIBAND = 247
|
638
|
+
|
639
|
+
#: [``DLT_SCTP``] SCTP packets, as defined by RFC 4960, with no lower-level
|
640
|
+
#: protocols such as IPv4 or IPv6.
|
641
|
+
SCTP = 248
|
642
|
+
|
643
|
+
#: [``DLT_USBPCAP``] USB packets, beginning with a USBPcap header.
|
644
|
+
USBPCAP = 249
|
645
|
+
|
646
|
+
#: [``DLT_RTAC_SERIAL``] Serial-line packets from the Schweitzer Engineering
|
647
|
+
#: Laboratories "RTAC" product.
|
648
|
+
RTAC_SERIAL = 250
|
649
|
+
|
650
|
+
#: [``DLT_BLUETOOTH_LE_LL``] Bluetooth Low Energy air interface Link Layer
|
651
|
+
#: packets, in the format described in section 2.1 "PACKET FORMAT" of volume 6
|
652
|
+
#: of the Bluetooth Specification Version 4.0 (see PDF page 2200), but without
|
653
|
+
#: the Preamble.
|
654
|
+
BLUETOOTH_LE_LL = 251
|
655
|
+
|
656
|
+
#: [``DLT_WIRESHARK_UPPER_PDU``] Upper-protocol layer PDU saves from Wireshark;
|
657
|
+
#: the actual contents are determined by two tags, one or more of which is
|
658
|
+
#: stored with each packet.
|
659
|
+
WIRESHARK_UPPER_PDU = 252
|
660
|
+
|
661
|
+
#: [``DLT_NETLINK``] Linux Netlink capture encapsulation.
|
662
|
+
NETLINK = 253
|
663
|
+
|
664
|
+
#: [``DLT_BLUETOOTH_LINUX_MONITOR``] Bluetooth Linux Monitor encapsulation of
|
665
|
+
#: traffic for the BlueZ stack.
|
666
|
+
BLUETOOTH_LINUX_MONITOR = 254
|
667
|
+
|
668
|
+
#: [``DLT_BLUETOOTH_BREDR_BB``] Bluetooth Basic Rate and Enhanced Data Rate
|
669
|
+
#: baseband packets.
|
670
|
+
BLUETOOTH_BREDR_BB = 255
|
671
|
+
|
672
|
+
#: [``DLT_BLUETOOTH_LE_LL_WITH_PHDR``] Bluetooth Low Energy link-layer packets.
|
673
|
+
BLUETOOTH_LE_LL_WITH_PHDR = 256
|
674
|
+
|
675
|
+
#: [``DLT_PROFIBUS_DL``] PROFIBUS data link layer packets, as specified by IEC
|
676
|
+
#: standard 61158-4-3, beginning with the start delimiter, ending with the end
|
677
|
+
#: delimiter, and including all octets between them.
|
678
|
+
PROFIBUS_DL = 257
|
679
|
+
|
680
|
+
#: [``DLT_PKTAP``] Apple PKTAP capture encapsulation.
|
681
|
+
PKTAP = 258
|
682
|
+
|
683
|
+
#: [``DLT_EPON``] Ethernet-over-passive-optical-network packets, starting with
|
684
|
+
#: the last 6 octets of the modified preamble as specified by 65.1.3.2
|
685
|
+
#: "Transmit" in Clause 65 of Section 5 of IEEE 802.3, followed immediately by
|
686
|
+
#: an Ethernet frame.
|
687
|
+
EPON = 259
|
688
|
+
|
689
|
+
#: [``DLT_IPMI_HPM_2``] IPMI trace packets, as specified by Table 3-20 "Trace
|
690
|
+
#: Data Block Format" in the PICMG HPM.2 specification. The time stamps for
|
691
|
+
#: packets in this format must match the time stamps in the Trace Data Blocks.
|
692
|
+
IPMI_HPM_2 = 260
|
693
|
+
|
694
|
+
#: [``DLT_ZWAVE_R1_R2``] Z-Wave RF profile R1 and R2 packets, as specified by
|
695
|
+
#: ITU-T Recommendation G.9959, with some MAC layer fields moved.
|
696
|
+
ZWAVE_R1_R2 = 261
|
697
|
+
|
698
|
+
#: [``DLT_ZWAVE_R3``] Z-Wave RF profile R3 packets, as specified by ITU-T
|
699
|
+
#: Recommendation G.9959, with some MAC layer fields moved.
|
700
|
+
ZWAVE_R3 = 262
|
701
|
+
|
702
|
+
#: [``DLT_WATTSTOPPER_DLM``] WattStopper Digital Lighting Management (DLM) and
|
703
|
+
#: Legrand Nitoo Open protocol packets.
|
704
|
+
WATTSTOPPER_DLM = 263
|
705
|
+
|
706
|
+
#: [``DLT_ISO_14443``] Messages between ISO 14443 contactless smartcards
|
707
|
+
#: (Proximity Integrated Circuit Card, PICC) and card readers (Proximity
|
708
|
+
#: Coupling Device, PCD), with the message format specified by the PCAP format
|
709
|
+
#: for ISO14443 specification.
|
710
|
+
ISO_14443 = 264
|
711
|
+
|
712
|
+
#: [``DLT_RDS``] IEC 62106 Radio data system (RDS) groups.
|
713
|
+
RDS = 265
|
714
|
+
|
715
|
+
#: [``DLT_USB_DARWIN``] USB packets captured on a Darwin-based operating system
|
716
|
+
#: (macOS, etc.).
|
717
|
+
USB_DARWIN = 266
|
718
|
+
|
719
|
+
#: [``DLT_OPENFLOW``] OpenFlow messages with an additional 12-octet header, as
|
720
|
+
#: used in OpenBSD switch interface monitoring.
|
721
|
+
OPENFLOW = 267
|
722
|
+
|
723
|
+
#: [``DLT_SDLC``] SDLC packets, as specified by Chapter 1, "DLC Links", section
|
724
|
+
#: "Synchronous Data Link Control (SDLC)" of Systems Network Architecture
|
725
|
+
#: Formats, GA27-3136-20, without the flag fields, zero-bit insertion, or Frame
|
726
|
+
#: Check Sequence field, containing SNA path information units (PIUs) as the
|
727
|
+
#: payload.
|
728
|
+
SDLC = 268
|
729
|
+
|
730
|
+
#: [``DLT_TI_LLN_SNIFFER``] TI LLN sniffer frames.
|
731
|
+
TI_LLN_SNIFFER = 269
|
732
|
+
|
733
|
+
#: [``DLT_LORATAP``] LoRaTap pseudo-header, followed by the payload, which is
|
734
|
+
#: typically the PHYPayload from the LoRaWan specification.
|
735
|
+
LORATAP = 270
|
736
|
+
|
737
|
+
#: [``DLT_VSOCK``] Protocol for communication between host and guest machines
|
738
|
+
#: in VMware and KVM hypervisors.
|
739
|
+
VSOCK = 271
|
740
|
+
|
741
|
+
#: [``DLT_NORDIC_BLE``] Messages to and from a Nordic Semiconductor nRF Sniffer
|
742
|
+
#: for Bluetooth LE packets.
|
743
|
+
NORDIC_BLE = 272
|
744
|
+
|
745
|
+
#: [``DLT_DOCSIS31_XRA31``] DOCSIS packets and bursts, preceded by a pseudo-
|
746
|
+
#: header giving metadata about the packet.
|
747
|
+
DOCSIS31_XRA31 = 273
|
748
|
+
|
749
|
+
#: [``DLT_ETHERNET_MPACKET``] mPackets, as specified by IEEE 802.3br Figure
|
750
|
+
#: 99-4, starting with the preamble and always ending with a CRC field.
|
751
|
+
ETHERNET_MPACKET = 274
|
752
|
+
|
753
|
+
#: [``DLT_DISPLAYPORT_AUX``] DisplayPort AUX channel monitoring messages.
|
754
|
+
DISPLAYPORT_AUX = 275
|
755
|
+
|
756
|
+
#: [``DLT_LINUX_SLL2``] Linux "cooked" capture encapsulation v2.
|
757
|
+
LINUX_SLL2 = 276
|
758
|
+
|
759
|
+
#: [``DLT_SERCOS_MONITOR``] Sercos Monitor.
|
760
|
+
SERCOS_MONITOR = 277
|
761
|
+
|
762
|
+
#: [``DLT_OPENVIZSLA``] OpenVizsla FPGA-based USB sniffer frames.
|
763
|
+
OPENVIZSLA = 278
|
764
|
+
|
765
|
+
#: [``DLT_EBHSCR``] Elektrobit High Speed Capture and Replay (EBHSCR) format.
|
766
|
+
EBHSCR = 279
|
767
|
+
|
768
|
+
#: [``DLT_VPP_DISPATCH``] Records in traces from the http://fd.io VPP graph
|
769
|
+
#: dispatch tracer, in the the graph dispatcher trace format.
|
770
|
+
VPP_DISPATCH = 280
|
771
|
+
|
772
|
+
#: [``DLT_DSA_TAG_BRCM``] Ethernet frames, with a Broadcom switch tag inserted.
|
773
|
+
DSA_TAG_BRCM = 281
|
774
|
+
|
775
|
+
#: [``DLT_DSA_TAG_BRCM_PREPEND``] Ethernet frames, with a Broadcom switch tag
|
776
|
+
#: prepended.
|
777
|
+
DSA_TAG_BRCM_PREPEND = 282
|
778
|
+
|
779
|
+
#: [``DLT_IEEE802_15_4_TAP``] IEEE 802.15.4 Low-Rate Wireless Networks, with a
|
780
|
+
#: pseudo-header containing TLVs with metadata preceding the 802.15.4 header.
|
781
|
+
IEEE802_15_4_TAP = 283
|
782
|
+
|
783
|
+
#: [``DLT_DSA_TAG_DSA``] Ethernet frames, with a Marvell DSA switch tag
|
784
|
+
#: inserted.
|
785
|
+
DSA_TAG_DSA = 284
|
786
|
+
|
787
|
+
#: [``DLT_DSA_TAG_EDSA``] Ethernet frames, with a Marvell EDSA switch tag
|
788
|
+
#: inserted.
|
789
|
+
DSA_TAG_EDSA = 285
|
790
|
+
|
791
|
+
#: [``DLT_ELEE``] Payload of lawful intercept packets using the ELEE protocol.
|
792
|
+
#: The packet begins with the ELEE header; it does not include any transport-
|
793
|
+
#: layer or lower-layer headers for protocols used to transport ELEE packets.
|
794
|
+
ELEE = 286
|
795
|
+
|
796
|
+
#: [``DLT_Z_WAVE_SERIAL``] Serial frames transmitted between a host and a
|
797
|
+
#: Z-Wave chip over an RS-232 or USB serial connection, as described in section
|
798
|
+
#: 5 of the Z-Wave Serial API Host Application Programming Guide.
|
799
|
+
Z_WAVE_SERIAL = 287
|
800
|
+
|
801
|
+
#: [``DLT_USB_2_0``] USB 2.0, 1.1, or 1.0 packet, beginning with a PID, as
|
802
|
+
#: described by Chapter 8 "Protocol Layer" of the the Universal Serial Bus
|
803
|
+
#: Specification Revision 2.0. Deprecated in favor of speed specific USB 2.0,
|
804
|
+
#: 1.1, or 1.0 linktypes.
|
805
|
+
USB_2_0 = 288
|
806
|
+
|
807
|
+
#: [``DLT_ATSC_ALP``] ATSC Link-Layer Protocol frames, as described in section
|
808
|
+
#: 5 of the A/330 Link-Layer Protocol specification, found at the ATSC 3.0
|
809
|
+
#: standards page, beginning with a Base Header.
|
810
|
+
ATSC_ALP = 289
|
811
|
+
|
812
|
+
#: [``DLT_ETW``] Event Tracing for Windows messages.
|
813
|
+
ETW = 290
|
814
|
+
|
815
|
+
#: [``DLT_NETANALYZER_NG``] Reserved for Hilscher Gesellschaft fuer
|
816
|
+
#: Systemautomation mbH netANALYZER NG hardware and software.
|
817
|
+
NETANALYZER_NG = 291
|
818
|
+
|
819
|
+
#: [``DLT_ZBOSS_NCP``] ZBOSS NCP Serial Protocol, with a pseudo-header.
|
820
|
+
ZBOSS_NCP = 292
|
821
|
+
|
822
|
+
#: [``DLT_USB_2_0_LOW_SPEED``] Low-Speed USB 2.0, 1.1, or 1.0 packet, beginning
|
823
|
+
#: with a PID, as described by Chapter 8 "Protocol Layer" of the the Universal
|
824
|
+
#: Serial Bus Specification Revision 2.0.
|
825
|
+
USB_2_0_LOW_SPEED = 293
|
826
|
+
|
827
|
+
#: [``DLT_USB_2_0_FULL_SPEED``] Full-Speed USB 2.0, 1.1, or 1.0 packet,
|
828
|
+
#: beginning with a PID, as described by Chapter 8 "Protocol Layer" of the the
|
829
|
+
#: Universal Serial Bus Specification Revision 2.0.
|
830
|
+
USB_2_0_FULL_SPEED = 294
|
831
|
+
|
832
|
+
#: [``DLT_USB_2_0_HIGH_SPEED``] High-Speed USB 2.0 packet, beginning with a
|
833
|
+
#: PID, as described by Chapter 8 "Protocol Layer" of the the Universal Serial
|
834
|
+
#: Bus Specification Revision 2.0.
|
835
|
+
USB_2_0_HIGH_SPEED = 295
|
836
|
+
|
837
|
+
#: [``DLT_AUERSWALD_LOG``] Auerswald Logger Protocol, as described in this
|
838
|
+
#: document.
|
839
|
+
AUERSWALD_LOG = 296
|
840
|
+
|
841
|
+
#: [``DLT_ZWAVE_TAP``] Z-Wave packets, as specified by ITU-T Recommendation
|
842
|
+
#: G.9959, with a TAP meta-data header.
|
843
|
+
ZWAVE_TAP = 297
|
844
|
+
|
845
|
+
#: [``DLT_SILABS_DEBUG_CHANNEL``] Silicon Labs debug channel protocol, as
|
846
|
+
#: described in the specification.
|
847
|
+
SILABS_DEBUG_CHANNEL = 298
|
848
|
+
|
849
|
+
#: [``DLT_FIRA_UCI``] Ultra-wideband (UWB) controller interface protocol (UCI).
|
850
|
+
FIRA_UCI = 299
|
851
|
+
|
852
|
+
#: [``DLT_MDB``] MDB (Multi-Drop Bus) protocol between a vending machine
|
853
|
+
#: controller and peripherals inside the vending machine, with the message
|
854
|
+
#: format specified by the PCAP format for MDB specification.
|
855
|
+
MDB = 300
|
856
|
+
|
857
|
+
#: [``DLT_DECT_NR``] DECT-2020 New Radio (NR) MAC layer specified in ETSI TS
|
858
|
+
#: 103 636-4. The Physical Header Field is always encoded using 80 bits (10
|
859
|
+
#: bytes). Broadcast transmissions using 40 bits (5 bytes) is padded with 40
|
860
|
+
#: zero bits (5 bytes). When padding is used the Receiver Identity value 0x0000
|
861
|
+
#: (reserved address) is used to detect broadcast transmissions.
|
862
|
+
DECT_NR = 301
|
863
|
+
|
864
|
+
@staticmethod
|
865
|
+
def get(key: 'int | str', default: 'int' = -1) -> 'LinkType':
|
866
|
+
"""Backport support for original codes.
|
867
|
+
|
868
|
+
Args:
|
869
|
+
key: Key to get enum item.
|
870
|
+
default: Default value if not found.
|
871
|
+
|
872
|
+
:meta private:
|
873
|
+
"""
|
874
|
+
if isinstance(key, int):
|
875
|
+
return LinkType(key)
|
876
|
+
if key not in LinkType._member_map_: # pylint: disable=no-member
|
877
|
+
return extend_enum(LinkType, key, default)
|
878
|
+
return LinkType[key] # type: ignore[misc]
|
879
|
+
|
880
|
+
@classmethod
|
881
|
+
def _missing_(cls, value: 'int') -> 'LinkType':
|
882
|
+
"""Lookup function used when value is not found.
|
883
|
+
|
884
|
+
Args:
|
885
|
+
value: Value to get enum item.
|
886
|
+
|
887
|
+
"""
|
888
|
+
if not (isinstance(value, int) and 0x00000000 <= value <= 0xFFFFFFFF):
|
889
|
+
raise ValueError('%r is not a valid %s' % (value, cls.__name__))
|
890
|
+
return extend_enum(cls, 'Unassigned_%d' % value, value)
|