History log of /freebsd/usr.sbin/ngctl/ngctl.h (Results 1 – 25 of 27)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: release/14.0.0
# b3e76948 16-Aug-2023 Warner Losh <imp@FreeBSD.org>

Remove $FreeBSD$: two-line .h pattern

Remove /^\s*\*\n \*\s+\$FreeBSD\$$\n/


Revision tags: release/13.2.0, release/12.4.0, release/13.1.0, release/12.3.0, release/13.0.0, release/12.2.0, release/11.4.0, release/12.1.0, release/11.3.0, release/12.0.0, release/11.2.0, release/10.4.0, release/11.1.0, release/11.0.1, release/11.0.0, release/10.3.0, release/10.2.0, release/10.1.0, release/9.3.0, release/10.0.0, release/9.2.0, release/8.4.0, release/9.1.0, release/8.3.0_cvs, release/8.3.0, release/9.0.0, release/7.4.0_cvs, release/8.2.0_cvs, release/7.4.0, release/8.2.0, release/8.1.0_cvs, release/8.1.0, release/7.3.0_cvs, release/7.3.0, release/8.0.0_cvs, release/8.0.0, release/7.2.0_cvs, release/7.2.0, release/7.1.0_cvs, release/7.1.0, release/6.4.0_cvs, release/6.4.0, release/7.0.0_cvs, release/7.0.0, release/6.3.0_cvs, release/6.3.0, release/6.2.0_cvs, release/6.2.0
# 78cdd8ed 24-May-2006 Gleb Smirnoff <glebius@FreeBSD.org>

Unnest includes before forthcoming editing.


Revision tags: release/5.5.0_cvs, release/5.5.0, release/6.1.0_cvs, release/6.1.0, release/6.0.0_cvs, release/6.0.0, release/5.4.0_cvs, release/5.4.0, release/4.11.0_cvs, release/4.11.0, release/5.3.0_cvs, release/5.3.0, release/4.10.0_cvs, release/4.10.0, release/5.2.1_cvs, release/5.2.1, release/5.2.0_cvs, release/5.2.0
# bbd6d60a 09-Jan-2004 Brian Feldman <green@FreeBSD.org>

Add a GraphViz-exporting ngctl(8) "dot" command. You can now create
very useful .dot files of your netgraph(4) to quickly visualize the
nodes, hooks and edges. An example of this can be found here:

Add a GraphViz-exporting ngctl(8) "dot" command. You can now create
very useful .dot files of your netgraph(4) to quickly visualize the
nodes, hooks and edges. An example of this can be found here:
http://people.freebsd.org/~green/sample-netgraph-dot.ps
If anyone would like to refine the output further, please do so.

show more ...


Revision tags: release/4.9.0_cvs, release/4.9.0, release/5.1.0_cvs, release/5.1.0, release/4.8.0_cvs, release/4.8.0, release/5.0.0_cvs, release/5.0.0, release/4.7.0_cvs, release/4.6.2_cvs, release/4.6.2, release/4.6.1, release/4.6.0_cvs, release/4.5.0_cvs, release/4.4.0_cvs
# be44fce4 22-Jan-2002 Archie Cobbs <archie@FreeBSD.org>

Add ngctl "write" command.

MFC after: 1 week


Revision tags: release/4.3.0_cvs, release/4.3.0
# ede53ee3 17-Mar-2001 Poul-Henning Kamp <phk@FreeBSD.org>

Unrevert something which shouldn't have been reverted in the previous revert.

(Yes, I'm going to bed now to get some much needed sleep...)


# 0c5c7719 17-Mar-2001 Poul-Henning Kamp <phk@FreeBSD.org>

Backout my previous commit, it appearantly doesn't work for asynchronous
messages.


Revision tags: release/4.2.0, release/4.1.1_cvs, release/4.1.0
# 7095e097 03-Jul-2000 Poul-Henning Kamp <phk@FreeBSD.org>

Experiemntal ascii based device configuration mechanism.

This may or may not survive, decision will be made well before 5.0-R


Revision tags: release/3.5.0_cvs
# 6ebb8ebb 20-Jun-2000 Archie Cobbs <archie@FreeBSD.org>

When the 'msg' command is used from the command line, check for a
synchronous reply, and display it (if any) before exiting.

Requested by: phk


Revision tags: release/4.0.0_cvs
# b08b2814 28-Jan-2000 Archie Cobbs <archie@FreeBSD.org>

No need to try loading ng_socket.ko, as NgMkSockNode() does that
for us now if necessary.


Revision tags: release/3.4.0_cvs
# f8307e12 30-Nov-1999 Archie Cobbs <archie@FreeBSD.org>

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

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

show more ...


# 0d6985e2 28-Oct-1999 Archie Cobbs <archie@FreeBSD.org>

If we get an EPROTONOSUPP error when trying to create the netgraph socket
node, it's most likely because the "ng_socket.ko" KLD is not loaded yet.
So make an attempt to load it before giving up.


# ebdb21f4 24-Oct-1999 Matthew Dillon <dillon@FreeBSD.org>

Put include <netgraph.h> back in - problem was due to a cvsup mess on
freefall. There may also be a real problem w/ buildworld but the fix
would go somewhere else, not here.


# f41f949d 23-Oct-1999 Matthew Dillon <dillon@FreeBSD.org>

Cleanup missing includes, stale includes, and a few printf format
inconsistancies.


# 4cf49a43 21-Oct-1999 Julian Elischer <julian@FreeBSD.org>

Whistle's Netgraph link-layer (sometimes more) networking infrastructure.
Been in production for 3 years now. Gives Instant Frame relay to if_sr
and if_ar drivers, and PPPOE support soon. See:
ftp://

Whistle's Netgraph link-layer (sometimes more) networking infrastructure.
Been in production for 3 years now. Gives Instant Frame relay to if_sr
and if_ar drivers, and PPPOE support soon. See:
ftp://ftp.whistle.com/pub/archie/netgraph/index.html
for on-line manual pages.

Reviewed by: Doug Rabson (dfr@freebsd.org)
Obtained from: Whistle CVS tree

show more ...


Revision tags: release/13.2.0, release/12.4.0, release/13.1.0, release/12.3.0, release/13.0.0, release/12.2.0, release/11.4.0, release/12.1.0, release/11.3.0, release/12.0.0, release/11.2.0, release/10.4.0, release/11.1.0, release/11.0.1, release/11.0.0, release/10.3.0, release/10.2.0, release/10.1.0, release/9.3.0, release/10.0.0, release/9.2.0, release/8.4.0, release/9.1.0, release/8.3.0_cvs, release/8.3.0, release/9.0.0, release/7.4.0_cvs, release/8.2.0_cvs, release/7.4.0, release/8.2.0, release/8.1.0_cvs, release/8.1.0, release/7.3.0_cvs, release/7.3.0, release/8.0.0_cvs, release/8.0.0, release/7.2.0_cvs, release/7.2.0, release/7.1.0_cvs, release/7.1.0, release/6.4.0_cvs, release/6.4.0, release/7.0.0_cvs, release/7.0.0, release/6.3.0_cvs, release/6.3.0, release/6.2.0_cvs, release/6.2.0
# 78cdd8ed 24-May-2006 Gleb Smirnoff <glebius@FreeBSD.org>

Unnest includes before forthcoming editing.


Revision tags: release/5.5.0_cvs, release/5.5.0, release/6.1.0_cvs, release/6.1.0, release/6.0.0_cvs, release/6.0.0, release/5.4.0_cvs, release/5.4.0, release/4.11.0_cvs, release/4.11.0, release/5.3.0_cvs, release/5.3.0, release/4.10.0_cvs, release/4.10.0, release/5.2.1_cvs, release/5.2.1, release/5.2.0_cvs, release/5.2.0
# bbd6d60a 09-Jan-2004 Brian Feldman <green@FreeBSD.org>

Add a GraphViz-exporting ngctl(8) "dot" command. You can now create
very useful .dot files of your netgraph(4) to quickly visualize the
nodes, hooks and edges. An example of this can be found here:

Add a GraphViz-exporting ngctl(8) "dot" command. You can now create
very useful .dot files of your netgraph(4) to quickly visualize the
nodes, hooks and edges. An example of this can be found here:
http://people.freebsd.org/~green/sample-netgraph-dot.ps
If anyone would like to refine the output further, please do so.

show more ...


Revision tags: release/4.9.0_cvs, release/4.9.0, release/5.1.0_cvs, release/5.1.0, release/4.8.0_cvs, release/4.8.0, release/5.0.0_cvs, release/5.0.0, release/4.7.0_cvs, release/4.6.2_cvs, release/4.6.2, release/4.6.1, release/4.6.0_cvs, release/4.5.0_cvs, release/4.4.0_cvs
# be44fce4 22-Jan-2002 Archie Cobbs <archie@FreeBSD.org>

Add ngctl "write" command.

MFC after: 1 week


Revision tags: release/4.3.0_cvs, release/4.3.0
# ede53ee3 17-Mar-2001 Poul-Henning Kamp <phk@FreeBSD.org>

Unrevert something which shouldn't have been reverted in the previous revert.

(Yes, I'm going to bed now to get some much needed sleep...)


# 0c5c7719 17-Mar-2001 Poul-Henning Kamp <phk@FreeBSD.org>

Backout my previous commit, it appearantly doesn't work for asynchronous
messages.


Revision tags: release/4.2.0, release/4.1.1_cvs, release/4.1.0
# 7095e097 03-Jul-2000 Poul-Henning Kamp <phk@FreeBSD.org>

Experiemntal ascii based device configuration mechanism.

This may or may not survive, decision will be made well before 5.0-R


Revision tags: release/3.5.0_cvs
# 6ebb8ebb 20-Jun-2000 Archie Cobbs <archie@FreeBSD.org>

When the 'msg' command is used from the command line, check for a
synchronous reply, and display it (if any) before exiting.

Requested by: phk


Revision tags: release/4.0.0_cvs
# b08b2814 28-Jan-2000 Archie Cobbs <archie@FreeBSD.org>

No need to try loading ng_socket.ko, as NgMkSockNode() does that
for us now if necessary.


Revision tags: release/3.4.0_cvs
# f8307e12 30-Nov-1999 Archie Cobbs <archie@FreeBSD.org>

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

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

show more ...


# 0d6985e2 28-Oct-1999 Archie Cobbs <archie@FreeBSD.org>

If we get an EPROTONOSUPP error when trying to create the netgraph socket
node, it's most likely because the "ng_socket.ko" KLD is not loaded yet.
So make an attempt to load it before giving up.


# ebdb21f4 24-Oct-1999 Matthew Dillon <dillon@FreeBSD.org>

Put include <netgraph.h> back in - problem was due to a cvsup mess on
freefall. There may also be a real problem w/ buildworld but the fix
would go somewhere else, not here.


12