Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Apr 2016 12:29:51 -0700
From:      Navdeep Parhar <nparhar@gmail.com>
To:        bazzoola <bazzoola@gmail.com>, freebsd-net@freebsd.org
Subject:   Re: Tracing dropped UDP packets
Message-ID:  <1c18eb03-7520-7653-275c-073305203213@gmail.com>
In-Reply-To: <5711CFF1.60708@gmail.com>
References:  <5711CFF1.60708@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 04/15/2016 22:38, bazzoola wrote:
> Greetings,
> 
> I would like to know where (in the kernel) UDP packets are dropped.

Have you tried netstat -sp udp ?  If the drops show up in some counter
there then you can look at the kernel code to see where the counter is
incremented.

Regards,
Navdeep

> 
> I looked at udp_usrreq.c but is overwhelming for the 1st time. Is it
> possible to use DTrace to locate where the packets are being dropped? or
> is there a tool similar to 'dropwatch' which can tell me where in the
> kernel my packets are getting dropped?
> 
> On Linux, I used dropwatch and they were dropped packets were at
> udp_queue_rcv_skb().
> 
> Thanks!
> _______________________________________________
> freebsd-net@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-net
> To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"
> 




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1c18eb03-7520-7653-275c-073305203213>