summaryrefslogtreecommitdiffstats
path: root/lib/mqueue.h
diff options
context:
space:
mode:
authorChris Hall <GMCH@hestia.halldom.com>2010-01-08 00:51:19 +0000
committerChris Hall <GMCH@hestia.halldom.com>2010-01-08 00:51:19 +0000
commit6b5024b3c14b0acf5d4ec05f7ea78a7323c96d59 (patch)
tree89956e840ea5de81b5b564732032d93b95638af0 /lib/mqueue.h
parent18874dc91124118a678984241b18953beb8bb9d9 (diff)
downloadquagga-6b5024b3c14b0acf5d4ec05f7ea78a7323c96d59.tar.bz2
quagga-6b5024b3c14b0acf5d4ec05f7ea78a7323c96d59.tar.xz
Continuing work-in-progress
modified: bgpd/Makefile.am modified: bgpd/bgp.h modified: bgpd/bgp_common.h modified: bgpd/bgp_connection.c modified: bgpd/bgp_connection.h modified: bgpd/bgp_engine.h modified: bgpd/bgp_fsm.c modified: bgpd/bgp_network.c modified: bgpd/bgp_network.h new file: bgpd/bgp_peer_index.c new file: bgpd/bgp_peer_index.h modified: bgpd/bgp_session.c modified: bgpd/bgp_session.h modified: lib/memtypes.c modified: lib/mqueue.h
Diffstat (limited to 'lib/mqueue.h')
-rw-r--r--lib/mqueue.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/mqueue.h b/lib/mqueue.h
index 32ac599e..b1332e68 100644
--- a/lib/mqueue.h
+++ b/lib/mqueue.h
@@ -96,6 +96,8 @@ struct args
char data[mqb_args_size_max] ; /* empty space */
} ;
+#define MQB_ARGS_SIZE_OK(s) CONFIRM(sizeof(struct s) <= mqb_args_size_max)
+
struct mqueue_block
{
struct args args ; /* user structure */