Class: FFI::Packets::Icmp::Hdr::Msg::NeedFrag

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

Overview

Fragmentation-needed (unreachable) message data structure

struct icmp_msg_needfrag {
  uint16_t  icmp_void;    /* must be zero */
  uint16_t  icmp_mtu;    /* MTU of next-hop network */
  uint8_t   icmp_ip __flexarr;  /* IP hdr + 8 bytes of pkt */
};