Class: PacketGen::Plugin::IKE::IDr
- Defined in:
- lib/packetgen/plugin/ike/id.rb
Overview
This class handles Identification - Responder payloads, denoted IDr. See IDi.
Create a IDr payload
Create a IKE packet with a IDr payload
pkt = PacketGen.gen('IP').add('UDP').add('IKE').add('IKE::IDr', type: 'FQDN') pkt.ike_idr.content.read 'fqdn.example.org'
Constant Summary collapse
- PAYLOAD_TYPE =
Payload type number
36
Constants inherited from IDi
PacketGen::Plugin::IKE::IDi::TYPES
Instance Attribute Summary
Attributes inherited from IDi
Attributes inherited from Payload
#content, #critical, #flags, #hreserved, #length, #next
Method Summary
Methods inherited from IDi
Methods inherited from Payload
#calc_length, #initialize, protocol_name
Constructor Details
This class inherits a constructor from PacketGen::Plugin::IKE::Payload