Messages in this thread | | | From | (Måns Rullgård) | Subject | Re: how to detect udp packets drops ? | Date | Wed, 10 Mar 2004 21:51:44 +0100 |
| |
KyoungSoo Park <kyoungso@cs.princeton.edu> 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 mru@kth.se
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |