From fc8fd5b5fc5c665b5434af701a0de1391a14d53f Mon Sep 17 00:00:00 2001 From: archie Date: Thu, 4 May 2000 17:40:13 +0000 Subject: [PATCH] Move netgraph node type man pages from section 8 to section 4. --- lib/libnetgraph/netgraph.3 | 6 +- share/man/man4/Makefile | 2 +- share/man/man4/aue.4 | 4 +- share/man/man4/cue.4 | 4 +- share/man/man4/dc.4 | 4 +- share/man/man4/de.4 | 4 +- share/man/man4/ed.4 | 4 +- share/man/man4/fxp.4 | 4 +- share/man/man4/kue.4 | 4 +- share/man/man4/man4.i386/cs.4 | 4 +- share/man/man4/man4.i386/ed.4 | 4 +- share/man/man4/man4.i386/el.4 | 4 +- share/man/man4/man4.i386/ep.4 | 4 +- share/man/man4/man4.i386/ex.4 | 4 +- share/man/man4/man4.i386/fe.4 | 4 +- share/man/man4/man4.i386/ie.4 | 4 +- share/man/man4/man4.i386/le.4 | 4 +- share/man/man4/man4.i386/lnc.4 | 4 +- share/man/man4/man4.i386/rdp.4 | 4 +- share/man/man4/man4.i386/tx.4 | 4 +- share/man/man4/man4.i386/vx.4 | 4 +- share/man/man4/ng_ether.4 | 2 +- share/man/man4/rl.4 | 4 +- share/man/man4/sf.4 | 4 +- share/man/man4/sis.4 | 4 +- share/man/man4/sk.4 | 4 +- share/man/man4/ste.4 | 4 +- share/man/man4/ti.4 | 4 +- share/man/man4/tl.4 | 4 +- share/man/man4/tx.4 | 4 +- share/man/man4/vr.4 | 4 +- share/man/man4/wb.4 | 4 +- share/man/man4/xl.4 | 4 +- share/man/man8/Makefile | 2 +- share/man/man8/ng_ether.8 | 113 --------------------------------- 35 files changed, 66 insertions(+), 179 deletions(-) delete mode 100644 share/man/man8/ng_ether.8 diff --git a/lib/libnetgraph/netgraph.3 b/lib/libnetgraph/netgraph.3 index 2403c0a6c641..f5df1744e9a4 100644 --- a/lib/libnetgraph/netgraph.3 +++ b/lib/libnetgraph/netgraph.3 @@ -276,12 +276,12 @@ control message parse error or illegal value. ASCII control message array or fixed width string buffer overflow. .El .Sh SEE ALSO -.Xr netgraph 4 , -.Xr kld 4 , .Xr socket 2 , .Xr select 2 , .Xr warnx 3 , -.Xr ng_socket 8 +.Xr netgraph 4 , +.Xr ng_socket 4 , +.Xr kld 4 .Sh HISTORY The .Nm netgraph diff --git a/share/man/man4/Makefile b/share/man/man4/Makefile index 722a1afa3aa2..d7163045a1e2 100644 --- a/share/man/man4/Makefile +++ b/share/man/man4/Makefile @@ -9,7 +9,7 @@ MAN4= ahc.4 amd.4 amr.4 an.4 ata.4 atkbd.4 atkbdc.4 aue.4 blackhole.4 \ inet.4 inet6.4 intpm.4 intro.4 ip.4 ip6.4 ipfirewall.4 ipsec.4 isp.4 \ kame.4 keyboard.4 kld.4 \ kue.4 lo.4 lp.4 lpbb.4 lpt.4 mem.4 mlx.4 mouse.4 mtio.4 natm.4 \ - ncr.4 netintro.4 null.4 ohci.4 pass.4 pci.4 pcm.4 pcvt.4 \ + ncr.4 netintro.4 ng_ether.4 null.4 ohci.4 pass.4 pci.4 pcm.4 pcvt.4 \ ppbus.4 ppi.4 ppp.4 psm.4 pt.4 pty.4 rl.4 \ route.4 sa.4 sbc.4 screen.4 scsi.4 \ sd.4 ses.4 sf.4 si.4 sio.4 sis.4 sk.4 sl.4 smb.4 smbus.4 smp.4 snp.4 \ diff --git a/share/man/man4/aue.4 b/share/man/man4/aue.4 index 94adebafc1a2..5283f223f7a5 100644 --- a/share/man/man4/aue.4 +++ b/share/man/man4/aue.4 @@ -130,8 +130,8 @@ The driver failed to allocate an mbuf for the receiver ring. .Sh SEE ALSO .Xr arp 4 , .Xr netintro 4 , -.Xr ifconfig 8 , -.Xr ng_ether 8 +.Xr ng_ether 4 , +.Xr ifconfig 8 .Rs .%T ADMtek AN986 data sheet .%O http://www.admtek.com.tw diff --git a/share/man/man4/cue.4 b/share/man/man4/cue.4 index 8d3f0b1d9ab1..e0c3b6a12161 100644 --- a/share/man/man4/cue.4 +++ b/share/man/man4/cue.4 @@ -74,8 +74,8 @@ The driver failed to allocate an mbuf for the receiver ring. .Sh SEE ALSO .Xr arp 4 , .Xr netintro 4 , -.Xr ifconfig 8 , -.Xr ng_ether 8 +.Xr ng_ether 4 , +.Xr ifconfig 8 .Sh HISTORY The .Nm diff --git a/share/man/man4/dc.4 b/share/man/man4/dc.4 index 4f826eb2fb66..f27ceacc141f 100644 --- a/share/man/man4/dc.4 +++ b/share/man/man4/dc.4 @@ -256,8 +256,8 @@ the card should be configured correctly. .Sh SEE ALSO .Xr arp 4 , .Xr netintro 4 , -.Xr ifconfig 8 , -.Xr ng_ether 8 +.Xr ng_ether 4 , +.Xr ifconfig 8 .Rs .%T ADMtek AL981, AL983 and AL985 data sheets .%O http://www.admtek.com.tw diff --git a/share/man/man4/de.4 b/share/man/man4/de.4 index ee0c75ddb309..83bfe9bcd432 100644 --- a/share/man/man4/de.4 +++ b/share/man/man4/de.4 @@ -108,8 +108,8 @@ in how defines the 21040 in the kernel config file. .Sh SEE ALSO .Xr arp 4 , .Xr netintro 4 , -.Xr ifconfig 8 , -.Xr ng_ether 8 +.Xr ng_ether 4 , +.Xr ifconfig 8 .Sh AUTHORS The .Nm diff --git a/share/man/man4/ed.4 b/share/man/man4/ed.4 index 1138ccd022a3..ddba50250358 100644 --- a/share/man/man4/ed.4 +++ b/share/man/man4/ed.4 @@ -182,8 +182,8 @@ have been received but not yet transfered from the card to main memory. .Sh SEE ALSO .Xr arp 4 , .Xr netintro 4 , -.Xr ifconfig 8 , -.Xr ng_ether 8 +.Xr ng_ether 4 , +.Xr ifconfig 8 .Sh HISTORY The .Nm ed diff --git a/share/man/man4/fxp.4 b/share/man/man4/fxp.4 index 3603f475402a..66d10f76698a 100644 --- a/share/man/man4/fxp.4 +++ b/share/man/man4/fxp.4 @@ -81,8 +81,8 @@ the network connection (cable). .Sh SEE ALSO .Xr arp 4 , .Xr netintro 4 , -.Xr ifconfig 8 , -.Xr ng_ether 8 +.Xr ng_ether 4 , +.Xr ifconfig 8 .Sh HISTORY The .Nm diff --git a/share/man/man4/kue.4 b/share/man/man4/kue.4 index bd59646d816d..53a17be4337e 100644 --- a/share/man/man4/kue.4 +++ b/share/man/man4/kue.4 @@ -76,8 +76,8 @@ The driver failed to allocate an mbuf for the receiver ring. .Sh SEE ALSO .Xr arp 4 , .Xr netintro 4 , -.Xr ifconfig 8 , -.Xr ng_ether 8 +.Xr ng_ether 4 , +.Xr ifconfig 8 .Sh HISTORY The .Nm diff --git a/share/man/man4/man4.i386/cs.4 b/share/man/man4/man4.i386/cs.4 index 9a0fe3b3e4e5..3d0da144d94c 100644 --- a/share/man/man4/man4.i386/cs.4 +++ b/share/man/man4/man4.i386/cs.4 @@ -95,8 +95,8 @@ in order to avoid overruns. .Sh SEE ALSO .Xr arp 4 , .Xr netintro 4 , -.Xr ifconfig 8 , -.Xr ng_ether 8 +.Xr ng_ether 4 , +.Xr ifconfig 8 .Sh AUTHORS The .Nm diff --git a/share/man/man4/man4.i386/ed.4 b/share/man/man4/man4.i386/ed.4 index 1138ccd022a3..ddba50250358 100644 --- a/share/man/man4/man4.i386/ed.4 +++ b/share/man/man4/man4.i386/ed.4 @@ -182,8 +182,8 @@ have been received but not yet transfered from the card to main memory. .Sh SEE ALSO .Xr arp 4 , .Xr netintro 4 , -.Xr ifconfig 8 , -.Xr ng_ether 8 +.Xr ng_ether 4 , +.Xr ifconfig 8 .Sh HISTORY The .Nm ed diff --git a/share/man/man4/man4.i386/el.4 b/share/man/man4/man4.i386/el.4 index de44dcddb70b..10b1cbcc17b2 100644 --- a/share/man/man4/man4.i386/el.4 +++ b/share/man/man4/man4.i386/el.4 @@ -53,5 +53,5 @@ Does not currently support multicasts. .Xr ie 4 , .Xr intro 4 , .Xr le 4 , -.Xr ifconfig 8 , -.Xr ng_ether 8 +.Xr ng_ether 4 , +.Xr ifconfig 8 diff --git a/share/man/man4/man4.i386/ep.4 b/share/man/man4/man4.i386/ep.4 index 11d0f0985014..8e18aaa33760 100644 --- a/share/man/man4/man4.i386/ep.4 +++ b/share/man/man4/man4.i386/ep.4 @@ -112,8 +112,8 @@ Erase the pencil mark and reboot. .Xr intro 4 , .Xr le 4 , .Xr vx 4 , -.Xr ifconfig 8 , -.Xr ng_ether 8 +.Xr ng_ether 4 , +.Xr ifconfig 8 .Sh STANDARDS are great. There's so many to choose from. diff --git a/share/man/man4/man4.i386/ex.4 b/share/man/man4/man4.i386/ex.4 index 1d9da182d1f5..e3cc65658ec3 100644 --- a/share/man/man4/man4.i386/ex.4 +++ b/share/man/man4/man4.i386/ex.4 @@ -63,8 +63,8 @@ Currently the driver does not support multicast. .Sh SEE ALSO .Xr arp 4 , .Xr netintro 4 , -.Xr ifconfig 8 , -.Xr ng_ether 8 +.Xr ng_ether 4 , +.Xr ifconfig 8 .Sh HISTORY The .Nm diff --git a/share/man/man4/man4.i386/fe.4 b/share/man/man4/man4.i386/fe.4 index af6a8fdc40bf..30bb2b8a681c 100644 --- a/share/man/man4/man4.i386/fe.4 +++ b/share/man/man4/man4.i386/fe.4 @@ -240,9 +240,9 @@ It requires the PC card (PCMCIA) support package. .Xr crd 4 , .Xr ed 4 , .Xr netintro 4 , +.Xr ng_ether 4 , .Xr ifconfig 8 , -.Xr pccardd 8 , -.Xr ng_ether 8 +.Xr pccardd 8 .Sh BUGS Following are major known bugs: .Pp diff --git a/share/man/man4/man4.i386/ie.4 b/share/man/man4/man4.i386/ie.4 index 88783ac99aea..fa3157030395 100644 --- a/share/man/man4/man4.i386/ie.4 +++ b/share/man/man4/man4.i386/ie.4 @@ -76,8 +76,8 @@ RAM chip. .Sh SEE ALSO .Xr arp 4 , .Xr netintro 4 , -.Xr ifconfig 8 , -.Xr ng_ether 8 +.Xr ng_ether 4 , +.Xr ifconfig 8 .Sh AUTHORS The .Nm diff --git a/share/man/man4/man4.i386/le.4 b/share/man/man4/man4.i386/le.4 index a8a4068c512c..6f52d06e199b 100644 --- a/share/man/man4/man4.i386/le.4 +++ b/share/man/man4/man4.i386/le.4 @@ -77,9 +77,9 @@ the EtherWORKS card. .Sh SEE ALSO .Xr arp 4 , .Xr netintro 4 , +.Xr ng_ether 4 , .Xr config 8 , -.Xr ifconfig 8 , -.Xr ng_ether 8 +.Xr ifconfig 8 .Rs .%T "Building 4.3 BSD UNIX System with Config" .Re diff --git a/share/man/man4/man4.i386/lnc.4 b/share/man/man4/man4.i386/lnc.4 index 115dfa90b16d..4a0c0f8d0d84 100644 --- a/share/man/man4/man4.i386/lnc.4 +++ b/share/man/man4/man4.i386/lnc.4 @@ -104,8 +104,8 @@ Ethernet device drivers. .Sh SEE ALSO .Xr arp 4 , .Xr netintro 4 , -.Xr ifconfig 8 , -.Xr ng_ether 8 +.Xr ng_ether 4 , +.Xr ifconfig 8 .Sh HISTORY The .Nm diff --git a/share/man/man4/man4.i386/rdp.4 b/share/man/man4/man4.i386/rdp.4 index 08f38f810430..4414d4d68110 100644 --- a/share/man/man4/man4.i386/rdp.4 +++ b/share/man/man4/man4.i386/rdp.4 @@ -122,8 +122,8 @@ hardware is likely to be wedged, and is being reset. .Pp .Sh SEE ALSO .Xr ppc 4 , -.Xr ifconfig 8 , -.Xr ng_ether 8 +.Xr ng_ether 4 , +.Xr ifconfig 8 .Sh AUTHORS This driver was written by .ie t J\(:org Wunsch, diff --git a/share/man/man4/man4.i386/tx.4 b/share/man/man4/man4.i386/tx.4 index 9496be43d521..64c4e79e595a 100644 --- a/share/man/man4/man4.i386/tx.4 +++ b/share/man/man4/man4.i386/tx.4 @@ -88,5 +88,5 @@ Only one PHY was really tested (Quality Semiconductor QS6612). .Sh SEE ALSO .Xr arp 4 , .Xr netintro 4 , -.Xr ifconfig 8 , -.Xr ng_ether 8 +.Xr ng_ether 4 , +.Xr ifconfig 8 diff --git a/share/man/man4/man4.i386/vx.4 b/share/man/man4/man4.i386/vx.4 index b9f4796993c9..e3db805fe610 100644 --- a/share/man/man4/man4.i386/vx.4 +++ b/share/man/man4/man4.i386/vx.4 @@ -87,8 +87,8 @@ claims to support. .Sh SEE ALSO .Xr arp 4 , .Xr netintro 4 , -.Xr ifconfig 8 , -.Xr ng_ether 8 +.Xr ng_ether 4 , +.Xr ifconfig 8 .Sh HISTORY The .Nm vx diff --git a/share/man/man4/ng_ether.4 b/share/man/man4/ng_ether.4 index 5e6d32cdc1ad..e9db8d1ac63e 100644 --- a/share/man/man4/ng_ether.4 +++ b/share/man/man4/ng_ether.4 @@ -35,7 +35,7 @@ .\" $FreeBSD$ .\" .Dd January 25, 2000 -.Dt NG_ETHER 8 +.Dt NG_ETHER 4 .Os FreeBSD .Sh NAME .Nm ng_ether diff --git a/share/man/man4/rl.4 b/share/man/man4/rl.4 index 9709841d5778..8419c8e51350 100644 --- a/share/man/man4/rl.4 +++ b/share/man/man4/rl.4 @@ -161,8 +161,8 @@ the card should be configured correctly. .Sh SEE ALSO .Xr arp 4 , .Xr netintro 4 , -.Xr ifconfig 8 , -.Xr ng_ether 8 +.Xr ng_ether 4 , +.Xr ifconfig 8 .Rs .%B The RealTek 8129 and 8139 datasheets .%O ftp.realtek.com.tw:/lancard/data sheet diff --git a/share/man/man4/sf.4 b/share/man/man4/sf.4 index efbad00cac12..89bc53a99c9f 100644 --- a/share/man/man4/sf.4 +++ b/share/man/man4/sf.4 @@ -153,8 +153,8 @@ the network connection (cable). .Sh SEE ALSO .Xr arp 4 , .Xr netintro 4 , -.Xr ifconfig 8 , -.Xr ng_ether 8 +.Xr ng_ether 4 , +.Xr ifconfig 8 .Rs .%T The Adaptec AIC-6915 Programmer's Manual .%O ftp://ftp.adaptec.com/pub/BBS/userguides/aic6915_pg.pdf diff --git a/share/man/man4/sis.4 b/share/man/man4/sis.4 index 572f3c0a32ad..15a65cbccf11 100644 --- a/share/man/man4/sis.4 +++ b/share/man/man4/sis.4 @@ -141,8 +141,8 @@ the card should be configured correctly. .Sh SEE ALSO .Xr arp 4 , .Xr netintro 4 , -.Xr ifconfig 8 , -.Xr ng_ether 8 +.Xr ng_ether 4 , +.Xr ifconfig 8 .Rs .%T SiS 900 and SiS 7016 datasheets .%O http://www.sis.com.tw diff --git a/share/man/man4/sk.4 b/share/man/man4/sk.4 index 96bfbddf2647..f1b4d94518d1 100644 --- a/share/man/man4/sk.4 +++ b/share/man/man4/sk.4 @@ -186,8 +186,8 @@ the network connection (cable). .Xr arp 4 , .Xr netintro 4 , .Xr vlan 4 , -.Xr ifconfig 8 , -.Xr ng_ether 8 +.Xr ng_ether 4 , +.Xr ifconfig 8 .Rs .%T XaQti XMAC II datasheet .%O http://www.xaqti.com diff --git a/share/man/man4/ste.4 b/share/man/man4/ste.4 index 342f39c569f5..5e30bc66c3c7 100644 --- a/share/man/man4/ste.4 +++ b/share/man/man4/ste.4 @@ -143,8 +143,8 @@ the card should be configured correctly. .Sh SEE ALSO .Xr arp 4 , .Xr netintro 4 , -.Xr ifconfig 8 , -.Xr ng_ether 8 +.Xr ng_ether 4 , +.Xr ifconfig 8 .Rs .%T Sundance ST201 data sheet .%O http://www.sundanceti.com diff --git a/share/man/man4/ti.4 b/share/man/man4/ti.4 index 294098da348c..d66b9137f10b 100644 --- a/share/man/man4/ti.4 +++ b/share/man/man4/ti.4 @@ -191,8 +191,8 @@ the network connection (cable). .Xr arp 4 , .Xr netintro 4 , .Xr vlan 4 , -.Xr ifconfig 8 , -.Xr ng_ether 8 +.Xr ng_ether 4 , +.Xr ifconfig 8 .Rs .%T Alteon Gigabit Ethernet/PCI NIC manuals .%O http://www.alteon.com/support/openkits diff --git a/share/man/man4/tl.4 b/share/man/man4/tl.4 index 367236277d56..98516ed4a826 100644 --- a/share/man/man4/tl.4 +++ b/share/man/man4/tl.4 @@ -121,8 +121,8 @@ allocating a pad buffer or collapsing an mbuf chain into a cluster. .Sh SEE ALSO .Xr arp 4 , .Xr netintro 4 , -.Xr ifconfig 8 , -.Xr ng_ether 8 +.Xr ng_ether 4 , +.Xr ifconfig 8 .Sh HISTORY The .Nm diff --git a/share/man/man4/tx.4 b/share/man/man4/tx.4 index 9496be43d521..64c4e79e595a 100644 --- a/share/man/man4/tx.4 +++ b/share/man/man4/tx.4 @@ -88,5 +88,5 @@ Only one PHY was really tested (Quality Semiconductor QS6612). .Sh SEE ALSO .Xr arp 4 , .Xr netintro 4 , -.Xr ifconfig 8 , -.Xr ng_ether 8 +.Xr ng_ether 4 , +.Xr ifconfig 8 diff --git a/share/man/man4/vr.4 b/share/man/man4/vr.4 index cf146237d5b3..1a771ab40309 100644 --- a/share/man/man4/vr.4 +++ b/share/man/man4/vr.4 @@ -150,8 +150,8 @@ the card should be configured correctly. .Sh SEE ALSO .Xr arp 4 , .Xr netintro 4 , -.Xr ifconfig 8 , -.Xr ng_ether 8 +.Xr ng_ether 4 , +.Xr ifconfig 8 .Rs .%T The VIA Technologies VT86C100A data sheet .%O http://www.via.com.tw diff --git a/share/man/man4/wb.4 b/share/man/man4/wb.4 index a95912472ed2..307ac5869030 100644 --- a/share/man/man4/wb.4 +++ b/share/man/man4/wb.4 @@ -150,8 +150,8 @@ the card should be configured correctly. .Sh SEE ALSO .Xr arp 4 , .Xr netintro 4 , -.Xr ifconfig 8 , -.Xr ng_ether 8 +.Xr ng_ether 4 , +.Xr ifconfig 8 .Sh HISTORY The .Nm diff --git a/share/man/man4/xl.4 b/share/man/man4/xl.4 index 86be2a97cfc4..fd41b6a55b74 100644 --- a/share/man/man4/xl.4 +++ b/share/man/man4/xl.4 @@ -184,8 +184,8 @@ the author considers it a manufacturing defect. .Sh SEE ALSO .Xr arp 4 , .Xr netintro 4 , -.Xr ifconfig 8 , -.Xr ng_ether 8 +.Xr ng_ether 4 , +.Xr ifconfig 8 .Sh HISTORY The .Nm diff --git a/share/man/man8/Makefile b/share/man/man8/Makefile index 5f65693da888..40806996ae72 100644 --- a/share/man/man8/Makefile +++ b/share/man/man8/Makefile @@ -1,7 +1,7 @@ # @(#)Makefile 8.1 (Berkeley) 6/5/93 # $FreeBSD$ -MAN8= adding_user.8 crash.8 diskless.8 intro.8 ng_ether.8 picobsd.8 rc.8 sticky.8 +MAN8= adding_user.8 crash.8 diskless.8 intro.8 picobsd.8 rc.8 sticky.8 MLINKS= rc.8 rc.serial.8 rc.8 rc.pccard.8 rc.8 rc.network.8 \ rc.8 rc.firewall.8 rc.8 rc.atm.8 rc.8 rc.local.8 rc.8 rc.shutdown.8 diff --git a/share/man/man8/ng_ether.8 b/share/man/man8/ng_ether.8 deleted file mode 100644 index 5e6d32cdc1ad..000000000000 --- a/share/man/man8/ng_ether.8 +++ /dev/null @@ -1,113 +0,0 @@ -.\" Copyright (c) 2000 Whistle Communications, Inc. -.\" All rights reserved. -.\" -.\" Subject to the following obligations and disclaimer of warranty, use and -.\" redistribution of this software, in source or object code forms, with or -.\" without modifications are expressly permitted by Whistle Communications; -.\" provided, however, that: -.\" 1. Any and all reproductions of the source or object code must include the -.\" copyright notice above and the following disclaimer of warranties; and -.\" 2. No rights are granted, in any manner or form, to use Whistle -.\" Communications, Inc. trademarks, including the mark "WHISTLE -.\" COMMUNICATIONS" on advertising, endorsements, or otherwise except as -.\" such appears in the above copyright notice or in the software. -.\" -.\" THIS SOFTWARE IS BEING PROVIDED BY WHISTLE COMMUNICATIONS "AS IS", AND -.\" TO THE MAXIMUM EXTENT PERMITTED BY LAW, WHISTLE COMMUNICATIONS MAKES NO -.\" REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, REGARDING THIS SOFTWARE, -.\" INCLUDING WITHOUT LIMITATION, ANY AND ALL IMPLIED WARRANTIES OF -.\" MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT. -.\" WHISTLE COMMUNICATIONS DOES NOT WARRANT, GUARANTEE, OR MAKE ANY -.\" REPRESENTATIONS REGARDING THE USE OF, OR THE RESULTS OF THE USE OF THIS -.\" SOFTWARE IN TERMS OF ITS CORRECTNESS, ACCURACY, RELIABILITY OR OTHERWISE. -.\" IN NO EVENT SHALL WHISTLE COMMUNICATIONS BE LIABLE FOR ANY DAMAGES -.\" RESULTING FROM OR ARISING OUT OF ANY USE OF THIS SOFTWARE, INCLUDING -.\" WITHOUT LIMITATION, ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, -.\" PUNITIVE, OR CONSEQUENTIAL DAMAGES, PROCUREMENT OF SUBSTITUTE GOODS OR -.\" SERVICES, LOSS OF USE, DATA OR PROFITS, HOWEVER CAUSED AND UNDER ANY -.\" THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT -.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF -.\" THIS SOFTWARE, EVEN IF WHISTLE COMMUNICATIONS IS ADVISED OF THE POSSIBILITY -.\" OF SUCH DAMAGE. -.\" -.\" Author: Archie Cobbs -.\" -.\" $FreeBSD$ -.\" -.Dd January 25, 2000 -.Dt NG_ETHER 8 -.Os FreeBSD -.Sh NAME -.Nm ng_ether -.Nd Ethernet netgraph node type -.Sh SYNOPSIS -.Fd #include -.Sh DESCRIPTION -The -.Nm ether -netgraph node type allows Ethernet interfaces to interact with -the -.Xr netgraph 4 -networking subsystem. The kernel must be compiled with -.Bd -literal - options NETGRAPH -.Ed -.Pp -for this functionality to be enabled. -This causes a netgraph node to be automatically created for each Ethernet -interface in the system. The node will have a name equal to -the name of the interface, and it will be persistent. -.Pp -The Ethernet interface continues to function normally until a connection -is made to one of the two supported hooks, -.Dv orphans -or -.Dv divert . -The -.Dv orphans -hook is used to receive Ethernet frames received by the device and -having an unknown or unsupported Ethertype. -The -.Dv divert -hook is used to divert -.Em all -Ethernet frames received by the device; the interface will otherwise -appear to go silent until this hook is disconnected. -.Pp -Either hook may be used to transmit Ethernet frames by transmitting packets -to the hook. In all cases, frames are raw Ethernet frames with the standard -14 byte Ethernet header (but no checksum). -.Sh HOOKS -This node type supports the following hooks: -.Pp -.Bl -tag -width orphans -.It Dv orphans -This hook transmits Ethernet frames received by the device and -having an unknown or unsupported Ethertype. Frames received on -this hook are written as-is out on the wire. -.It Dv divert -When connected, this hook transmits all Ethernet frames received by the device. -Frames received on this hook are written as-is out on the wire. -.El -.Sh CONTROL MESSAGES -This node type supports only the generic control messages. -.Sh SHUTDOWN -This node is persistent. Upon receipt of a -.Dv NGM_SHUTDOWN -control message, all hooks are disconnected. -.Sh EXAMPLE -This command will dump all packets received by the -.Dv fxp0 -interface to standard output as decoded hex and ASCII: -.Bd -literal -offset indent -nghook -a fxp0: divert -.Ed -.Sh SEE ALSO -.Xr arp 4 , -.Xr netgraph 4 , -.Xr netintro 4 , -.Xr ifconfig 8 , -.Xr nghook 8 , -.Xr ngctl 8 -.Sh AUTHOR -.An Julian Elischer Aq julian@FreeBSD.org