Rev 6477 | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
6477 | hidnplayr | 1 | ; ICMP types & codes |
2 | |||
3 | ICMP_ECHOREPLY = 0 ; echo reply message |
||
4 | |||
5 | ICMP_UNREACH = 3 |
||
6 | ICMP_UNREACH_NET = 0 ; bad net |
||
7 | ICMP_UNREACH_HOST = 1 ; bad host |
||
8 | ICMP_UNREACH_PROTOCOL = 2 ; bad protocol |
||
9 | ICMP_UNREACH_PORT = 3 ; bad port |
||
10 | ICMP_UNREACH_NEEDFRAG = 4 ; IP_DF caused drop |
||
11 | ICMP_UNREACH_SRCFAIL = 5 ; src route failed |
||
12 | ICMP_UNREACH_NET_UNKNOWN = 6 ; unknown net |
||
13 | ICMP_UNREACH_HOST_UNKNOWN = 7 ; unknown host |
||
14 | ICMP_UNREACH_ISOLATED = 8 ; src host isolated |
||
15 | ICMP_UNREACH_NET_PROHIB = 9 ; prohibited access |
||
16 | ICMP_UNREACH_HOST_PROHIB = 10 ; ditto |
||
17 | ICMP_UNREACH_TOSNET = 11 ; bad tos for net |
||
18 | ICMP_UNREACH_TOSHOST = 12 ; bad tos for host |
||
19 | ICMP_UNREACH_FILTER_PROHIB = 13 ; admin prohib |
||
20 | ICMP_UNREACH_HOST_PRECEDENCE = 14 ; host prec vio. |
||
21 | ICMP_UNREACH_PRECEDENCE_CUTOFF = 15 ; prec cutoff |
||
22 | |||
23 | ICMP_SOURCEQUENCH = 4 ; Packet lost, slow down |
||
24 | |||
25 | ICMP_REDIRECT = 5 ; shorter route, codes: |
||
26 | ICMP_REDIRECT_NET = 0 ; for network |
||
27 | ICMP_REDIRECT_HOST = 1 ; for host |
||
28 | ICMP_REDIRECT_TOSNET = 2 ; for tos and net |
||
29 | ICMP_REDIRECT_TOSHOST = 3 ; for tos and host |
||
30 | |||
31 | ICMP_ALTHOSTADDR = 6 ; alternate host address |
||
32 | ICMP_ECHO = 8 ; echo service |
||
33 | ICMP_ROUTERADVERT = 9 ; router advertisement |
||
34 | ICMP_ROUTERADVERT_NORMAL = 0 ; normal advertisement |
||
35 | ICMP_ROUTERADVERT_NOROUTE_COMMON = 16 ; selective routing |
||
36 | |||
37 | ICMP_ROUTERSOLICIT = 10 ; router solicitation |
||
38 | ICMP_TIMXCEED = 11 ; time exceeded, code: |
||
39 | ICMP_TIMXCEED_INTRANS = 0 ; ttl==0 in transit |
||
40 | ICMP_TIMXCEED_REASS = 1 ; ttl==0 in reass |
||
41 | |||
42 | ICMP_PARAMPROB = 12 ; ip header bad |
||
43 | ICMP_PARAMPROB_ERRATPTR = 0 ; error at param ptr |
||
44 | ICMP_PARAMPROB_OPTABSENT = 1 ; req. opt. absent |
||
45 | ICMP_PARAMPROB_LENGTH = 2 ; bad length |
||
46 | |||
7892 | hidnplayr | 47 | ICMP_TSTAMP = 13 ; timestamp request |
6477 | hidnplayr | 48 | ICMP_TSTAMPREPLY = 14 ; timestamp reply |
7892 | hidnplayr | 49 | ICMP_IREQ = 15 ; information request |
6477 | hidnplayr | 50 | ICMP_IREQREPLY = 16 ; information reply |
7892 | hidnplayr | 51 | ICMP_MASKREQ = 17 ; address mask request |
6477 | hidnplayr | 52 | ICMP_MASKREPLY = 18 ; address mask reply |
53 | ICMP_TRACEROUTE = 30 ; traceroute |
||
54 | ICMP_DATACONVERR = 31 ; data conversion error |
||
55 | ICMP_MOBILE_REDIRECT = 32 ; mobile host redirect |
||
56 | ICMP_IPV6_WHEREAREYOU = 33 ; IPv6 where-are-you |
||
57 | ICMP_IPV6_IAMHERE = 34 ; IPv6 i-am-here |
||
58 | ICMP_MOBILE_REGREQUEST = 35 ; mobile registration req |
||
59 | ICMP_MOBILE_REGREPLY = 36 ; mobile registreation reply |
||
60 | ICMP_SKIP = 39 ; SKIP |
||
61 | |||
62 | ICMP_PHOTURIS = 40 ; Photuris |
||
63 | ICMP_PHOTURIS_UNKNOWN_INDEX = 1 ; unknown sec index |
||
64 | ICMP_PHOTURIS_AUTH_FAILED = 2 ; auth failed |
||
65 | ICMP_PHOTURIS_DECRYPT_FAILED = 3 ; decrypt failed |
||
66 | |||
67 | |||
68 | |||
69 | struct ICMP_header |
||
70 | Type db ? |
||
71 | Code db ? |
||
72 | Checksum dw ? |
||
73 | Identifier dw ? |
||
74 | SequenceNumber dw ? |
||
75 | ends |