From: Wei Dong <[EMAIL PROTECTED]>
Date: Thu, 25 May 2006 16:37:42 +0800

>     When I test linux kernel 2.6.9-34, and find that kernel statistics
> about ipInHdrErrors which exsits in file /proc/net/snmp doesn't increase
> correctly.  The criteria conform to RFC2011:
> 
> ipInHdrErrors OBJECT-TYPE
>     SYNTAX      Counter32
>     MAX-ACCESS  read-only
>     STATUS      current
>     DESCRIPTION
>             "The number of input datagrams discarded due to errors in
>             their IP headers, including bad checksums, version number
>             mismatch, other format errors, time-to-live exceeded, errors
>             discovered in processing their IP options, etc."
> 
> When kernel receives an IP packet containing error protocol in IP
> header, kernel doesn't increase this counter "ipInHdrErrors".

This event is not listed in the description you quoted.

> Also, when kernel receives an IP packet and need to forward, but
> TTL=1 or TTL=0, kernel just sends an ICMP packet to inform the
> sender TTL count exceeded, and doesn't increase this counter.

This part of your change seems correct, please just resubmit
this part.
-
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to