From owner-cvs-sys Sun Dec 14 18:13:39 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id SAA06609 for cvs-sys-outgoing; Sun, 14 Dec 1997 18:13:39 -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 SAA06535; Sun, 14 Dec 1997 18:13:05 -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 SAA25817; Sun, 14 Dec 1997 18:10:40 -0800 (PST) Date: Sun, 14 Dec 1997 18:10:40 -0800 (PST) Message-Id: <199712150210.SAA25817@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/14 18:10:39 PST Modified files: (Branch: RELENG_2_2) sys/i386/linux linux_socket.c Log: Functional merge from current; as described by the contributor: - 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() (see last hunk) Revision Changes Path 1.4.4.2 +139 -2 src/sys/i386/linux/linux_socket.c