Sha256: 8788256fc3e322abae9088d974699197da6c928ceb6941ddb8df3022c37d36ea

Contents?: true

Size: 459 Bytes

Versions: 9

Compression:

Stored size: 459 Bytes

Contents

# $Id: constants.rb 12196 2011-04-01 00:51:33Z egypt $
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

9 entries across 9 versions & 1 rubygems

Version Path
librex-0.0.29 lib/rex/proto/dhcp/constants.rb
librex-0.0.28 lib/rex/proto/dhcp/constants.rb
librex-0.0.27 lib/rex/proto/dhcp/constants.rb
librex-0.0.26 lib/rex/proto/dhcp/constants.rb
librex-0.0.25 lib/rex/proto/dhcp/constants.rb
librex-0.0.23 lib/rex/proto/dhcp/constants.rb
librex-0.0.21 lib/rex/proto/dhcp/constants.rb
librex-0.0.19 lib/rex/proto/dhcp/constants.rb
librex-0.0.17 lib/rex/proto/dhcp/constants.rb