summaryrefslogtreecommitdiffstats
path: root/sys/netgraph/ng_parse.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/netgraph/ng_parse.h')
-rw-r--r--sys/netgraph/ng_parse.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/netgraph/ng_parse.h b/sys/netgraph/ng_parse.h
index e8df669..9155551 100644
--- a/sys/netgraph/ng_parse.h
+++ b/sys/netgraph/ng_parse.h
@@ -404,11 +404,11 @@ extern const struct ng_parse_type ng_parse_sizedstring_type;
/*
* COMMONLY USED BOUNDED LENGTH STRING TYPES
*/
-extern const struct ng_parse_type ng_parse_nodebuf_type; /* NG_NODELEN + 1 */
-extern const struct ng_parse_type ng_parse_hookbuf_type; /* NG_HOOKLEN + 1 */
-extern const struct ng_parse_type ng_parse_pathbuf_type; /* NG_PATHLEN + 1 */
-extern const struct ng_parse_type ng_parse_typebuf_type; /* NG_TYPELEN + 1 */
-extern const struct ng_parse_type ng_parse_cmdbuf_type; /* NG_CMDSTRLEN + 1 */
+extern const struct ng_parse_type ng_parse_nodebuf_type; /* NG_NODESIZ */
+extern const struct ng_parse_type ng_parse_hookbuf_type; /* NG_HOOKSIZ */
+extern const struct ng_parse_type ng_parse_pathbuf_type; /* NG_PATHSIZ */
+extern const struct ng_parse_type ng_parse_typebuf_type; /* NG_TYPESIZ */
+extern const struct ng_parse_type ng_parse_cmdbuf_type; /* NG_CMDSTRSIZ */
/*
* INTEGER TYPES
OpenPOWER on IntegriCloud