Sha256: a0a71c21484387efe75fe72adebf541e00264c8c0775c49dcfacc6efda442dee

Contents?: true

Size: 447 Bytes

Versions: 6

Compression:

Stored size: 447 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
OpDns = 6
OpHostname = 0x0c
OpEnd = 0xff

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

end
end
end

Version data entries

6 entries across 6 versions & 3 rubygems

Version Path
dstruct-0.0.1 lib/rex/proto/dhcp/constants.rb
rex-2.0.3 lib/rex/proto/dhcp/constants.rb
librex-0.0.999 lib/rex/proto/dhcp/constants.rb
rex-2.0.2 lib/rex/proto/dhcp/constants.rb
librex-0.0.71 lib/rex/proto/dhcp/constants.rb
librex-0.0.70 lib/rex/proto/dhcp/constants.rb