Re: nfnetlink: This library is not meant as a public API for application developers.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On Thu, Feb 13, 2020 at 12:27:41PM +0100, Alessandro Vesely wrote:
> Has that disclaimer always been in libnfnetlink home page[*]?
> 
> It is the first time I see it.
>
> I have a userspace filter[†] working with it, and it currently works well.
> 
> If I remove -lnfnetlink from the link command, I get just one undefined
> reference to symbol 'nfnl_rcvbufsiz'.  It is used only if there is a command
> line option to set the buffer size to a given size, to avoid enobufs.  For the
> rest, the daemon uses libnetfilter_queue.
> 
> Should I rewrite that?  How?

Probably, we should rewrite that sentence to: "For new software,
please consider using libmnl instead." which is actually the
intention.

libnetfilter_queue also provides an API that combines well with
libmnl.

There is no plans to remove libnfnetlink anytime soon, it's still
being used by netfilter userspace software.



[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux