Re: netlink socket does not accept SOCK_DGRAM

From: Alexander V. Chernikov <melifaro_at_ipfw.ru>
Date: Sun, 15 Jan 2023 20:43:22 UTC
The snl(3) manpage itself includes some examples, including the complete working program in the end<br /><br /><br />/Alexander<br /><br />15.01.2023, 16:55, "User Ngor" &lt;ihor@antonovs.family&gt;:<br /><blockquote><p><br /></p><blockquote class="210e7a848e8fcb45wmi-quote"> It’s a bug. The manage should state SOCK_RAW, but both options should be supported, which is not the case ATM.<br /> I’ll fix it in a couple of days.<br /> Meanwhile it may be worth looking into snl(3) which abstracts issues like this one.<br /></blockquote><p>Thanks, I will take a look. Is there an example somewhere of snl usage? <br />(my C skills are not very strong)<br /><br /><br /></p></blockquote>