#include <netinet/icmp_var.h>

netinet/icmp_var.h

includes: sys/appleapiopts.h, netinet/ip_icmp.h, sys/types.h
6 macros · 1 struct

structicmpstat

Variables related to this implementation of the internet control message protocol.
size 368, align 4
u_int32_ticps_errorstatistics related to icmp packets generated # of calls to icmp_error
u_int32_ticps_oldshortno error 'cuz old ip too short
u_int32_ticps_oldicmpno error 'cuz old was icmp
u_int32_t[41]icps_outhist
u_int32_ticps_badcodestatistics related to input messages processed icmp_code out of range
u_int32_ticps_tooshortpacket < ICMP_MINLEN
u_int32_ticps_checksumbad checksum
u_int32_ticps_badlencalculated bound mismatch
u_int32_ticps_reflectnumber of responses
u_int32_t[41]icps_inhist
u_int32_ticps_bmcastechob/mcast echo requests dropped
u_int32_ticps_bmcasttstampb/mcast tstamp requests dropped

macroICMPCTL_MASKREPL

Names for ICMP sysctl objects
#define ICMPCTL_MASKREPL 1
allow replies to netmask requests

macroICMPCTL_STATS

#define ICMPCTL_STATS 2
statistics (read-only)

macroICMPCTL_ICMPLIM

#define ICMPCTL_ICMPLIM 3

macroICMPCTL_TIMESTAMP

#define ICMPCTL_TIMESTAMP 4
allow replies to time stamp requests

macroICMPCTL_ICMPLIM_INCR

#define ICMPCTL_ICMPLIM_INCR 5

macroICMPCTL_MAXID

#define ICMPCTL_MAXID 6