Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Jan 1999 14:26:08 -0800 (PST)
From:      Julian Elischer <julian@whistle.com>
To:        phk@FreeBSD.ORG
Cc:        net@FreeBSD.ORG
Subject:   Netgraph new version
Message-ID:  <Pine.BSF.3.95.990121135435.12406D-100000@current1.whistle.com>

next in thread | raw e-mail | index | archive | help
A prerelease version is available at:
The release version is waiting for 'make world' to work again, so
We can do our last tests on it. This is substantially production quality
code, as we have spent a week cleaning and preening.

ftp://ftp.whistle.com/pub/archie/misc/netgraph.tgz

This file includes a USEFUL README file, a tar file of new files and a
patch file to change existing files.. (including a patch to netstat to
allow it to report netgraph 'socket' nodes.)

Man pages for all the node types 

patches to if_sr.c and if_ar.c compile cleanly and give examples of how a
sync card should be interfaced..  (if_ar.c is easier to understand) (these
cannot be tested as we don't have those cards, but the netgraph code has
been tested with our own proprietary card) 

All nodes except the sync cards can be loaded as KLD modules
however to compile the sync cards in you also need the base netgraph
module in the kernel.

requires newest version of uipc_domain.c and domian.h

If you want to test it without the sync cards, you can load the whole
thing into a new kernel as modules and try it from there.

You should read the man pages:
netgraph(4)
ng_socket
netgraph(3)
ngctl(8)
nghook(8)
ng_{other tyes}

probably in that order

The following modules are supplied:
base - the base framework.
UI - simple node t add/strip "Un-numbered Information" header (0x03)
async - do rfc 1662 framing/unframing on a packet
cisco - 'cisco' hdlc framing and protocol.
echo - echoes packets back at sender
hole - blackhole (discard device)
iface - netgraph node on one side, regular interface on the other
rfc1490 - rfc1490 frame-relay protocol encapsulation
lmi - frame relay link management protocol handler.
frame-relay - frame-relay channel multiplexor/demultiplexor
socket - netgraph node on one side, socket on the other
tee - assist debugging by tapping a link
tty - netgraph node on one side, tty line disciplin on the other.

plus:
if_sr.c, if_ar.c patches to make these netgraph capable.

ppp - unfinished ppp node
vjc - unfinished van-jacobson compression node

patches are also available for mpd to allow mpd to run multilink ppp
into a netgraph socket. (not supplied)

Netgraph is designed to allow quick development of production quality
modules that can be re-used in such environments as ATM, fram-relay, ppp,
async-ppp, ISDN.

Each module knows how to do ONE thing. you hook them together to do more.

julian




To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-net" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.95.990121135435.12406D-100000>