Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Feb 2002 14:50:09 +0100 (MET)
From:      Andy Sporner <sporner@nentec.de>
To:        Aleksander Rozman - Andy <andy@kksonline.com>
Cc:        freebsd-hackers@FreeBSD.ORG
Subject:   RE: Fwd: socket options (struct sockopt)
Message-ID:  <XFMail.020214145009.sporner@nentec.de>
In-Reply-To: <5.0.2.1.0.20020214143320.0665a0c0@213.161.0.10>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.020214145009.sporner>