diff options
author | glebius <glebius@FreeBSD.org> | 2006-10-17 11:01:20 +0000 |
---|---|---|
committer | glebius <glebius@FreeBSD.org> | 2006-10-17 11:01:20 +0000 |
commit | 39416e7f98e62991e6c0f61203c06dfff3813460 (patch) | |
tree | 40f1955868fbd124bbcb547cadbc5c121ed2544c | |
parent | 422e6f6f8b294280f533dc932896d7da5e28283b (diff) | |
download | FreeBSD-src-39416e7f98e62991e6c0f61203c06dfff3813460.zip FreeBSD-src-39416e7f98e62991e6c0f61203c06dfff3813460.tar.gz |
Make ng_ID_t fixed size, so that its maximum value is platform independent.
This will be important in future.
-rw-r--r-- | sys/netgraph/ng_message.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netgraph/ng_message.h b/sys/netgraph/ng_message.h index 8648708..7d0f4d8 100644 --- a/sys/netgraph/ng_message.h +++ b/sys/netgraph/ng_message.h @@ -109,8 +109,8 @@ struct ng_mesg { #define NGF_ORIG 0x00000000 /* the msg is the original request */ #define NGF_RESP 0x00000001 /* the message is a response */ -/* Type of a unique node ID */ -#define ng_ID_t unsigned int +/* Type of a unique node ID. */ +#define ng_ID_t uint32_t /* * Here we describe the "generic" messages that all nodes inherently |