metal/mtce-common/cgts-mtce-common-1.0/common
Eric MacDonald 85a30b56e6 Mtce: Improve efficiency of mtcAgent's end-of-batch message handling
The mtcAgent's message inbox batch handling was needlessly zeroing a
buffer that it would never use after it reached the last received
message.

This update refactors the mtc_service_inbox entry code so that the
message buffer zeroing operation only occurs on the unused part of
fully received messages. To facilitate this change, a new utility for
zeroing a bounded part of a mtce message buf was introduced to common
utils.

Two additional enhancements were also made to the same procedure:
 - variable scoping change.
 - hostaddr and hostname lookup scoping change.

Change-Id: Ia2ef97dad611507b824927ed1652c8df8b54eee5
Signed-off-by: Eric MacDonald <eric.macdonald@windriver.com>
2018-06-26 15:02:07 -04:00
..
Makefile StarlingX open source release updates 2018-05-31 07:36:43 -07:00
alarmUtil.cpp StarlingX open source release updates 2018-05-31 07:36:43 -07:00
alarmUtil.h StarlingX open source release updates 2018-05-31 07:36:43 -07:00
fitCodes.h StarlingX open source release updates 2018-05-31 07:36:43 -07:00
fsync.c StarlingX open source release updates 2018-05-31 07:36:43 -07:00
hostClass.cpp StarlingX open source release updates 2018-05-31 07:36:43 -07:00
hostClass.h StarlingX open source release updates 2018-05-31 07:36:43 -07:00
hostUtil.cpp StarlingX open source release updates 2018-05-31 07:36:43 -07:00
hostUtil.h StarlingX open source release updates 2018-05-31 07:36:43 -07:00
httpUtil.cpp StarlingX open source release updates 2018-05-31 07:36:43 -07:00
httpUtil.h StarlingX open source release updates 2018-05-31 07:36:43 -07:00
ipmiUtil.cpp StarlingX open source release updates 2018-05-31 07:36:43 -07:00
ipmiUtil.h StarlingX open source release updates 2018-05-31 07:36:43 -07:00
jsonUtil.cpp StarlingX open source release updates 2018-05-31 07:36:43 -07:00
jsonUtil.h StarlingX open source release updates 2018-05-31 07:36:43 -07:00
keyClass.cpp StarlingX open source release updates 2018-05-31 07:36:43 -07:00
keyClass.h StarlingX open source release updates 2018-05-31 07:36:43 -07:00
logMacros.h StarlingX open source release updates 2018-05-31 07:36:43 -07:00
msgClass.cpp StarlingX open source release updates 2018-05-31 07:36:43 -07:00
msgClass.h StarlingX open source release updates 2018-05-31 07:36:43 -07:00
nlEvent.cpp StarlingX open source release updates 2018-05-31 07:36:43 -07:00
nlEvent.h StarlingX open source release updates 2018-05-31 07:36:43 -07:00
nodeBase.cpp Mtce: Improve efficiency of mtcAgent's end-of-batch message handling 2018-06-26 15:02:07 -04:00
nodeBase.h Mtce: Improve efficiency of mtcAgent's end-of-batch message handling 2018-06-26 15:02:07 -04:00
nodeClass.cpp StarlingX open source release updates 2018-05-31 07:36:43 -07:00
nodeClass.h StarlingX open source release updates 2018-05-31 07:36:43 -07:00
nodeCmds.h StarlingX open source release updates 2018-05-31 07:36:43 -07:00
nodeEvent.cpp StarlingX open source release updates 2018-05-31 07:36:43 -07:00
nodeEvent.h StarlingX open source release updates 2018-05-31 07:36:43 -07:00
nodeMacro.h StarlingX open source release updates 2018-05-31 07:36:43 -07:00
nodeTimers.cpp StarlingX open source release updates 2018-05-31 07:36:43 -07:00
nodeTimers.h StarlingX open source release updates 2018-05-31 07:36:43 -07:00
nodeUtil.cpp StarlingX open source release updates 2018-05-31 07:36:43 -07:00
nodeUtil.h StarlingX open source release updates 2018-05-31 07:36:43 -07:00
pgdbClass.cpp.OBS StarlingX open source release updates 2018-05-31 07:36:43 -07:00
pgdbClass.h.OBS StarlingX open source release updates 2018-05-31 07:36:43 -07:00
pgdbUtil.cpp.OBS StarlingX open source release updates 2018-05-31 07:36:43 -07:00
pingUtil.cpp StarlingX open source release updates 2018-05-31 07:36:43 -07:00
pingUtil.h StarlingX open source release updates 2018-05-31 07:36:43 -07:00
regexUtil.cpp StarlingX open source release updates 2018-05-31 07:36:43 -07:00
regexUtil.h StarlingX open source release updates 2018-05-31 07:36:43 -07:00
returnCodes.h StarlingX open source release updates 2018-05-31 07:36:43 -07:00
threadUtil.cpp StarlingX open source release updates 2018-05-31 07:36:43 -07:00
threadUtil.h StarlingX open source release updates 2018-05-31 07:36:43 -07:00
timeUtil.cpp StarlingX open source release updates 2018-05-31 07:36:43 -07:00
timeUtil.h StarlingX open source release updates 2018-05-31 07:36:43 -07:00
tokenUtil.cpp StarlingX open source release updates 2018-05-31 07:36:43 -07:00
tokenUtil.h StarlingX open source release updates 2018-05-31 07:36:43 -07:00