how dies rtallocing with XResolve happen

2001-03-21 Thread Geoffrey Crompton (RMIT Guest)
What is the goal of the XRESOLVE mechanism. Is it to allow code in the kernel to inform a userland daemon that a routing lookup was performed and it failed, or is it to allow code in the kernel to have a userland daemon resolve a route for it? If it is the second, how does the userland daem

Re: pseudo interface and ioctls

2001-02-04 Thread Geoffrey Crompton (RMIT Guest)
On Fri, Feb 02, 2001 at 02:23:34AM -0800, Julian Elischer wrote: > "Geoffrey Crompton (RMIT Guest)" wrote: > > > > On Wed, Jan 31, 2001 at 11:50:01PM -0800, Julian Elischer wrote: > > > "Geoffrey Crompton (RMIT Guest)" wrote: > > > why

Re: pseudo interface and ioctls

2001-02-01 Thread Geoffrey Crompton (RMIT Guest)
On Wed, Jan 31, 2001 at 11:50:01PM -0800, Julian Elischer wrote: > "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

pseudo interface and ioctls

2001-01-31 Thread Geoffrey Crompton (RMIT Guest)
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

kernel to userland communication

2001-01-18 Thread Geoffrey Crompton (RMIT Guest)
I'm writing an interface to implement something like the DTI interface from draft-ietf-ngtrans-dstm-03.txt As part of that, I need to have a userland daemon (a modified dhcp client) assign an address to the interface, which is easy using the ioctl mechanism. The tricky bit is finding a way f