Commit Graph

76 Commits

Author SHA1 Message Date
bde
26848a57d8 Backed out rev.1.8. Rev.1.8 was just to support a bogus unused include
in ng_tty.c.
2001-05-17 11:54:30 +00:00
jhay
c70ddad12f Move the isa parts to a separate file. 2001-04-16 13:20:39 +00:00
julian
2e5484d5c3 Allow the eiface node to be made as a module (not linked into build yet) 2001-02-25 06:18:22 +00:00
julian
f6ccdafefd Add a Makefile for the sample node so It can be compiled.
This helps to stop it from geting out of sync.
It is not part of the normal build but I can use it with all the others
when I make changes to netgraph to ensure it is buildable.
2001-02-25 05:34:33 +00:00
julian
c98177cc0f Add a 'splitter' node to separate a bidirectional
packet flow into two unidirectional flows.

Part of a suite of nodes developed for packet flow control.
More to follow as I have time to port them to 5.x or
as others do so. The ipfw node will be the hardest..

Submitted by:	"Vitaly V. Belekhov" <vitaly@riss-telecom.ru>
2001-02-22 17:14:36 +00:00
jhay
c9cca5bcba Make klds for the ar and sr devices and hook them up.
The normal versions are called if_ar.ko and if_sr.ko and the netgraph
versions ng_sync_ar.ko and ng_sync_sr.ko.
2001-01-30 10:20:43 +00:00
obrien
690e163f68 Use a consistent style and one much closer to the rest of /usr/src 2001-01-06 14:00:42 +00:00
msmith
fbe91f5bbd Next phase in the PCI subsystem cleanup.
- Move PCI core code to dev/pci.
 - Split bridge code out into separate modules.
 - Remove the descriptive strings from the bridge drivers.  If you
   want to know what a device is, use pciconf.  Add support for
   broadly identifying devices based on class/subclass, and for
   parsing a preloaded device identification database so that if
   you want to waste the memory, you can identify *anything* we know
   about.
 - Remove machine-dependant code from the core PCI code.  APIC interrupt
   mapping is performed by shadowing the intline register in machine-
   dependant code.
 - Bring interrupt routing support to the Alpha
   (although many platforms don't yet support routing or mapping
   interrupts entirely correctly).  This resulted in spamming
   <sys/bus.h> into more places than it really should have gone.
 - Put sys/dev on the kernel/modules include path.  This avoids
   having to change *all* the pci*.h includes.
2000-12-08 22:11:23 +00:00
jlemon
1a8953db4c Fix another callout_init() that I missed. 2000-11-26 21:59:30 +00:00
phk
dc6560f346 unhook netgraph/bridge until somebody makes it compile in LINT 2000-11-26 16:40:00 +00:00
archie
08acd91a2d Add one2many subdirectory (previously forgotten). 2000-11-22 19:04:42 +00:00
archie
449bf4e5ca New netgraph node type ng_one2many(4). 2000-11-16 05:58:33 +00:00
jasone
daa58ba7a4 Major update to the way synchronization is done in the kernel. Highlights
include:

* Mutual exclusion is used instead of spl*().  See mutex(9).  (Note: The
  alpha port is still in transition and currently uses both.)

* Per-CPU idle processes.

* Interrupts are run in their own separate kernel threads and can be
  preempted (i386 only).

Partially contributed by:	BSDi (BSD/OS)
Submissions by (at least):	cp, dfr, dillon, grog, jake, jhb, sheldonh
2000-09-07 01:33:02 +00:00
archie
c055051f77 New netgraph node type for Ethernet bridging.
No ipfw support yet.
2000-09-01 01:37:13 +00:00
sheldonh
8a16cddc19 When manual pages are moved or removed, MANX should be changed
to NOMAN.

Reported by:	bde
2000-07-24 13:52:07 +00:00
sheldonh
a759b2592b Move the netgraph-related manual pages into share/man/man4/, as
discussed with archie.
2000-07-21 10:46:58 +00:00
archie
572233908e Build ng_ether(4) KLD. 2000-06-26 23:41:08 +00:00
peter
a1907d0b27 Use .include <bsd.kmod.mk> to get to ../../*/conf/kmod.mk instead of
encoding the relative path.
2000-05-27 01:14:33 +00:00
archie
567c520f5e Update man page to reflect new IPv6 hook. Simplify Makefile. 2000-05-10 16:54:40 +00:00
sheldonh
ea43758f6a Supply only one author name per instance of %A, as per mdoc.samples(7).
PR:		18465
Submitted by:	Kazu TAKAMUNE <takamune@avrl.mei.co.jp>
2000-05-10 09:49:04 +00:00
archie
84ea0faba1 AUTHOR -> AUTHORS 2000-05-05 17:08:55 +00:00
archie
b03059bc3c Document the new statistics control messages.
Add a note about the IP header asymmetry on the "lower" hook.
2000-05-05 01:20:28 +00:00
archie
1c00eb42bb Move netgraph node type man pages from section 8 to section 4. 2000-05-04 17:54:37 +00:00
peter
932899b88d Pull in sys/conf/kmod.mk, rather than /usr/share/mk/bsd.kmod.mk.
This means that the kernel can be totally self contained now and is not
dependent on the last buildworld to update /usr/share/mk.  This might
also make it easier to build 5.x kernels on 4.0 boxes etc, assuming
gensetdefs and config(8) are updated.
2000-05-04 12:08:52 +00:00
peter
354283285e Zap KMODDEPS line 2000-05-01 18:58:48 +00:00
julian
c312c7291a Update the man page to reflect the recent changes to the kernel API for
netgraph.
2000-04-30 10:01:11 +00:00
archie
4ceb244823 Only build the ng_mppc KLD if !NOCRYPT and required crypto sources exist. 2000-04-12 19:57:32 +00:00
archie
a8a88a3f89 Revert to previous state, plus a few cleanups pointed out by bde.
Instead, make the decision as to whether to build this KLD in ../Makefile.
2000-04-12 19:56:16 +00:00
archie
5f18d2b449 Turn off build of ng_mppc KLD until I can figure out how to have the
Makefile correctly handle all the possible permutations (including
missing crypto sources). Suggestions welcome.
2000-04-11 17:14:48 +00:00
archie
50c483b621 Turn off MPPE encryption if NOCRYPT is defined. If neither compression
nor encryption is enabled, don't build or install anything.
2000-04-10 22:22:18 +00:00
archie
c3cf510eb3 Add ng_mppc(8) netgraph node as a KLD module.
Obtained from:  Whistle source tree
2000-04-09 21:07:39 +00:00
charnier
91f694ba90 Remove duplicate word 2000-03-26 15:24:53 +00:00
archie
ab5519e3cd - Document updates in iface netgraph node type functionality
- Remove makefile hacks for opt_inet.h, etc: the KLD now supports
  whatever address families your kernel was compiled with automagically
2000-03-13 19:19:48 +00:00
archie
e858ff46ed Fix typo.
Reported by:	Robert Swindells <swindellsr@genrad.co.uk>
2000-03-13 18:29:58 +00:00
archie
7a10e89b83 Correct man page title. 2000-03-10 20:38:24 +00:00
billf
a0905f8ed3 Add a little more history of when netgraph appeared in FreeBSD.
Reviewed by:	asmodai
2000-02-29 18:32:26 +00:00
archie
ddd3b21eca Work around aparent bug in the .Dv macro by eliminating some spaces.
The closing curly-brace in this line was being omitted somehow.
2000-01-17 20:10:39 +00:00
archie
d956a56c1d Fix typos per PR 15649. Also did some rewording for clarity.
PR:		docs/15649
Submitted by:	Kazuo Horikawa <horikawa@jp.FreeBSD.org>
2000-01-03 18:36:42 +00:00
archie
cca4f395b3 Revert previous checkin; I incorrectly thought that it was needed
due to having an old version of bsd.kmod.mk.

Caught by:	bde
1999-12-21 20:51:34 +00:00
julian
43a2ce7ae3 Manual page style work.
Submitted by:	Alexey Zelkin <phantom@FreeBSD.org>
thanks!
1999-12-21 01:25:21 +00:00
archie
30b54fe23e Add reference to RFC 1702, after learning how to have "T. Li"
as an author without nroff blowing up.

Problem solved by:	fenner
1999-12-10 19:29:43 +00:00
archie
77548982c5 Update man page: BPF is supported even in the KLD version. 1999-12-09 00:25:37 +00:00
archie
62c8cc2487 Fix 'make clean' 1999-12-09 00:22:34 +00:00
archie
28ac486495 New netgraph node type 'pptpgre': this performs GRE encapsulation
for the PPTP protocol as specified in RFC 2637.
1999-12-08 18:55:39 +00:00
archie
d52c673e60 Include net/slcompress.c in the build of this module. 1999-12-08 18:51:13 +00:00
julian
ca8e5bdfc1 forgot .CURDIR
caught by Steven G. Kargl <kargl@troutmask.apl.washington.edu>
1999-12-04 03:52:29 +00:00
archie
de3375808e New netgraph node type, ng_bpf(8). This node type allows you to
apply bpf(4) filters to data travelling through a netgraph network.
1999-12-03 21:21:49 +00:00
archie
79c53feeaf Update documentation to reflect new functionality. 1999-11-30 07:24:05 +00:00
archie
f45c5bda67 Fix typo. 1999-11-30 06:47:54 +00:00
archie
f95f4dac4c Add two new generic control messages, NGM_ASCII2BINARY and
NGM_BINARY2ASCII, which convert control messages to ASCII and back.
This allows control messages to be sent and received in ASCII form
using ngctl(8), which makes ngctl a lot more useful.

This also allows all the type-specific debugging code in libnetgraph
to go away -- instead, we just ask the node itself to do the ASCII
translation for us.

Currently, all generic control messages are supported, as well as
messages associated with the following node types: async, cisco,
ksocket, and ppp.

See /usr/share/examples/netgraph/ngctl for an example of using this.

Also give ngctl(8) the ability to print out incoming data and
control messages at any time.  Eventually nghook(8) may be subsumed.

Several other misc. bug fixes.

Reviewed by:	julian
1999-11-30 02:45:32 +00:00