From owner-freebsd-hackers Thu Feb 14 5:50:19 2002 Delivered-To: freebsd-hackers@freebsd.org Received: from gate.nentec.de (gate2.nentec.de [194.25.215.66]) by hub.freebsd.org (Postfix) with ESMTP id 691EA37B400 for ; Thu, 14 Feb 2002 05:50:14 -0800 (PST) Received: from nenny.nentec.de (root@nenny.nentec.de [153.92.64.1]) by gate.nentec.de (8.9.3/8.9.3) with ESMTP id OAA19595; Thu, 14 Feb 2002 14:50:13 +0100 Received: from andromeda (andromeda [153.92.64.34]) by nenny.nentec.de (8.11.3/8.11.3/SuSE Linux 8.11.1-0.5) with ESMTP id g1EDoAT11034; Thu, 14 Feb 2002 14:50:10 +0100 Message-ID: X-Mailer: XFMail 1.4.0 on Linux X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <5.0.2.1.0.20020214143320.0665a0c0@213.161.0.10> Date: Thu, 14 Feb 2002 14:50:09 +0100 (MET) Reply-To: Andy Sporner Organization: NENTEC Netywerktechnologie GmbH From: Andy Sporner To: Aleksander Rozman - Andy Subject: RE: Fwd: socket options (struct sockopt) Cc: freebsd-hackers@FreeBSD.ORG X-Virus-Scanned: by AMaViS-perl11-milter (http://amavis.org/) Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, I hope I understand your question correctly, The place you want to look at is in a file in ~sys/kern/uipc_socket.c. The function is 'sosetopt' and is called from ~sys/kern/uipc_syscalls.c. Additionally look in ~sys/sys/socket_var.h at the definition of the socket structure. Hope this helps! Andy On 14-Feb-02 Aleksander Rozman - Andy wrote: > > > >>Hi ! >>I am working on implementation of AX.25 on fbsd (as you probably already >>know)... I need to know how to create socket options (for use with >>xxx_ctlinput, xxx_ctloutput, getsockopt, setsockopt)? In which part of >>code could I see how socket options are created... >> >>Andy >> > > ************************************************************************** > * Aleksander Rozman - Andy * Fandoms: E2:EA, SAABer, Trekkie, Earthie * > * andy@kksonline.com * Sentinel, BH 90210, True's Trooper, * > * andy@atechnet.dhs.org * Heller's Angel, Questie, Legacy, PO5, * > * Maribor, Slovenia (Europe) * Profiler, Buffy (Slayerete), Pretender * > * ICQ-UIC: 4911125 ********************************************* > * PGP key available * http://www.atechnet.dhs.org/~andy/ * > ************************************************************************** > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-hackers" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message