From owner-freebsd-questions Thu Feb 8 14:22:28 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id OAA03652 for questions-outgoing; Thu, 8 Feb 1996 14:22:28 -0800 (PST) Received: from genesis.atrad.adelaide.edu.au (genesis.atrad.adelaide.edu.au [129.127.96.120]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id OAA03636 for ; Thu, 8 Feb 1996 14:22:24 -0800 (PST) Received: from msmith@localhost by genesis.atrad.adelaide.edu.au (8.6.12/8.6.9) id IAA17955; Fri, 9 Feb 1996 08:50:10 +1030 From: Michael Smith Message-Id: <199602082220.IAA17955@genesis.atrad.adelaide.edu.au> Subject: Re: ioctl To: Martin.May@sophia.inria.fr (Martin May) Date: Fri, 9 Feb 1996 08:50:10 +1030 (CST) Cc: questions@freebsd.org, mmay@pax.inria.fr In-Reply-To: <199602081816.TAA26656@pax.inria.fr> from "Martin May" at Feb 8, 96 07:16:25 pm MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-questions@freebsd.org Precedence: bulk Martin May stands accused of saying: > > How can I add an ioctl function? > I want to pass a new struct through an udp-socket. Um, you're not making a lot of sense here. If you want to pass a struct through a socket, you just up and write it to the socket. If what you mean is that you want to add more code to the UDP socket functions to do something else, then have a look at how all the other ioctls are implemented. You've got the source, that's what it's for 8) > Martin -- ]] Mike Smith, Software Engineer msmith@atrad.adelaide.edu.au [[ ]] Genesis Software genesis@atrad.adelaide.edu.au [[ ]] High-speed data acquisition and (GSM mobile) 0411-222-496 [[ ]] realtime instrument control (ph/fax) +61-8-267-3039 [[ ]] "wherever you go, there you are" - Buckaroo Banzai [[