Sha256: bc69ceb3c1b0ff02069b108de1c0da6e298f78a91012a1d1a734535b82ed31bc

Contents?: true

Size: 477 Bytes

Versions: 26

Compression:

Stored size: 477 Bytes

Contents

# $Id: constants.rb 12375 2011-04-20 14:21:36Z 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
OpHostname = 0x0c
OpEnd = 0xff

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

end
end
end

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
librex-0.0.65 lib/rex/proto/dhcp/constants.rb
librex-0.0.63 lib/rex/proto/dhcp/constants.rb
librex-0.0.54 lib/rex/proto/dhcp/constants.rb
librex-0.0.53 lib/rex/proto/dhcp/constants.rb
librex-0.0.52 lib/rex/proto/dhcp/constants.rb
librex-0.0.51 lib/rex/proto/dhcp/constants.rb
librex-0.0.50 lib/rex/proto/dhcp/constants.rb
librex-0.0.49 lib/rex/proto/dhcp/constants.rb
librex-0.0.48 lib/rex/proto/dhcp/constants.rb
librex-0.0.47 lib/rex/proto/dhcp/constants.rb
librex-0.0.46 lib/rex/proto/dhcp/constants.rb
librex-0.0.44 lib/rex/proto/dhcp/constants.rb
librex-0.0.43 lib/rex/proto/dhcp/constants.rb
librex-0.0.42 lib/rex/proto/dhcp/constants.rb
librex-0.0.41 lib/rex/proto/dhcp/constants.rb
librex-0.0.40 lib/rex/proto/dhcp/constants.rb
librex-0.0.39 lib/rex/proto/dhcp/constants.rb
librex-0.0.38 lib/rex/proto/dhcp/constants.rb
librex-0.0.37 lib/rex/proto/dhcp/constants.rb
librex-0.0.36 lib/rex/proto/dhcp/constants.rb