Please wait until the page is fully downloaded and then press the "Expand" button or the blue line numbers.
0084000 /*
0084001 server/ip/gen/icmp_hdr.h
0084002 */
0084003
0084004 #ifndef __SERVER__IP__GEN__ICMP_HDR_H__
0084005 #define __SERVER__IP__GEN__ICMP_HDR_H__
0084006
0084007 typedef struct icmp_id_seq
0084008 {
0084009 u16_t iis_id, iis_seq;
0084010 } icmp_id_seq_t;
0084011
0084012 typedef struct icmp_ip_id
0084013 {
0084014 ip_hdr_t iii_hdr;
0084015 /* ip_hdr_options and 64 bytes of data */
0084016 } icmp_ip_id_t;
0084017
0084018 typedef struct icmp_ram /* RFC 1256 */
0084019 {
0084020 u8_t iram_na;
0084021 u8_t iram_aes;
0084022 u16_t iram_lt;
0084023 } icmp_ram_t;
0084024
0084025 typedef struct icmp_pp
0084026 {
0084027 u8_t ipp_ptr;
0084028 u8_t ipp_unused[3];
0084029 } icmp_pp_t;
0084030
0084031 typedef struct icmp_hdr
0084032 {
0084033 u8_t ih_type, ih_code;
0084034 u16_t ih_chksum;
0084035 union
0084036 {
0084037 u32_t ihh_unused;
0084038 icmp_id_seq_t ihh_idseq;
0084039 ipaddr_t ihh_gateway;
0084040 icmp_ram_t ihh_ram;
0084041 icmp_pp_t ihh_pp;
0084042 } ih_hun;
0084043 union
0084044 {
0084045 icmp_ip_id_t ihd_ipid;
0084046 u8_t uhd_data[1];
0084047 } ih_dun;
0084048 } icmp_hdr_t;
0084049
0084050 #endif /* __SERVER__IP__GEN__ICMP_HDR_H__ */
0084051
0084052 /*
0084053 * $PchId: icmp_hdr.h,v 1.4 1995/11/17 22:28:58 philip Exp $
0084054 */