Enum dhcproto::v4::OptionCode [−][src]
pub enum OptionCode {
Show 61 variants
Pad,
SubnetMask,
TimeOffset,
Router,
TimeServer,
NameServer,
DomainNameServer,
LogServer,
QuoteServer,
LprServer,
ImpressServer,
ResourceLocationServer,
Hostname,
BootFileSize,
MeritDumpFile,
DomainName,
SwapServer,
RootPath,
ExtensionsPath,
IpForwarding,
NonLocalSrcRouting,
MaxDatagramSize,
DefaultIpTtl,
InterfaceMtu,
AllSubnetsLocal,
BroadcastAddr,
PerformMaskDiscovery,
MaskSupplier,
PerformRouterDiscovery,
RouterSolicitationAddr,
StaticRoutingTable,
ArpCacheTimeout,
EthernetEncapsulation,
DefaultTcpTtl,
TcpKeepaliveInterval,
TcpKeepaliveGarbage,
NISDomain,
NIS,
NTPServers,
VendorExtensions,
NetBiosNameServers,
NetBiosDatagramDistributionServer,
NetBiosNodeType,
NetBiosScope,
XFontServer,
XDisplayManager,
RequestedIpAddress,
AddressLeaseTime,
OptionOverload,
MessageType,
ServerIdentifier,
ParameterRequestList,
Message,
MaxMessageSize,
Renewal,
Rebinding,
ClassIdentifier,
ClientIdentifier,
RelayAgentInformation,
Unknown(u8),
End,
}
Expand description
Each option type is represented by an 8-bit code
Variants
0 Padding
1 Subnet Mask
2 Time Offset
3 Router
4 Router
5 Name Server
6 Name Server
7 Log Server
8 Quote Server
9 LPR Server
10 Impress server
11 Resource Location Server
12 Host name
13 Boot file size
14 Merit Dump File
15 Domain Name
16 Swap server
17 Root Path
18 Extensions path
19 IP forwarding
20 Non-local source routing
22 Max Datagram reassembly size
23 Ip TTL
26 Interface MTU
27 All Subnets Local
28 Broadcast address
29 Perform mask discovery
30 Mask supplier
31 Perform router discovery
32 Router solicitation address
33 Static routing table
35 ARP timeout
36 Ethernet encapsulation
37 Default TCP TTL
38 TCP keepalive interval
39 TCP keealive garbage
40 Network information service domain
41 Network infomration servers
42 NTP servers
43 Vendor Extensions
44 NetBIOS over TCP/IP name server
45 NetBIOS over TCP/IP Datagram Distribution Server
46 NetBIOS over TCP/IP Node Type
47 NetBIOS over TCP/IP Scope
48 X Window System Font Server
49 Window System Display Manager
50 Requested IP Address
51 IP Address Lease Time
52 Option Overload
53 Message Type
54 Server Identifier
55 Parameter Request List
56 Message
57 Maximum DHCP Message Size
58 Renewal (T1) Time Value
59 Rebinding (T2) Time Value
60 Class-identifier
61 Client Identifier
82 Relay Agent Information
Unknown(u8)
Unknown option
Tuple Fields of Unknown
0: u8
255 End
Trait Implementations
Performs the conversion.
Performs the conversion.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for OptionCode
impl Send for OptionCode
impl Sync for OptionCode
impl Unpin for OptionCode
impl UnwindSafe for OptionCode
Blanket Implementations
Mutably borrows from an owned value. Read more