summaryrefslogtreecommitdiffstats
path: root/sys/netgraph/ng_parse.h
diff options
context:
space:
mode:
authorharti <harti@FreeBSD.org>2004-01-26 14:05:31 +0000
committerharti <harti@FreeBSD.org>2004-01-26 14:05:31 +0000
commit14cb10664f95adf9dd36c845745d3d5c87d3d636 (patch)
treea18015e7df92db337721d9972123a9203ac17d71 /sys/netgraph/ng_parse.h
parent98f2740a9c4a3cda7a5f4e77919cfe1284eed47c (diff)
downloadFreeBSD-src-14cb10664f95adf9dd36c845745d3d5c87d3d636.zip
FreeBSD-src-14cb10664f95adf9dd36c845745d3d5c87d3d636.tar.gz
Get rid of the deprecated *LEN constants in favour of the new
*SIZ constants that include the trailing \0 byte.
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