<div dir="ltr"><div class="gmail_extra">Seems that I hurried with my email and it was wrong.</div><div class="gmail_extra"><br></div><div class="gmail_extra"><br></div><div class="gmail_extra">1) it seems to be impossible to query packet drops statistics from UDP socket. I need to look in /proc for inode number and parse /proc/net/udp to find row with proper inode</div><div class="gmail_extra"><br></div><div class="gmail_extra">2) yes, it is possible theoretically to query a {raw,X,Y,Z} sockopt and it could help if not (1) and it seems to be a more portable way according to your policy.</div><div class="gmail_extra"><br></div><div class="gmail_extra"><br></div><div class="gmail_extra"><br></div></div>