Class: FFI::Packets::Icmp::Hdr::Msg::DnsReply

Inherits:
Struct
  • Object
show all
Includes:
DRY::NetStructHelper
Defined in:
lib/ffi/packets/icmp.rb

Overview

Domain name reply message data structure, RFC 1788

struct icmp_msg_dnsreply {
  uint16_t  icmp_id;    /* identifier */
  uint16_t  icmp_seq;    /* sequence number */
  uint32_t  icmp_ttl;    /* time-to-live */
  uint8_t    icmp_names __flexarr;  /* variable number of names */
};