summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorarchie <archie@FreeBSD.org>2000-05-10 16:54:40 +0000
committerarchie <archie@FreeBSD.org>2000-05-10 16:54:40 +0000
commite52673c66d3efb00c180fcdd0f04e9c81df0ff6f (patch)
tree50844e15166aaadc211d013d174832a805b131a0
parent284ada4222a0d783ace7593b2e4a83a69b592ab1 (diff)
downloadFreeBSD-src-e52673c66d3efb00c180fcdd0f04e9c81df0ff6f.zip
FreeBSD-src-e52673c66d3efb00c180fcdd0f04e9c81df0ff6f.tar.gz
Update man page to reflect new IPv6 hook. Simplify Makefile.
-rw-r--r--share/man/man4/ng_cisco.45
-rw-r--r--sys/modules/netgraph/cisco/Makefile26
-rw-r--r--sys/modules/netgraph/cisco/ng_cisco.45
3 files changed, 9 insertions, 27 deletions
diff --git a/share/man/man4/ng_cisco.4 b/share/man/man4/ng_cisco.4
index 34ecda8..98c7a51 100644
--- a/share/man/man4/ng_cisco.4
+++ b/share/man/man4/ng_cisco.4
@@ -62,10 +62,11 @@ The
hook should connect to the synchronous line. On the other side
of the node are the
.Dv inet ,
+.Dv inet6 ,
.Dv atalk ,
and
.Dv ipx
-hooks, which transmit and receive raw IP, AppleTalk, and IPX packets,
+hooks, which transmit and receive raw IP, IPv6, AppleTalk, and IPX packets,
respectively. Typically these hooks would connect to the corresponding
hooks on an
.Xr ng_iface 4
@@ -110,6 +111,8 @@ This node type supports the following hooks:
The connection to the synchronous line.
.It Dv inet
IP hook.
+.It Dv inet6
+IPv6 hook.
.It Dv atalk
AppleTalk hook.
.It Dv ipx
diff --git a/sys/modules/netgraph/cisco/Makefile b/sys/modules/netgraph/cisco/Makefile
index 87c8987..66b528e 100644
--- a/sys/modules/netgraph/cisco/Makefile
+++ b/sys/modules/netgraph/cisco/Makefile
@@ -2,31 +2,7 @@
# $Whistle: Makefile,v 1.2 1999/01/19 19:39:20 archie Exp $
KMOD= ng_cisco
-SRCS= ng_cisco.c opt_inet.h opt_atalk.h opt_ipx.h
+SRCS= ng_cisco.c
MAN4= ng_cisco.4
-IFACE_INET?= 1 # 0/1 - requires INET configured in kernel
-IFACE_NETATALK?= 0 # 0/1 - requires NETATALK configured in kernel
-IFACE_IPX?= 0 # 0/1 - requires IPX configured in kernel
-
-CFLAGS+= ${PROTOS}
-
-opt_inet.h:
- touch opt_inet.h
-.if ${IFACE_INET} > 0
- echo "#define INET 1" > opt_inet.h
-.endif
-
-opt_atalk.h:
- touch opt_atalk.h
-.if ${IFACE_NETATALK} > 0
- echo "#define NETATALK ${IFACE_NETATALK}" > opt_atalk.h
-.endif
-
-opt_ipx.h:
- touch opt_ipx.h
-.if ${IFACE_IPX} > 0
- echo "#define IPX ${IFACE_IPX}" > opt_ipx.h
-.endif
-
.include "${.CURDIR}/../../../conf/kmod.mk"
diff --git a/sys/modules/netgraph/cisco/ng_cisco.4 b/sys/modules/netgraph/cisco/ng_cisco.4
index 34ecda8..98c7a51 100644
--- a/sys/modules/netgraph/cisco/ng_cisco.4
+++ b/sys/modules/netgraph/cisco/ng_cisco.4
@@ -62,10 +62,11 @@ The
hook should connect to the synchronous line. On the other side
of the node are the
.Dv inet ,
+.Dv inet6 ,
.Dv atalk ,
and
.Dv ipx
-hooks, which transmit and receive raw IP, AppleTalk, and IPX packets,
+hooks, which transmit and receive raw IP, IPv6, AppleTalk, and IPX packets,
respectively. Typically these hooks would connect to the corresponding
hooks on an
.Xr ng_iface 4
@@ -110,6 +111,8 @@ This node type supports the following hooks:
The connection to the synchronous line.
.It Dv inet
IP hook.
+.It Dv inet6
+IPv6 hook.
.It Dv atalk
AppleTalk hook.
.It Dv ipx
OpenPOWER on IntegriCloud