Sha256: aeb3f2dc563596edd7448e274bf266d675beaa1faa99c74ce5d97d317fc90eb5

Contents?: true

Size: 478 Bytes

Versions: 9

Compression:

Stored size: 478 Bytes

Contents

# -*- coding: binary -*-
require 'rex/proto/dhcp'

module Rex
module Proto
module DHCP

Request = 1
Response = 2

DHCPDiscover = 1
DHCPOffer = 2
DHCPRequest = 3
DHCPAck = 5

DHCPMagic = "\x63\x82\x53\x63"

OpDHCPServer = 0x36
OpLeaseTime = 0x33
OpSubnetMask = 1
OpRouter = 3
OpDomainName = 15
OpDns = 6
OpHostname = 0x0c
OpURL = 0x72
OpEnd = 0xff

PXEMagic = "\xF1\x00\x74\x7E"
OpPXEMagic = 0xD0
OpPXEConfigFile = 0xD1
OpPXEPathPrefix = 0xD2
OpPXERebootTime = 0xD3

end
end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
rex-2.0.13 lib/rex/proto/dhcp/constants.rb
rex-2.0.12 lib/rex/proto/dhcp/constants.rb
rex-2.0.11 lib/rex/proto/dhcp/constants.rb
rex-2.0.10 lib/rex/proto/dhcp/constants.rb
rex-2.0.9 lib/rex/proto/dhcp/constants.rb
rex-2.0.8 lib/rex/proto/dhcp/constants.rb
rex-2.0.7 lib/rex/proto/dhcp/constants.rb
rex-2.0.5 lib/rex/proto/dhcp/constants.rb
rex-2.0.4 lib/rex/proto/dhcp/constants.rb