[Patch 1/2] libnfnetlink, iface conversion to string

Harald Welte laforge at netfilter.org
Mon Jan 22 13:36:18 CET 2007


On Fri, Jan 19, 2007 at 06:38:42PM +0100, Pablo Neira Ayuso wrote:
> Patrick McHardy wrote:
> > Eric Leblond wrote:
> >>  /* rtnl_receive - receive netlink packets from rtnetlink socket */
> >> -int rtnl_receive()
> >> +int rtnl_receive(int rtnl_fd)
> > 
> > header file needs to be fixed as well. Is the global rtnl_fd still
> > needed?
> 
> Indeed. Eric, all this global stuff below must dissapear at all, from
> rtnl.c:

sorry for leaving such a mess of code for you to clean up.  This was
initially from a daemon, nothing that would ever clutter somebody elses'
namespace.

-- 
- Harald Welte <laforge at netfilter.org>                 http://netfilter.org/
============================================================================
  "Fragmentation is like classful addressing -- an interesting early
   architectural error that shows how much experimentation was going
   on while IP was being designed."                    -- Paul Vixie
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : /pipermail/netfilter-devel/attachments/20070122/6c234586/attachment.pgp


More information about the netfilter-devel mailing list