DHCP Constant Enumerations¶
BOOTP Message Op Codes |
|
BOOTP Vendor Extensions and DHCP Options |
|
DHCP Message Type 53 Values |
|
DHCP Relay Agent Sub-Option Codes |
Added in version 1.10.0.
BOOTP Message Op Codes¶
Generated from pcapkit.vendor.dhcp.opcode.Opcode.
- class pcapkit.const.dhcp.opcode.Opcode(*values)[source]¶
Bases:
EnumRegistry,aenum.IntEnum[Opcode] BOOTP Message Op Codes [RFC 951]
- classmethod _validate_value(value)[source]¶
Reject
valueunless it passes the range check_missing_()makes.Overrides
_validate_value()with that check and the message it raises, soregister()refuses exactly the valuesget()refuses, in the same words (#1816).- Parameters:
value (
Any) – Value about to be looked up or minted.- Raises:
EnumValueError – If
valuefails that check. AValueError, so anexcept ValueErrorcaller is unaffected.
BOOTP Vendor Extensions and DHCP Options¶
Generated from pcapkit.vendor.dhcp.option.Option.
- class pcapkit.const.dhcp.option.Option(*values)[source]¶
Bases:
EnumRegistry,aenum.IntEnum[Option] BOOTP Vendor Extensions and DHCP Options
- Time_Offset = 2¶
Time Offset – Time Offset in Seconds from UTC (note: deprecated by 100 and 101) [RFC 2132]
- IPv6_Only_Preferred = 108¶
IPv6-Only Preferred – Number of seconds that DHCPv4 should be disabled [RFC 8925]
- OPTION_DHCP4O6_S46_SADDR = 109¶
OPTION_DHCP4O6_S46_SADDR – DHCPv4 over DHCPv6 Softwire Source Address Option [RFC 8539]
- V_I_Vendor_Specific_Information = 125¶
V-I Vendor-Specific Information – Vendor-Identifying Vendor-Specific Information [RFC 3925]
- PXE_undefined_128 = 128¶
PXE - undefined (vendor specific) [RFC 4578]; Etherboot signature. 6 bytes: E4:45:74:68:00:00; DOCSIS “full security” server IP address; TFTP Server IP address (for IP Phone software load)
- PXE_undefined_129 = 129¶
PXE - undefined (vendor specific) [RFC 4578]; Kernel options. Variable length string; Call Server IP address
- PXE_undefined_130 = 130¶
PXE - undefined (vendor specific) [RFC 4578]; Ethernet interface. Variable length string.; Discrimination string (to identify vendor)
- PXE_undefined_131 = 131¶
PXE - undefined (vendor specific) [RFC 4578]; Remote statistics server IP address
- PXE_undefined_133 = 133¶
PXE - undefined (vendor specific) [RFC 4578]; IEEE 802.1D/p Layer 2 Priority
- PXE_undefined_134 = 134¶
PXE - undefined (vendor specific) [RFC 4578]; Diffserv Code Point (DSCP) for VoIP signalling and media streams
- PXE_undefined_135 = 135¶
PXE - undefined (vendor specific) [RFC 4578]; HTTP Proxy for phone-specific applications
- SIP_UA_Configuration_Service_Domains = 141¶
SIP UA Configuration Service Domains – List of domain names to search for SIP User Agent Configuration [RFC 6011]
- OPTION_IPv4_Address_ANDSF = 142¶
OPTION-IPv4_Address-ANDSF – ANDSF IPv4 Address Option for DHCPv4 [RFC 6153]
- OPTION_V4_SZTP_REDIRECT = 143¶
OPTION_V4_SZTP_REDIRECT – This option provides a list of URIs for SZTP bootstrap servers [RFC 8572]
- OPTION_V4_DOTS_ADDRESS = 148¶
OPTION_V4_DOTS_ADDRESS – N/4 IPv4 addresses of peer DOTS agent(s). [RFC 8973]
- status_code = 151¶
status-code – Status code and optional N byte text message describing status. [RFC 6926]
- start_time_of_state = 153¶
start-time-of-state – Number of seconds in the past when client entered current state. [RFC 6926]
- query_start_time = 154¶
query-start-time – Absolute time (seconds since Jan 1, 1970) for beginning of query. [RFC 6926]
- query_end_time = 155¶
query-end-time – Absolute time (seconds since Jan 1, 1970) for end of query. [RFC 6926]
- OPTION_V4_PCP_SERVER = 158¶
OPTION_V4_PCP_SERVER – Includes one or multiple lists of PCP server IP addresses; each list is treated as a separate PCP server. [RFC 7291]
- OPTION_V4_PORTPARAMS = 159¶
OPTION_V4_PORTPARAMS – This option is used to configure a set of ports bound to a shared IPv4 address. [RFC 7618]
- Unassigned_160 = 160¶
Unassigned – Previously assigned by [RFC 7710]; known to also be used by Polycom. [RFC 7710][RFC 8910]
- Etherboot_175 = 175¶
Etherboot (Tentatively Assigned - 2005-06-23)
- IP_Telephone = 176¶
IP Telephone (Tentatively Assigned - 2005-06-23)
- Etherboot_177 = 177¶
Etherboot (Tentatively Assigned - 2005-06-23); PacketCable and CableHome (replaced by 122)
- classmethod _validate_value(value)[source]¶
Reject
valueunless it passes the range check_missing_()makes.Overrides
_validate_value()with that check and the message it raises, soregister()refuses exactly the valuesget()refuses, in the same words (#1816).- Parameters:
value (
Any) – Value about to be looked up or minted.- Raises:
EnumValueError – If
valuefails that check. AValueError, so anexcept ValueErrorcaller is unaffected.
DHCP Message Type 53 Values¶
Generated from pcapkit.vendor.dhcp.message_type.MessageType.
- class pcapkit.const.dhcp.message_type.MessageType(*values)[source]¶
Bases:
EnumRegistry,aenum.IntEnum[MessageType] DHCP Message Type 53 Values
- classmethod _validate_value(value)[source]¶
Reject
valueunless it passes the range check_missing_()makes.Overrides
_validate_value()with that check and the message it raises, soregister()refuses exactly the valuesget()refuses, in the same words (#1816).- Parameters:
value (
Any) – Value about to be looked up or minted.- Raises:
EnumValueError – If
valuefails that check. AValueError, so anexcept ValueErrorcaller is unaffected.
DHCP Relay Agent Sub-Option Codes¶
Generated from pcapkit.vendor.dhcp.relay_agent_suboption.RelayAgentSubOption.
- class pcapkit.const.dhcp.relay_agent_suboption.RelayAgentSubOption(*values)[source]¶
Bases:
EnumRegistry,aenum.IntEnum[RelayAgentSubOption] DHCP Relay Agent Sub-Option Codes
- Reserved_3 = 3¶
Sub-option 3 is reserved and should not be assigned at this time; proprietary and incompatible usages of this sub-option value have been seen limited deployment. [Ralph Droms]
- DHCPv4_Virtual_Subnet_Selection_Sub_Option = 151¶
DHCPv4 Virtual Subnet Selection Sub-Option [RFC 6607]
- DHCPv4_Virtual_Subnet_Selection_Control_Sub_Option = 152¶
DHCPv4 Virtual Subnet Selection Control Sub-Option [RFC 6607]
- classmethod _validate_value(value)[source]¶
Reject
valueunless it passes the range check_missing_()makes.Overrides
_validate_value()with that check and the message it raises, soregister()refuses exactly the valuesget()refuses, in the same words (#1816).- Parameters:
value (
Any) – Value about to be looked up or minted.- Raises:
EnumValueError – If
valuefails that check. AValueError, so anexcept ValueErrorcaller is unaffected.