Re: how to detect udp packets drops ?

From: Måns Rullgård
Date: Wed Mar 10 2004 - 15:56:53 EST

KyoungSoo Park <kyoungso@xxxxxxxxxxxxxxxx> writes:

> Hi,
> I'm not sure if my question is appropriate, but is there any way to
> directly detect UDP packet drops in linux 2.4.x ? I'd like to know
> how many UDP packets get actually dropped by the kernel for the
> overloaded time period. Any suggestions?

The thing about UDP is that you can't tell if the packet got through,
that's what unreliable means. However, if you just want to test a
link you could send a stream of packets with known data in them, such
as an increasing number sequence. The receiving end will then be able
to tell if there were any drops. Remember that out of order delivery
is allowed for UDP, so you might want to check for that too.

Måns Rullgård

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at