#include <libc/netinet/ip_icmp.h>
| struct icmp |
| Public Attributes | |
|---|---|
| n_short | icd_id |
| n_short | icd_seq |
| u_short | icmp_cksum |
| u_char | icmp_code |
| union icmp::@43 | icmp_dun |
| union icmp::@42 | icmp_hun |
| u_char | icmp_type |
| char | id_data |
| struct icmp::@43::id_ip | id_ip |
| u_long | id_mask |
| struct icmp::@43::id_ts | id_ts |
| struct ip | idi_ip |
| struct in_addr | ih_gwaddr |
| struct icmp::@42::ih_idseq | ih_idseq |
| u_char | ih_pptr |
| int | ih_void |
| n_time | its_otime |
| n_time | its_rtime |
| n_time | its_ttime |
Structure of an icmp header.