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-unsubscr...@freebsd.org"
> 

_______________________________________________
freebsd-net@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"

Reply via email to