How to enable IP Forwarding in RTEMS
Jay Monkman
jtm-list-rtems at smoothsmoothie.com
Thu Jun 3 04:18:13 UTC 2004
On Wed, Jun 02, 2004 at 12:59:43PM +0530, mansoor wrote:
> Hi All
> How to enable IP forwarding in RTEMS
I think you should be able to do it via a sysctl(). I'm not sure how
the sysctl interface works, but it should be very close to BSD.
Perhaps something like this:
int new = 1;
sysctlbyname("net.inet.ip.forwarding",
NULL, NULL
&new, sizeof(new));
The nasty way to do it is just set the variable 'ipforwarding' to 1.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.rtems.org/pipermail/users/attachments/20040602/d1bd27e9/attachment-0001.bin>
More information about the users
mailing list