Em Mon, Nov 19, 2007 at 12:41:17PM +0800, Herbert Xu escreveu: > On Sun, Nov 18, 2007 at 02:40:10PM -0800, David Miller wrote: > > > > This can be fixed, the above cannot. > > That's a good point. Perhaps one way of getting that info to > the user without putting it in UDPInDatagrams is to create an > inet_diag interface for UDP and put the number of queued packets > for each socket in it.
This is something I would love to see: UDP refactored so that it gets its hash tables/lookup code more and more looking like what we have in inet_hashtables (struct inet_hashinfo, etc) so that udp_diag would just fit in the inet_diag infrastructure, like dccp, that is in some aspects like TCP and in others like UDP and already uses this infrastructure. - Arnaldo - 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