Omron CS1W-ETN21 User Manual

Page 215

Advertising
background image

190

Command/Response Reference

Section 7-3

ICMP Status (Response)

Ten types (46 items) of ICMP status information occupying 4 bytes each are
returned in the following sequence. Each value is returned as an 8-digit hexa-
decimal value.

1,2,3...

1.

The number of times the ICMP error routine was called. The ICMP error
routine uses ICMP packets to inform the source about errors. The routine
is called when an illegal packet is received (error in IP option processing
or error in relay processing) or if the object port does not exist when using
UDP.

2.

Always 0.

3.

Always 0.

4.

Total number of outputs of each packet type during ICMP output. The 19
statistical values are returned in the order shown below. Contents are de-
fined for 13 types only; all other types contain 0. Only #0, #3, #14, #16, and
#18 are counted by the Ethernet Unit.

5.

The number of received ICMP packets discarded because the type-indica-
tion code was out of range.

6.

The number of received ICMP packets discarded because the overall
packet length value in the packet header was smaller than the minimum
ICMP packet length.

7.

The number of received ICMP packets discarded because of an incorrect
checksum value in the packet header.

8.

The number of received ICMP packets discarded because the ICMP head-
er length value in the packet header did not match the lengths of individual
header types.

9.

The number of responses returned to received ICMP packets requiring a
response.

10. Total number of inputs of each packet type during ICMP input. The 19 sta-

tistical values are returned in the order shown below. Contents are defined
for 13 types only; all other types contain 0.

Type number

Description

#0

Echo reply

#1, #2

Undefined, always 0

#3

Destination unreachable

#4

Source quench

#5

Routing redirect

#6, #7

Undefined, always 0

#8

Echo

#9, #10

Undefined, always 0

#11

Time exceeded

#12

Parameter problem

#13

Time stamp

#14

Time stamp reply

#15

Information request

#16

Information request reply

#17

Address mask request

#18

Address mask reply

#0

#1

#2

#3

#4

#5

#15

#16

#17

#18

4 bytes

Advertising