Sha256: b6de8062261a65348556ba80fc7a4504143d37c6fd322a83b44d24d5d15431ce

Contents?: true

Size: 458 Bytes

Versions: 5

Compression:

Stored size: 458 Bytes

Contents

# $Id: constants.rb 9990 2010-08-13 03:11:30Z jduck $
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
OpDns = 6
OpEnd = 0xff

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

end
end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
librex-0.0.13 lib/rex/proto/dhcp/constants.rb
librex-0.0.12 lib/rex/proto/dhcp/constants.rb
librex-0.0.7 lib/rex/proto/dhcp/constants.rb
librex-0.0.6 lib/rex/proto/dhcp/constants.rb
librex-0.0.5 lib/rex/proto/dhcp/constants.rb