diff options
| author | Julian Elischer <julian@FreeBSD.org> | 1999-12-21 01:25:21 +0000 |
|---|---|---|
| committer | Julian Elischer <julian@FreeBSD.org> | 1999-12-21 01:25:21 +0000 |
| commit | 5129159789cc9d7bc514e4546b88e3427695002d (patch) | |
| tree | 74dd80ffee7dcaae624c5dcd7b39b6ca2a922ee6 /sys/modules/netgraph/socket | |
| parent | bedf424beb08370ff557643e2f2e7a7d2134fda3 (diff) | |
Notes
Diffstat (limited to 'sys/modules/netgraph/socket')
| -rw-r--r-- | sys/modules/netgraph/socket/ng_socket.4 | 19 | ||||
| -rw-r--r-- | sys/modules/netgraph/socket/ng_socket.8 | 19 |
2 files changed, 24 insertions, 14 deletions
diff --git a/sys/modules/netgraph/socket/ng_socket.4 b/sys/modules/netgraph/socket/ng_socket.4 index cb224bca809e..2a43b6a30e88 100644 --- a/sys/modules/netgraph/socket/ng_socket.4 +++ b/sys/modules/netgraph/socket/ng_socket.4 @@ -37,7 +37,7 @@ .\" .Dd January 19, 1999 .Dt NG_SOCKET 8 -.Os FreeBSD 4.0 +.Os FreeBSD .Sh NAME .Nm ng_socket .Nd netgraph socket node type @@ -48,7 +48,7 @@ A .Nm socket node is both a BSD socket and a netgraph node. The -.Nm socket +.Nm node type allows user-mode processes to participate in the kernel .Xr netgraph 4 networking subsystem using the BSD socket interface. The process must have @@ -56,7 +56,7 @@ root privileges to be able to create netgraph sockets however once created, any process that has one may use it. .Pp A new -.Nm socket +.Nm node is created by creating a new socket of type .Dv NG_CONTROL in the protocol family @@ -85,13 +85,13 @@ To transmit and receive netgraph data packets, a socket must also be created using .Xr socket 2 and associated with a -.Nm socket +.Nm node. .Dv NG_DATA sockets do not automatically have nodes associated with them; they are bound to a specific node via the .Xr connect 2 system call. The address argument is the netgraph address of the -.Nm socket +.Nm node already created. Once a data socket is associated with a node, any data packets received by the node are read using .Xr recvfrom 2 @@ -169,5 +169,10 @@ socket). .Xr netgraph 4 , .Xr ng_ksocket 8 , .Xr ngctl 8 . -.Sh AUTHOR -Julian Elischer <julian@whistle.com> +.Sh HISTORY +The +.Nm +node type was implemented in +.Fx 4.0 . +.Sh AUTHORS +.An Julian Elischer Aq julian@whistle.com diff --git a/sys/modules/netgraph/socket/ng_socket.8 b/sys/modules/netgraph/socket/ng_socket.8 index cb224bca809e..2a43b6a30e88 100644 --- a/sys/modules/netgraph/socket/ng_socket.8 +++ b/sys/modules/netgraph/socket/ng_socket.8 @@ -37,7 +37,7 @@ .\" .Dd January 19, 1999 .Dt NG_SOCKET 8 -.Os FreeBSD 4.0 +.Os FreeBSD .Sh NAME .Nm ng_socket .Nd netgraph socket node type @@ -48,7 +48,7 @@ A .Nm socket node is both a BSD socket and a netgraph node. The -.Nm socket +.Nm node type allows user-mode processes to participate in the kernel .Xr netgraph 4 networking subsystem using the BSD socket interface. The process must have @@ -56,7 +56,7 @@ root privileges to be able to create netgraph sockets however once created, any process that has one may use it. .Pp A new -.Nm socket +.Nm node is created by creating a new socket of type .Dv NG_CONTROL in the protocol family @@ -85,13 +85,13 @@ To transmit and receive netgraph data packets, a socket must also be created using .Xr socket 2 and associated with a -.Nm socket +.Nm node. .Dv NG_DATA sockets do not automatically have nodes associated with them; they are bound to a specific node via the .Xr connect 2 system call. The address argument is the netgraph address of the -.Nm socket +.Nm node already created. Once a data socket is associated with a node, any data packets received by the node are read using .Xr recvfrom 2 @@ -169,5 +169,10 @@ socket). .Xr netgraph 4 , .Xr ng_ksocket 8 , .Xr ngctl 8 . -.Sh AUTHOR -Julian Elischer <julian@whistle.com> +.Sh HISTORY +The +.Nm +node type was implemented in +.Fx 4.0 . +.Sh AUTHORS +.An Julian Elischer Aq julian@whistle.com |
