summaryrefslogtreecommitdiffstats
path: root/sys/netgraph/ng_base.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2000-07-03 13:34:18 +0000
committerphk <phk@FreeBSD.org>2000-07-03 13:34:18 +0000
commitaec15566c7a9b50127fb40fbf5ae9c66b1bbf018 (patch)
treeb89fa950ecba2c01b005278180f73adcbadfac27 /sys/netgraph/ng_base.c
parente7f486457aa7b52a0c996b41a4351c072e162f5a (diff)
downloadFreeBSD-src-aec15566c7a9b50127fb40fbf5ae9c66b1bbf018.zip
FreeBSD-src-aec15566c7a9b50127fb40fbf5ae9c66b1bbf018.tar.gz
Experiemntal ascii based device configuration mechanism.
This may or may not survive, decision will be made well before 5.0-R
Diffstat (limited to 'sys/netgraph/ng_base.c')
-rw-r--r--sys/netgraph/ng_base.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/sys/netgraph/ng_base.c b/sys/netgraph/ng_base.c
index 1c0d80e..00ba31a 100644
--- a/sys/netgraph/ng_base.c
+++ b/sys/netgraph/ng_base.c
@@ -267,6 +267,13 @@ static const struct ng_cmdlist ng_generic_cmds[] = {
},
{
NGM_GENERIC_COOKIE,
+ NGM_TEXT_CONFIG,
+ "textconfig",
+ NULL,
+ &ng_parse_string_type
+ },
+ {
+ NGM_GENERIC_COOKIE,
NGM_TEXT_STATUS,
"textstatus",
NULL,
@@ -1589,6 +1596,7 @@ ng_generic_msg(node_p here, struct ng_mesg *msg, const char *retaddr,
break;
}
+ case NGM_TEXT_CONFIG:
case NGM_TEXT_STATUS:
/*
* This one is tricky as it passes the command down to the
OpenPOWER on IntegriCloud