Hi all,

I have been looking around in ip6.c how the MIB counters are being handled and I ran into a couple of issues with InDelivers:

In ip_rput_data_v6, when a packet is send up to SCTP the InDelivers counter in ip_mib is incremented rather than the one in ill_ip6_mib. I cannot see any reason why this is the case.

Secondly, when a multicast packet is being processed, the InDelivers counter is incremented each time a "matching" connection is found. So the reception of a single packet may increment the counter by more than one, which seems rather odd. The description of the counter itself is "the number of datagrams successfully delivered to the IP user-protocols", so in the case multicast it seems to me that InDelivers counter should only be incremented once as the packet is sent up to the next protocol level (if then multiple UDP endpoints get a copy of the packet should not matter.) What do you guys think?

Anders
_______________________________________________
networking-discuss mailing list
[email protected]

Reply via email to