icmp.h File Reference

Go to the source code of this file.

Data Structures

struct  icmphdr
struct  icmp_err

Defines

#define ICMP_ECHOREPLY   0
 Echo Reply.
#define ICMP_DEST_UNREACH   3
 Destination Unreachable.
#define ICMP_SOURCE_QUENCH   4
 Source Quench.
#define ICMP_REDIRECT   5
 Redirect (change route).
#define ICMP_ECHO   8
 Echo Request.
#define ICMP_TIME_EXCEEDED   11
 Time Exceeded.
#define ICMP_PARAMETERPROB   12
 Parameter Problem.
#define ICMP_TIMESTAMP   13
 Timestamp Request.
#define ICMP_TIMESTAMPREPLY   14
 Timestamp Reply.
#define ICMP_INFO_REQUEST   15
 Information Request.
#define ICMP_INFO_REPLY   16
 Information Reply.
#define ICMP_ADDRESS   17
 Address Mask Request.
#define ICMP_ADDRESSREPLY   18
 Address Mask Reply.
#define ICMP_NET_UNREACH   0
 Codes for UNREACH. Network Unreachable.
#define ICMP_HOST_UNREACH   1
 Host Unreachable.
#define ICMP_PROT_UNREACH   2
 Protocol Unreachable.
#define ICMP_PORT_UNREACH   3
 Port Unreachable.
#define ICMP_FRAG_NEEDED   4
 Fragmentation Needed/DF set.
#define ICMP_SR_FAILED   5
 Source Route failed.
#define ICMP_NET_UNKNOWN   6
#define ICMP_HOST_UNKNOWN   7
#define ICMP_HOST_ISOLATED   8
#define ICMP_NET_ANO   9
#define ICMP_HOST_ANO   10
#define ICMP_NET_UNR_TOS   11
#define ICMP_HOST_UNR_TOS   12
#define ICMP_REDIR_NET   0
 Codes for REDIRECT. Redirect Net.
#define ICMP_REDIR_HOST   1
 Redirect Host.
#define ICMP_REDIR_NETTOS   2
 Redirect Net for TOS.
#define ICMP_REDIR_HOSTTOS   3
 Redirect Host for TOS.
#define ICMP_EXC_TTL   0
 Codes for TIME_EXCEEDED. TTL count exceeded.
#define ICMP_EXC_FRAGTIME   1
 Fragment Reass time exceeded.


Define Documentation

#define ICMP_ADDRESS   17

Address Mask Request.

Definition at line 35 of file icmp.h.

#define ICMP_ADDRESSREPLY   18

Address Mask Reply.

Definition at line 36 of file icmp.h.

#define ICMP_DEST_UNREACH   3

Destination Unreachable.

Definition at line 25 of file icmp.h.

#define ICMP_ECHO   8

Echo Request.

Definition at line 28 of file icmp.h.

#define ICMP_ECHOREPLY   0

Echo Reply.

INET An implementation of the TCP/IP protocol suite for the LINUX operating system. INET is implemented using the BSD Socket interface as the means of communication with the user level.

Definitions for the ICMP protocol.

Version: @(#)icmp.h 1.0.3 04/28/93

Author: Fred N. van Kempen, <waltje@uWalt.NL.Mugnet.ORG>

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.

Definition at line 24 of file icmp.h.

#define ICMP_EXC_FRAGTIME   1

Fragment Reass time exceeded.

Definition at line 62 of file icmp.h.

#define ICMP_EXC_TTL   0

Codes for TIME_EXCEEDED. TTL count exceeded.

Definition at line 61 of file icmp.h.

#define ICMP_FRAG_NEEDED   4

Fragmentation Needed/DF set.

Definition at line 44 of file icmp.h.

#define ICMP_HOST_ANO   10

Definition at line 50 of file icmp.h.

#define ICMP_HOST_ISOLATED   8

Definition at line 48 of file icmp.h.

#define ICMP_HOST_UNKNOWN   7

Definition at line 47 of file icmp.h.

#define ICMP_HOST_UNR_TOS   12

Definition at line 52 of file icmp.h.

#define ICMP_HOST_UNREACH   1

Host Unreachable.

Definition at line 41 of file icmp.h.

#define ICMP_INFO_REPLY   16

Information Reply.

Definition at line 34 of file icmp.h.

#define ICMP_INFO_REQUEST   15

Information Request.

Definition at line 33 of file icmp.h.

#define ICMP_NET_ANO   9

Definition at line 49 of file icmp.h.

#define ICMP_NET_UNKNOWN   6

Definition at line 46 of file icmp.h.

#define ICMP_NET_UNR_TOS   11

Definition at line 51 of file icmp.h.

#define ICMP_NET_UNREACH   0

Codes for UNREACH. Network Unreachable.

Definition at line 40 of file icmp.h.

#define ICMP_PARAMETERPROB   12

Parameter Problem.

Definition at line 30 of file icmp.h.

#define ICMP_PORT_UNREACH   3

Port Unreachable.

Definition at line 43 of file icmp.h.

#define ICMP_PROT_UNREACH   2

Protocol Unreachable.

Definition at line 42 of file icmp.h.

#define ICMP_REDIR_HOST   1

Redirect Host.

Definition at line 56 of file icmp.h.

#define ICMP_REDIR_HOSTTOS   3

Redirect Host for TOS.

Definition at line 58 of file icmp.h.

#define ICMP_REDIR_NET   0

Codes for REDIRECT. Redirect Net.

Definition at line 55 of file icmp.h.

#define ICMP_REDIR_NETTOS   2

Redirect Net for TOS.

Definition at line 57 of file icmp.h.

#define ICMP_REDIRECT   5

Redirect (change route).

Definition at line 27 of file icmp.h.

#define ICMP_SOURCE_QUENCH   4

Source Quench.

Definition at line 26 of file icmp.h.

#define ICMP_SR_FAILED   5

Source Route failed.

Definition at line 45 of file icmp.h.

#define ICMP_TIME_EXCEEDED   11

Time Exceeded.

Definition at line 29 of file icmp.h.

#define ICMP_TIMESTAMP   13

Timestamp Request.

Definition at line 31 of file icmp.h.

#define ICMP_TIMESTAMPREPLY   14

Timestamp Reply.

Definition at line 32 of file icmp.h.


Generated on Mon May 1 21:47:00 2006 for KernelAPI by  doxygen 1.4.6-5