diff options
author | fenner <fenner@FreeBSD.org> | 1996-12-03 02:52:29 +0000 |
---|---|---|
committer | fenner <fenner@FreeBSD.org> | 1996-12-03 02:52:29 +0000 |
commit | 0c67934fafa58a5271cfa2c381752fdeb4696353 (patch) | |
tree | a16244a2a08b3e0e8bb20d28197ba1fac690a5f0 /sys/alpha | |
parent | 47ee9196beeaa7a40be71cf2e8642202eef9a54c (diff) | |
download | FreeBSD-src-0c67934fafa58a5271cfa2c381752fdeb4696353.zip FreeBSD-src-0c67934fafa58a5271cfa2c381752fdeb4696353.tar.gz |
Add IP_OPTIONS and the multicast-related setsockopts to the
list of IP setsockopts the Linux emulator recognizes.
Explicitly disallow IP_HDRINCL since Linux's handling of
raw output is different than BSD's.
Closes PR#kern/2111.
Submitted by: y-nakaga@ccs.mt.nec.co.jp (Yoshihisa NAKAGAWA)
Diffstat (limited to 'sys/alpha')
-rw-r--r-- | sys/alpha/linux/linux.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/sys/alpha/linux/linux.h b/sys/alpha/linux/linux.h index 45dc927..1c37344 100644 --- a/sys/alpha/linux/linux.h +++ b/sys/alpha/linux/linux.h @@ -25,7 +25,7 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: linux.h,v 1.10 1996/10/25 16:20:22 bde Exp $ + * $Id: linux.h,v 1.11 1996/11/05 02:04:37 smpatel Exp $ */ #ifndef _I386_LINUX_LINUX_H_ @@ -465,6 +465,14 @@ struct trapframe; #define LINUX_IP_TOS 1 #define LINUX_IP_TTL 2 +#define LINUX_IP_HDRINCL 3 +#define LINUX_IP_OPTIONS 4 + +#define LINUX_IP_MULTICAST_IF 32 +#define LINUX_IP_MULTICAST_TTL 33 +#define LINUX_IP_MULTICAST_LOOP 34 +#define LINUX_IP_ADD_MEMBERSHIP 35 +#define LINUX_IP_DROP_MEMBERSHIP 36 /* Sound system defines */ #define LINUX_SNDCTL_DSP_RESET 0x5000 |