<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote">On Wed, Oct 5, 2016 at 9:50 AM, Max Lapshin <span dir="ltr"><<a href="mailto:max.lapshin@gmail.com" target="_blank">max.lapshin@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><br></div><div>Will such platform specific patch to OTP be accepted, if I add to inet:getstat/1  something like drop_cnt response that will work only under linux?</div><div><br></div></div></blockquote><div><br></div><div>As a rule we do not accept platform specific patches. There has to be a very strong argument to go against that rule.</div><div><br></div><div>In cases like this (when you want to get something that is platform specific on a socket) we recommend using the raw option that can be given to inet:getopts/2. Or am I missing something and that is not applicable in this case?</div><div><br></div><div>Lukas</div></div></div></div>