1 diff -Naur emane-0.6.4/agents/gpsdlocation/gpsdlocationagent.cc emane-0.6.4-patched/agents/gpsdlocation/gpsdlocationagent.cc
2 --- emane-0.6.4/agents/gpsdlocation/gpsdlocationagent.cc 2010-09-22 09:38:02.000000000 -0400
3 +++ emane-0.6.4-patched/agents/gpsdlocation/gpsdlocationagent.cc 2011-03-03 13:08:30.013086717 -0500
5 #include "emaneutils/parameterconvert.h"
8 -#include <ace/LSOCK_Connector.h>
9 -#include <ace/SOCK_Connector.h>
10 #include <ace/DEV_Connector.h>
11 #include <ace/FILE_Connector.h>
12 +#include <ace/LSOCK_Connector.h>
13 +#include <ace/OS_NS_time.h>
14 +#include <ace/SOCK_Connector.h>
15 #include <ace/TTY_IO.h>
22 - ACE_DEV_CONNECTOR devConnector;
23 + ACE_DEV_Connector devConnector;
24 ACE_TTY_IO::Serial_Params serial_params;
26 if(devConnector.connect(slaveTTY,ACE_DEV_Addr(&pzName[1])) == -1)
27 diff -Naur emane-0.6.4/configure.ac emane-0.6.4-patched/configure.ac
28 --- emane-0.6.4/configure.ac 2010-09-22 09:38:06.000000000 -0400
29 +++ emane-0.6.4-patched/configure.ac 2011-03-03 13:08:30.016420740 -0500
31 LDFLAGS="${ACE_LIBS} ${LDFLAGS}"
34 -AC_CHECK_HEADER(ace/OS.h,
35 +AC_CHECK_HEADER(ace/ACE.h,
36 [AC_CHECK_LIB([ACE],main,[ACE_LIBS+=' -lACE'],[AC_MSG_ERROR("ACE not installed")])],
37 [AC_MSG_ERROR("Missing ACE development headers")])
39 diff -Naur emane-0.6.4/generators/emulationscript/emulationscripteventgenerator.cc emane-0.6.4-patched/generators/emulationscript/emulationscripteventgenerator.cc
40 --- emane-0.6.4/generators/emulationscript/emulationscripteventgenerator.cc 2010-09-22 09:38:05.000000000 -0400
41 +++ emane-0.6.4-patched/generators/emulationscript/emulationscripteventgenerator.cc 2011-03-03 13:08:30.006418671 -0500
50 /* ConfigurationDefinition to be filled-in here */
51 diff -Naur emane-0.6.4/generators/mitremobility/mobilitymodeleventgenerator.cc emane-0.6.4-patched/generators/mitremobility/mobilitymodeleventgenerator.cc
52 --- emane-0.6.4/generators/mitremobility/mobilitymodeleventgenerator.cc 2010-09-22 09:38:05.000000000 -0400
53 +++ emane-0.6.4-patched/generators/mitremobility/mobilitymodeleventgenerator.cc 2011-03-03 13:08:30.009752694 -0500
62 EMANE::ConfigurationDefinition defs[] =
63 diff -Naur emane-0.6.4/generators/mitremobility/mobilitymodelloader.cc emane-0.6.4-patched/generators/mitremobility/mobilitymodelloader.cc
64 --- emane-0.6.4/generators/mitremobility/mobilitymodelloader.cc 2010-09-22 09:38:05.000000000 -0400
65 +++ emane-0.6.4-patched/generators/mitremobility/mobilitymodelloader.cc 2011-03-03 13:08:30.013086717 -0500
67 #include "mobilitymodelloader.h"
68 #include "emaneutils/spawnmemberfunc.h"
73 #define NEM_TO_INDEX(x) ((x) - 1)
75 diff -Naur emane-0.6.4/include/emaneevents/locationevent.h emane-0.6.4-patched/include/emaneevents/locationevent.h
76 --- emane-0.6.4/include/emaneevents/locationevent.h 2010-09-22 09:38:06.000000000 -0400
77 +++ emane-0.6.4-patched/include/emaneevents/locationevent.h 2011-03-03 13:08:29.956408321 -0500
79 #include "emane/emaneevent.h"
80 #include "emaneevents/events.h"
83 #include <ace/Basic_Types.h>
86 diff -Naur emane-0.6.4/include/emaneutils/bitpool.inl emane-0.6.4-patched/include/emaneutils/bitpool.inl
87 --- emane-0.6.4/include/emaneutils/bitpool.inl 2010-09-22 09:38:06.000000000 -0400
88 +++ emane-0.6.4-patched/include/emaneutils/bitpool.inl 2011-03-03 13:08:29.959742344 -0500
95 const ACE_UINT64 USEC_PER_SEC = 1000000;
98 diff -Naur emane-0.6.4/include/emaneutils/netutils.h emane-0.6.4-patched/include/emaneutils/netutils.h
99 --- emane-0.6.4/include/emaneutils/netutils.h 2010-09-22 09:38:06.000000000 -0400
100 +++ emane-0.6.4-patched/include/emaneutils/netutils.h 2011-03-03 13:08:29.959742344 -0500
102 #ifndef EMANEUTILSNETUTILS_HEADER_
103 #define EMANEUTILSNETUTILS_HEADER_
106 #include <ace/INET_Addr.h>
109 diff -Naur emane-0.6.4/include/emaneutils/recvcancelable.h emane-0.6.4-patched/include/emaneutils/recvcancelable.h
110 --- emane-0.6.4/include/emaneutils/recvcancelable.h 2010-09-22 09:38:06.000000000 -0400
111 +++ emane-0.6.4-patched/include/emaneutils/recvcancelable.h 2011-03-03 13:08:29.959742344 -0500
113 #ifndef EMANEUTILSRECVCANCELABLE_HEADER_
114 #define EMANEUTILSRECVCANCELABLE_HEADER_
117 +#include <ace/Addr.h>
121 diff -Naur emane-0.6.4/libs/emanelogservice/logservice.cc emane-0.6.4-patched/libs/emanelogservice/logservice.cc
122 --- emane-0.6.4/libs/emanelogservice/logservice.cc 2010-09-22 09:38:06.000000000 -0400
123 +++ emane-0.6.4-patched/libs/emanelogservice/logservice.cc 2011-03-03 13:08:29.946406252 -0500
129 +#include <ace/OS_NS_time.h>
130 #include <ace/Log_Msg.h>
131 #include <ace/streams.h>
135 void EMANE::LogService::redirectLogsToRemoteLogger(const ACE_TCHAR *program, const char* addr)
137 - if(ACE_LOG_MSG->open(program, ACE_Log_Msg::LOGGER,ACE_LIB_TEXT (addr)) == -1)
138 + if(ACE_LOG_MSG->open(program, ACE_Log_Msg::LOGGER,ACE_TEXT (addr)) == -1)
140 ACE_DEBUG((LM_ERROR, ACE_TEXT ("RemoteLogging Failed: %s\n"),ACE_OS::strerror(errno)));
142 diff -Naur emane-0.6.4/libs/emanexmlparser/layerconfiguration.h emane-0.6.4-patched/libs/emanexmlparser/layerconfiguration.h
143 --- emane-0.6.4/libs/emanexmlparser/layerconfiguration.h 2010-09-22 09:38:06.000000000 -0400
144 +++ emane-0.6.4-patched/libs/emanexmlparser/layerconfiguration.h 2011-03-03 13:08:29.943072229 -0500
150 +#include <ace/Basic_Types.h>
152 #include <libxml/tree.h>
154 diff -Naur emane-0.6.4/libs/emanexmlparser/nemconfiguration.h emane-0.6.4-patched/libs/emanexmlparser/nemconfiguration.h
155 --- emane-0.6.4/libs/emanexmlparser/nemconfiguration.h 2010-09-22 09:38:06.000000000 -0400
156 +++ emane-0.6.4-patched/libs/emanexmlparser/nemconfiguration.h 2011-03-03 13:08:29.943072229 -0500
162 +#include <ace/Basic_Types.h>
166 diff -Naur emane-0.6.4/libs/emanexmlparser/platformconfiguration.cc emane-0.6.4-patched/libs/emanexmlparser/platformconfiguration.cc
167 --- emane-0.6.4/libs/emanexmlparser/platformconfiguration.cc 2010-09-22 09:38:06.000000000 -0400
168 +++ emane-0.6.4-patched/libs/emanexmlparser/platformconfiguration.cc 2011-03-03 13:08:29.943072229 -0500
175 #include <libxml/tree.h>
177 EMANE::PlatformConfiguration::PlatformConfiguration(EMANE::ConfigurationParser *pParser,
178 diff -Naur emane-0.6.4/libs/emanexmlparser/platformconfiguration.h emane-0.6.4-patched/libs/emanexmlparser/platformconfiguration.h
179 --- emane-0.6.4/libs/emanexmlparser/platformconfiguration.h 2010-09-22 09:38:06.000000000 -0400
180 +++ emane-0.6.4-patched/libs/emanexmlparser/platformconfiguration.h 2011-03-03 13:08:29.943072229 -0500
186 +#include <ace/Basic_Types.h>
190 diff -Naur emane-0.6.4/models/ieee80211abg/maclayer/modetimingparameters.cc emane-0.6.4-patched/models/ieee80211abg/maclayer/modetimingparameters.cc
191 --- emane-0.6.4/models/ieee80211abg/maclayer/modetimingparameters.cc 2010-09-22 09:38:05.000000000 -0400
192 +++ emane-0.6.4-patched/models/ieee80211abg/maclayer/modetimingparameters.cc 2011-03-03 13:08:29.973078439 -0500
194 #include "ieee80211abgphysotmessage.h"
195 #include "ieee80211abgmaclayer.h"
198 #include <ace/Task.h>
201 diff -Naur emane-0.6.4/models/ieee80211abg/maclayer/modetimingparameters.h emane-0.6.4-patched/models/ieee80211abg/maclayer/modetimingparameters.h
202 --- emane-0.6.4/models/ieee80211abg/maclayer/modetimingparameters.h 2010-09-22 09:38:05.000000000 -0400
203 +++ emane-0.6.4-patched/models/ieee80211abg/maclayer/modetimingparameters.h 2011-03-03 13:08:29.976412462 -0500
206 #include "macconfig.h"
209 #include <ace/Basic_Types.h>
210 #include <ace/Time_Value.h>
211 #include <ace/Singleton.h>
212 diff -Naur emane-0.6.4/models/ieee80211abg/maclayer/transmissiontxstate.cc emane-0.6.4-patched/models/ieee80211abg/maclayer/transmissiontxstate.cc
213 --- emane-0.6.4/models/ieee80211abg/maclayer/transmissiontxstate.cc 2010-09-22 09:38:05.000000000 -0400
214 +++ emane-0.6.4-patched/models/ieee80211abg/maclayer/transmissiontxstate.cc 2011-03-03 13:08:29.973078439 -0500
216 #include "ieee80211abgmaclayer.h"
217 #include "macstatistics.h"
221 TransmissionTxState::TransmissionTxState(){}
223 TransmissionTxState::~TransmissionTxState(){}
224 diff -Naur emane-0.6.4/models/ieee80211abg/phylayer/ieee80211abgbiterrorrate.cc emane-0.6.4-patched/models/ieee80211abg/phylayer/ieee80211abgbiterrorrate.cc
225 --- emane-0.6.4/models/ieee80211abg/phylayer/ieee80211abgbiterrorrate.cc 2010-09-22 09:38:06.000000000 -0400
226 +++ emane-0.6.4-patched/models/ieee80211abg/phylayer/ieee80211abgbiterrorrate.cc 2011-03-03 13:08:29.996416600 -0500
233 #include <libxml/parser.h>
234 #include <libxml/tree.h>
235 #include <libxml/xpath.h>
236 diff -Naur emane-0.6.4/models/ieee80211abg/phylayer/ieee80211abgnoiseestimation.cc emane-0.6.4-patched/models/ieee80211abg/phylayer/ieee80211abgnoiseestimation.cc
237 --- emane-0.6.4/models/ieee80211abg/phylayer/ieee80211abgnoiseestimation.cc 2010-09-22 09:38:06.000000000 -0400
238 +++ emane-0.6.4-patched/models/ieee80211abg/phylayer/ieee80211abgnoiseestimation.cc 2011-03-03 13:08:29.999750624 -0500
244 +#include <ace/OS_NS_time.h>
248 diff -Naur emane-0.6.4/models/ieee80211abg/phylayer/ieee80211abgphylayer.cc emane-0.6.4-patched/models/ieee80211abg/phylayer/ieee80211abgphylayer.cc
249 --- emane-0.6.4/models/ieee80211abg/phylayer/ieee80211abgphylayer.cc 2010-09-22 09:38:06.000000000 -0400
250 +++ emane-0.6.4-patched/models/ieee80211abg/phylayer/ieee80211abgphylayer.cc 2011-03-03 13:08:29.999750624 -0500
254 #include <ace/Time_Value.h>
256 +#include <ace/OS_NS_time.h>
258 #define USEC_PER_SEC 1000000
260 diff -Naur emane-0.6.4/models/ieee80211abg/phylayer/rxbusystate.cc emane-0.6.4-patched/models/ieee80211abg/phylayer/rxbusystate.cc
261 --- emane-0.6.4/models/ieee80211abg/phylayer/rxbusystate.cc 2010-09-22 09:38:06.000000000 -0400
262 +++ emane-0.6.4-patched/models/ieee80211abg/phylayer/rxbusystate.cc 2011-03-03 13:08:29.999750624 -0500
264 #include "idlestate.h"
265 #include "ieee80211abgphylayer.h"
268 +#include <ace/OS_NS_time.h>
270 RxBusyState::RxBusyState()
272 diff -Naur emane-0.6.4/models/ieee80211abg/phylayer/rxpendingstate.cc emane-0.6.4-patched/models/ieee80211abg/phylayer/rxpendingstate.cc
273 --- emane-0.6.4/models/ieee80211abg/phylayer/rxpendingstate.cc 2010-09-22 09:38:06.000000000 -0400
274 +++ emane-0.6.4-patched/models/ieee80211abg/phylayer/rxpendingstate.cc 2011-03-03 13:08:29.999750624 -0500
276 #include "rxbusystate.h"
277 #include "ieee80211abgphylayer.h"
280 +#include <ace/OS_NS_time.h>
282 RxPendingState::RxPendingState()
284 diff -Naur emane-0.6.4/models/rfpipe/phylayer/rfpipephylayer.cc emane-0.6.4-patched/models/rfpipe/phylayer/rfpipephylayer.cc
285 --- emane-0.6.4/models/rfpipe/phylayer/rfpipephylayer.cc 2010-09-22 09:38:05.000000000 -0400
286 +++ emane-0.6.4-patched/models/rfpipe/phylayer/rfpipephylayer.cc 2011-03-03 13:08:29.959742344 -0500
291 +#include <ace/OS_NS_time.h>
292 +#include <ace/OS_NS_sys_select.h>
296 EMANE::ConfigurationDefinition defs[] =
297 diff -Naur emane-0.6.4/services/eventserver/emaneeventserver.cc emane-0.6.4-patched/services/eventserver/emaneeventserver.cc
298 --- emane-0.6.4/services/eventserver/emaneeventserver.cc 2010-09-22 09:38:03.000000000 -0400
299 +++ emane-0.6.4-patched/services/eventserver/emaneeventserver.cc 2011-03-03 13:08:29.953074298 -0500
305 #include <ace/Get_Opt.h>
306 +#include <ace/OS_NS_time.h>
307 #include <ace/Reactor.h>
308 #include <ace/Sched_Params.h>
310 diff -Naur emane-0.6.4/services/eventserver/eventgeneratorconfiguration.h emane-0.6.4-patched/services/eventserver/eventgeneratorconfiguration.h
311 --- emane-0.6.4/services/eventserver/eventgeneratorconfiguration.h 2010-09-22 09:38:03.000000000 -0400
312 +++ emane-0.6.4-patched/services/eventserver/eventgeneratorconfiguration.h 2011-03-03 13:08:29.956408321 -0500
322 diff -Naur emane-0.6.4/services/eventserver/eventgeneratorfactory.h emane-0.6.4-patched/services/eventserver/eventgeneratorfactory.h
323 --- emane-0.6.4/services/eventserver/eventgeneratorfactory.h 2010-09-22 09:38:03.000000000 -0400
324 +++ emane-0.6.4-patched/services/eventserver/eventgeneratorfactory.h 2011-03-03 13:08:29.953074298 -0500
326 #include "emaneutils/factoryexception.h"
327 #include "emaneutils/componenttypes.h"
330 +#include <ace/OS_NS_dlfcn.h>
334 diff -Naur emane-0.6.4/services/eventserver/eventserviceconfiguration.cc emane-0.6.4-patched/services/eventserver/eventserviceconfiguration.cc
335 --- emane-0.6.4/services/eventserver/eventserviceconfiguration.cc 2010-09-22 09:38:03.000000000 -0400
336 +++ emane-0.6.4-patched/services/eventserver/eventserviceconfiguration.cc 2011-03-03 13:08:29.956408321 -0500
344 EMANE::EventServiceConfiguration::EventServiceConfiguration(const std::string &sFile)
345 throw(ParseException,ValidateException)
346 : LayerConfiguration(EMANE::ConfigurationParserSingleton::instance())
347 diff -Naur emane-0.6.4/shims/timinganalysis/src/timinganalysisshim.cc emane-0.6.4-patched/shims/timinganalysis/src/timinganalysisshim.cc
348 --- emane-0.6.4/shims/timinganalysis/src/timinganalysisshim.cc 2010-09-22 09:38:03.000000000 -0400
349 +++ emane-0.6.4-patched/shims/timinganalysis/src/timinganalysisshim.cc 2011-03-03 13:08:30.033090858 -0500
355 +#include <ace/OS_NS_time.h>
359 diff -Naur emane-0.6.4/src/emaneeventd/eventagentconfiguration.h emane-0.6.4-patched/src/emaneeventd/eventagentconfiguration.h
360 --- emane-0.6.4/src/emaneeventd/eventagentconfiguration.h 2010-09-22 09:38:03.000000000 -0400
361 +++ emane-0.6.4-patched/src/emaneeventd/eventagentconfiguration.h 2011-03-03 13:08:30.029756834 -0500
371 diff -Naur emane-0.6.4/src/emaneeventd/eventagentfactory.h emane-0.6.4-patched/src/emaneeventd/eventagentfactory.h
372 --- emane-0.6.4/src/emaneeventd/eventagentfactory.h 2010-09-22 09:38:03.000000000 -0400
373 +++ emane-0.6.4-patched/src/emaneeventd/eventagentfactory.h 2011-03-03 13:08:30.033090858 -0500
376 #include "emaneutils/factoryexception.h"
379 +#include <ace/OS_NS_dlfcn.h>
383 diff -Naur emane-0.6.4/src/emaneeventd/eventdaemonconfiguration.cc emane-0.6.4-patched/src/emaneeventd/eventdaemonconfiguration.cc
384 --- emane-0.6.4/src/emaneeventd/eventdaemonconfiguration.cc 2010-09-22 09:38:03.000000000 -0400
385 +++ emane-0.6.4-patched/src/emaneeventd/eventdaemonconfiguration.cc 2011-03-03 13:08:30.029756834 -0500
387 #include "configurationparser.h"
388 #include "logservice.h"
393 EMANE::EventDaemonConfiguration::EventDaemonConfiguration(const std::string &sFile)
394 diff -Naur emane-0.6.4/src/emanetransportd/transportdaemonconfiguration.cc emane-0.6.4-patched/src/emanetransportd/transportdaemonconfiguration.cc
395 --- emane-0.6.4/src/emanetransportd/transportdaemonconfiguration.cc 2010-09-22 09:38:03.000000000 -0400
396 +++ emane-0.6.4-patched/src/emanetransportd/transportdaemonconfiguration.cc 2011-03-03 13:08:30.023088786 -0500
399 #include "logservice.h"
406 diff -Naur emane-0.6.4/src/emanetransportd/transportfactory.h emane-0.6.4-patched/src/emanetransportd/transportfactory.h
407 --- emane-0.6.4/src/emanetransportd/transportfactory.h 2010-09-22 09:38:03.000000000 -0400
408 +++ emane-0.6.4-patched/src/emanetransportd/transportfactory.h 2011-03-03 13:08:30.019754763 -0500
411 #include "emaneutils/factoryexception.h"
414 +#include <ace/OS_NS_dlfcn.h>
418 diff -Naur emane-0.6.4/src/emanetransportd/transportinstanceconfiguration.h emane-0.6.4-patched/src/emanetransportd/transportinstanceconfiguration.h
419 --- emane-0.6.4/src/emanetransportd/transportinstanceconfiguration.h 2010-09-22 09:38:03.000000000 -0400
420 +++ emane-0.6.4-patched/src/emanetransportd/transportinstanceconfiguration.h 2011-03-03 13:08:30.019754763 -0500
430 diff -Naur emane-0.6.4/src/layerfactory.h emane-0.6.4-patched/src/layerfactory.h
431 --- emane-0.6.4/src/layerfactory.h 2010-09-22 09:38:03.000000000 -0400
432 +++ emane-0.6.4-patched/src/layerfactory.h 2011-03-03 13:08:30.026422810 -0500
434 #include "emaneutils/factoryexception.h"
435 #include "emaneutils/componenttypes.h"
438 +#include <ace/OS_NS_dlfcn.h>
442 diff -Naur emane-0.6.4/transports/raw/rawtransport.cc emane-0.6.4-patched/transports/raw/rawtransport.cc
443 --- emane-0.6.4/transports/raw/rawtransport.cc 2010-09-22 09:38:02.000000000 -0400
444 +++ emane-0.6.4-patched/transports/raw/rawtransport.cc 2011-03-03 13:08:29.933070160 -0500
452 #include <winsock2.h>
453 #include <iphlpapi.h>
454 diff -Naur emane-0.6.4/transports/virtual/tuntap.cc emane-0.6.4-patched/transports/virtual/tuntap.cc
455 --- emane-0.6.4/transports/virtual/tuntap.cc 2010-09-22 09:38:02.000000000 -0400
456 +++ emane-0.6.4-patched/transports/virtual/tuntap.cc 2011-03-03 13:08:29.939738206 -0500
458 #include <ace/SOCK_Dgram.h>
459 #include <ace/Handle_Set.h>
460 #include <ace/INET_Addr.h>