Re: Fwd: socket options (struct sockopt)

2002-02-14 Thread Terry Lambert
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

RE: Fwd: socket options (struct sockopt)

2002-02-14 Thread Andy Sporner
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 help

Fwd: socket options (struct sockopt)

2002-02-14 Thread Aleksander Rozman - Andy
>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 > *