[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [lwip-users] LWIP 1.3.2
From: |
Kieran Mansley |
Subject: |
Re: [lwip-users] LWIP 1.3.2 |
Date: |
Thu, 18 Mar 2010 14:45:22 +0000 |
On Thu, 2010-03-18 at 14:42 +0000, Kieran Mansley wrote:
> A good way to find answers to questions like these is to look in the
> source for what the option does.
They are even documented in opt.h:
/**
* IP_FORWARD==1: Enables the ability to forward IP packets across network
* interfaces. If you are going to run lwIP on a device with only one network
* interface, define this to 0.
*/
#ifndef IP_FORWARD
#define IP_FORWARD 0
#endif
/**
* IP_OPTIONS_ALLOWED: Defines the behavior for IP options.
* IP_OPTIONS_ALLOWED==0: All packets with IP options are dropped.
* IP_OPTIONS_ALLOWED==1: IP options are allowed (but not parsed).
*/
#ifndef IP_OPTIONS_ALLOWED
#define IP_OPTIONS_ALLOWED 1
#endif
Kieran