Compare Revisions

The credentials to download the source code are:
 Username: svnusers
 Password: svnusers

Ignore whitespace Rev 3310 → Rev 3311

/branches/STF525/ccsrc/Ports/LibIts_ports/UpperTesterPort.cc
6,7 → 6,7
/* to be used when built without generating softlinks to the working directory */
#include "BTP_ports/UpperTesterPort_BTP.partC"
#include "CAM_ports/UpperTesterPort_CAM.partC"
#include "DCC_ports/UpperTesterPort_DCC.partC"
//#include "DCC_ports/UpperTesterPort_DCC.partC"
#include "DENM_ports/UpperTesterPort_DENM.partC"
#include "GN_ports/UpperTesterPort_GN.partC"
#include "IVIM_ports/UpperTesterPort_IVIM.partC"
19,7 → 19,7
 
#include "UpperTesterPort_BTP.partC"
#include "UpperTesterPort_CAM.partC"
#include "UpperTesterPort_DCC.partC"
//#include "UpperTesterPort_DCC.partC"
#include "UpperTesterPort_DENM.partC"
#include "UpperTesterPort_IVIM.partC"
#include "UpperTesterPort_MapemSpatem.partC"
/branches/STF525/ccsrc/Ports/LibIts_ports/UpperTesterPort.hh
8,7 → 8,7
/* to be used when built without generating softlinks to the working directory */
#include "BTP_ports/UpperTesterPort_BTP.partH"
#include "CAM_ports/UpperTesterPort_CAM.partH"
#include "DCC_ports/UpperTesterPort_DCC.partH"
//#include "DCC_ports/UpperTesterPort_DCC.partH"
#include "DENM_ports/UpperTesterPort_DENM.partH"
#include "GN_ports/UpperTesterPort_GN.partH"
#include "IVIM_ports/UpperTesterPort_IVIM.partH"
21,7 → 21,7
 
#include "UpperTesterPort_BTP.partH"
#include "UpperTesterPort_CAM.partH"
#include "UpperTesterPort_DCC.partH"
//#include "UpperTesterPort_DCC.partH"
#include "UpperTesterPort_DENM.partH"
#include "UpperTesterPort_IVIM.partH"
#include "UpperTesterPort_MapemSpatem.partH"
/branches/STF525/ccsrc/Protocols/UDP/udp_layer.cc
52,8 → 52,13
_iphdr->ttl = 64;
_iphdr->tot_len = htons(sizeof(struct iphdr) + sizeof(struct udphdr) + data.lengthof());
_iphdr->protocol = IPPROTO_UDP;
#if defined (LINUX)
_iphdr->saddr = _saddr.sin_addr.s_addr;
_iphdr->daddr = _daddr.sin_addr.s_addr;
#else
_iphdr->saddr = _saddr.sin_addr;
_iphdr->daddr = _daddr.sin_addr;
#endif
_iphdr->check = 0;
_iphdr->check = inet_check_sum((const void *)_iphdr, sizeof(struct iphdr));
// Set udp header