Deleted Added
full compact
netgraph.4 (156360) netgraph.4 (179315)
1.\" Copyright (c) 1996-1999 Whistle Communications, Inc.
2.\" All rights reserved.
3.\"
4.\" Subject to the following obligations and disclaimer of warranty, use and
5.\" redistribution of this software, in source or object code forms, with or
6.\" without modifications are expressly permitted by Whistle Communications;
7.\" provided, however, that:
8.\" 1. Any and all reproductions of the source or object code must include the

--- 20 unchanged lines hidden (view full) ---

29.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
30.\" THIS SOFTWARE, EVEN IF WHISTLE COMMUNICATIONS IS ADVISED OF THE POSSIBILITY
31.\" OF SUCH DAMAGE.
32.\"
33.\" Authors: Julian Elischer <julian@FreeBSD.org>
34.\" Archie Cobbs <archie@FreeBSD.org>
35.\"
36.\" $Whistle: netgraph.4,v 1.7 1999/01/28 23:54:52 julian Exp $
1.\" Copyright (c) 1996-1999 Whistle Communications, Inc.
2.\" All rights reserved.
3.\"
4.\" Subject to the following obligations and disclaimer of warranty, use and
5.\" redistribution of this software, in source or object code forms, with or
6.\" without modifications are expressly permitted by Whistle Communications;
7.\" provided, however, that:
8.\" 1. Any and all reproductions of the source or object code must include the

--- 20 unchanged lines hidden (view full) ---

29.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
30.\" THIS SOFTWARE, EVEN IF WHISTLE COMMUNICATIONS IS ADVISED OF THE POSSIBILITY
31.\" OF SUCH DAMAGE.
32.\"
33.\" Authors: Julian Elischer <julian@FreeBSD.org>
34.\" Archie Cobbs <archie@FreeBSD.org>
35.\"
36.\" $Whistle: netgraph.4,v 1.7 1999/01/28 23:54:52 julian Exp $
37.\" $FreeBSD: head/share/man/man4/netgraph.4 156360 2006-03-06 17:37:42Z keramida $
37.\" $FreeBSD: head/share/man/man4/netgraph.4 179315 2008-05-26 10:40:09Z bz $
38.\"
38.\"
39.Dd July 1, 2004
39.Dd May 25, 2008
40.Dt NETGRAPH 4
41.Os
42.Sh NAME
43.Nm netgraph
44.Nd "graph based kernel networking subsystem"
45.Sh DESCRIPTION
46The
47.Nm

--- 636 unchanged lines hidden (view full) ---

684C and D.
685The nodes would use
686.Em "direct hook pointer"
687addressing to route the messages.
688The message may have travelled from
689.Dq Li Frame1:
690to B
691as a synchronous reply, saving time and cycles.
40.Dt NETGRAPH 4
41.Os
42.Sh NAME
43.Nm netgraph
44.Nd "graph based kernel networking subsystem"
45.Sh DESCRIPTION
46The
47.Nm

--- 636 unchanged lines hidden (view full) ---

684C and D.
685The nodes would use
686.Em "direct hook pointer"
687addressing to route the messages.
688The message may have travelled from
689.Dq Li Frame1:
690to B
691as a synchronous reply, saving time and cycles.
692.Pp
693A similar graph might be used to represent multi-link PPP running
694over an ISDN line:
695.Bd -literal
696[ type BRI ](B1)<--->(link1)[ type MPP ]
697[ "ISDN1" ](B2)<--->(link2)[ (no name) ]
698[ ](D) <-+
699 |
700 +----------------+
701 |
702 +->(switch)[ type Q.921 ](term1)<---->(datalink)[ type Q.931 ]
703 [ (no name) ] [ (no name) ]
704.Ed
705.Ss Netgraph Structures
706Structures are defined in
707.In netgraph/netgraph.h
708(for kernel structures only of interest to nodes)
709and
710.In netgraph/ng_message.h
711(for message definitions also of interest to user programs).
712.Pp

--- 782 unchanged lines hidden ---
692.Ss Netgraph Structures
693Structures are defined in
694.In netgraph/netgraph.h
695(for kernel structures only of interest to nodes)
696and
697.In netgraph/ng_message.h
698(for message definitions also of interest to user programs).
699.Pp

--- 782 unchanged lines hidden ---