From owner-cvs-sys Sat Dec 13 19:20:53 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id TAA00655 for cvs-sys-outgoing; Sat, 13 Dec 1997 19:20:53 -0800 (PST) (envelope-from owner-cvs-sys) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id TAA00520; Sat, 13 Dec 1997 19:20:13 -0800 (PST) (envelope-from msmith@FreeBSD.org) From: Michael Smith Received: (from msmith@localhost) by freefall.freebsd.org (8.8.6/8.8.5) id TAA26040; Sat, 13 Dec 1997 19:17:55 -0800 (PST) Date: Sat, 13 Dec 1997 19:17:55 -0800 (PST) Message-Id: <199712140317.TAA26040@freefall.freebsd.org> To: cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG Subject: cvs commit: src/sys/i386/linux linux_socket.c Sender: owner-cvs-sys@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk msmith 1997/12/13 19:17:55 PST Modified files: sys/i386/linux linux_socket.c Log: As described by the submitter: - emulate Linux IP_HDRINCL behaviour in sendto(): byte order fixed Note that we do an extra getsockopt() on every sendto() to check if the option is set because we don't keep state in the emulator code. Is there a better way to implement this? - correct a bug (value of "name" not passed) with getsockopt() Submitted by: pb@fasterix.freenix.org (Pierre Beyssac) Revision Changes Path 1.10 +147 -2 src/sys/i386/linux/linux_socket.c