[Linux-igd-devel] New features for linux-igd 1.0?
Status: Beta
Brought to you by:
krazydime
From: Philip P. <phi...@re...> - 2011-12-30 01:09:36
|
I need to make a couple of changes to linux-igd and wanted to get some advice as I'm unfamiliar with the code. First off, can we explicitly add the multicast route from main.c rather than relying on it in the rc script? For that matter, do we even need to set it? I thought the setsockopt(..., IP_ADD_MULTICAST...) took care of all of that? Second, using getifaddrs() is a little more portable than opening a socket, etc. Third, I think some patching is required to include the correct nf_nat_xxx header files on 2.6.32 and later kernels. Here's a patch for the 2nd issue. -Philip |