Date: Mon, 3 Nov 2008 19:08:43 -0500 (EST) From: Joe Pellegrino <jdp@elvis.rowan.edu> To: freebsd-drivers@freebsd.org Subject: Basic Driver Development Questions. Message-ID: <Pine.GSO.4.64.0811031852060.1830@elvis.rowan.edu>
next in thread | raw e-mail | index | archive | help
I am trying to develop a small kernel module and I wanted to ask some questions about implementation. First, there is a component of Linux, called netlink, which permits IPC communication between a userspace app and kernel module using sockets. Is there a FreeBSD equivalent? I know you can do this with IOCTL and perhaps through proc but I would prefer using a technique similar to netlink. Toward that I am looking at netgraph (ng_socket) but have run into some trouble mostly related to inexperience with netgraph. So basically: 1. Is there something similar to netlink? 2. Would that be NetGraph? 3. If not what is it? I do have further questions depending on how these are answered. Thanks for your help. :) ---jdp
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.64.0811031852060.1830>