Date: Wed, 10 Feb 1999 13:57:14 -0500 From: Brian McGovern <bmcgover@cisco.com> To: hackers@FreeBSD.ORG Subject: How to attach line disciplines (aka Stupid Question #2962) Message-ID: <199902101857.NAA00779@bmcgover-pc.cisco.com>
next in thread | raw e-mail | index | archive | help
I'm in the process of writing a relatively simple line discipline for doing some data translations on input and output. I've been looking at the SLIP and PPP line disciplines as examples, but I haven't quite figured out how to attach this new line discipline without having a network interface to go with it. What I really need to have happen is on boot time, call a function vldattach(). This initializes all of the internal strutures, and sets linesw[x] = my discipline, which should allow applications to change to discipline X.... Pointers? -Brian To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199902101857.NAA00779>