"Geoffrey Crompton (RMIT Guest)" wrote:
why are you doing this?
there are already 4 pseudo interfaces in the system of varying types..
netgraph(2 types), divert, tap, tun.
what do you need to do?
>
> I'm trying to write a pseudo interface, but I'm confused about
> my responsibilities for the _ioctl() command.
>
> It seems that for the assigning of an address, I simply need to
> return 0 to indicate that address family is ok, as the higher level
> functions handle the actuall assignment of addresses. Is this true?
> Do I need to do anything else, such as installing routes into the
> routing table (if I don't want the user to have to run route commands
> for it).
>
> Is my interface responsible for any other SIOC's, or can it safely
> return EINVAL or 0 for SIOC's it doesn't recognize? (Apart from any
> SIOC's that I custom define of course)
>
> Thanks
> Geoff
>
> To Unsubscribe: send mail to [EMAIL PROTECTED]
> with "unsubscribe freebsd-net" in the body of the message
--
__--_|\ Julian Elischer
/ \ [EMAIL PROTECTED]
( OZ ) World tour 2000-2001
---> X_.---._/
v
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-net" in the body of the message