Hi Everyone:
I would really appreciate
some help with understanding why the end-to-end transmission time does
not increase with the inclusion of additional modules to act on the
packets passing through the network.
Please see
the attachment for timing reference...the transmission ends at the
"Traffic Sink", and as the attachments show, the transmission time is
the same after 21 hops and after 27 hops...I am not sure why this is so,
surely by submitting the network traffic to additional processing, then
the transmission time must be longer, no?
At
each module, the traffic is "held" until a MAC is calculated, then
released afterwards - this is the delay that I was hoping would show in
the logs. The calculation is as below:
void MACVerification::handleMessage(cMessage *msg)
{
AFDXMessage *afdxMsg = check_and_cast<AFDXMessage *>(msg);
subkeys_swin(subkey1_swin, subkey2_swin, masterKey_swin);//call to key schedule function
msgLen_swin = 20;//Chaskey input_swin is 20 bytes
chaskey_swin(hash_swin, plaintext_swin, masterKey_swin, subkey1_swin,
subkey2_swin);//pointer to returned chaskey mac calculation
std::cout << "\nMAC VERIFIED." << endl;
send(msg,"out");
}
Thanks for your assistance!