ip_icmp.h File Reference
Interface control message protocol definitions.
More...
Go to the source code of this file.
Detailed Description
Interface control message protocol definitions.
RFC 792.
Definition in file ip_icmp.h.
Define Documentation
#define ICMP_UNREACH_NET 0 |
Destination unreachable: Bad net code.
Definition at line 119 of file ip_icmp.h.
#define ICMP_UNREACH_HOST 1 |
Destination unreachable: Bad host.
Definition at line 120 of file ip_icmp.h.
#define ICMP_UNREACH_PROTOCOL 2 |
#define ICMP_UNREACH_PORT 3 |
#define ICMP_UNREACH_NEEDFRAG 4 |
Destination unreachable: Fragmentation needed.
Definition at line 123 of file ip_icmp.h.
#define ICMP_UNREACH_SRCFAIL 5 |
Destination unreachable: Source route failed.
Definition at line 124 of file ip_icmp.h.
#define ICMP_UNREACH_NET_UNKNOWN 6 |
Destination unreachable: Unknown net.
Definition at line 125 of file ip_icmp.h.
#define ICMP_UNREACH_HOST_UNKNOWN 7 |
Destination unreachable: Unknown host.
Definition at line 126 of file ip_icmp.h.
#define ICMP_UNREACH_ISOLATED 8 |
Destination unreachable: Source host isolated.
Definition at line 127 of file ip_icmp.h.
#define ICMP_UNREACH_NET_PROHIB 9 |
Destination unreachable: Net access prohibited.
Definition at line 128 of file ip_icmp.h.
#define ICMP_UNREACH_HOST_PROHIB 10 |
Destination unreachable: Host access prohibited.
Definition at line 129 of file ip_icmp.h.
#define ICMP_UNREACH_TOSNET 11 |
Destination unreachable: Bad tos for net.
Definition at line 130 of file ip_icmp.h.
#define ICMP_UNREACH_TOSHOST 12 |
Destination unreachable: Bad tos for host.
Definition at line 131 of file ip_icmp.h.
#define ICMP_SOURCEQUENCH 4 |
Shorter route type.
Definition at line 133 of file ip_icmp.h.
#define ICMP_REDIRECT_NET 0 |
Shorter route for network.
Definition at line 134 of file ip_icmp.h.
#define ICMP_REDIRECT_HOST 1 |
Shorter route for host.
Definition at line 135 of file ip_icmp.h.
#define ICMP_REDIRECT_TOSNET 2 |
Shorter route for tos and net.
Definition at line 136 of file ip_icmp.h.
#define ICMP_REDIRECT_TOSHOST 3 |
Shorter route for tos and host.
Definition at line 137 of file ip_icmp.h.
#define ICMP_ROUTERADVERT 9 |
Router advertisement type.
Definition at line 139 of file ip_icmp.h.
#define ICMP_ROUTERSOLICIT 10 |
Router solicitation type.
Definition at line 140 of file ip_icmp.h.
Time exceeded type.
Definition at line 141 of file ip_icmp.h.
#define ICMP_TIMXCEED_INTRANS 0 |
Time exceeded in transit.
Definition at line 142 of file ip_icmp.h.
#define ICMP_TIMXCEED_REASS 1 |
Time exceeded in reassembly.
Definition at line 143 of file ip_icmp.h.
#define ICMP_PARAMPROB 12 |
Bad IP header type.
Definition at line 144 of file ip_icmp.h.
#define ICMP_PARAMPROB_OPTABSENT 1 |
Bad IP header: Required option missing.
Definition at line 145 of file ip_icmp.h.
Timestamp request type.
Definition at line 146 of file ip_icmp.h.
#define ICMP_TSTAMPREPLY 14 |
Timestamp reply type.
Definition at line 147 of file ip_icmp.h.
Information request type.
Definition at line 148 of file ip_icmp.h.
#define ICMP_IREQREPLY 16 |
Information reply type.
Definition at line 149 of file ip_icmp.h.
Address mask request type.
Definition at line 150 of file ip_icmp.h.
#define ICMP_MASKREPLY 18 |
Address mask reply type.
Definition at line 151 of file ip_icmp.h.
Maximum ICMP type number.
Definition at line 153 of file ip_icmp.h.
Lower bounds on packet length.
Definition at line 156 of file ip_icmp.h.