From owner-freebsd-net Thu Jan 18 14: 9:48 2001 Delivered-To: freebsd-net@freebsd.org Received: from gecko.eric.net.au (gecko.eric.net.au [203.102.228.3]) by hub.freebsd.org (Postfix) with ESMTP id 11F3537B401 for ; Thu, 18 Jan 2001 14:09:28 -0800 (PST) Received: (from ghcrompton@localhost) by gecko.eric.net.au (8.9.3/8.8.7) id JAA20394 for freebsd-net@freebsd.org; Fri, 19 Jan 2001 09:12:29 +1100 Date: Fri, 19 Jan 2001 09:12:29 +1100 From: "Geoffrey Crompton (RMIT Guest)" To: freebsd-net@freebsd.org Subject: kernel to userland communication Message-ID: <20010119091229.A20358@gecko.eric.net.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0pre3us Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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 for the interface in the kernel to tell the userland dhcp process that it would now like an address to be assigned to it. (In the draft the interface waits until it has an IPv4 packet to send before it tries to acquire a temporary IPv4 address). I _think_ that in the inria stack they use the routing socket, but I don't understand how they use the routing socket. Any ideas? Thanks, Geoff Crompton To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message