Class: FFI::Packets::Icmp::Hdr::Msg::Traceroute

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

Overview

Traceroute message data structure, RFC 1393, RFC 1812

struct icmp_msg_traceroute {
  uint16_t  icmp_id;    /* identifier */
  uint16_t  icmp_void;    /* unused */
  uint16_t  icmp_ohc;    /* outbound hop count */
  uint16_t  icmp_rhc;    /* return hop count */
  uint32_t  icmp_speed;    /* link speed, bytes/sec */
  uint32_t  icmp_mtu;    /* MTU in bytes */
};