- Fix calculation of the maximum data size (it previously calculated 65519 (0xFFFF...
authorCameron Gutman <aicommander@gmail.com>
Mon, 18 Jan 2010 00:52:31 +0000 (00:52 +0000)
committerCameron Gutman <aicommander@gmail.com>
Mon, 18 Jan 2010 00:52:31 +0000 (00:52 +0000)
commiteaf8ca78e4e6ecc7e8d8aa5a5d4b60aa520c964b
tree4e0a70a6e52680a10dabc9fa973bc3a7df5e0100
parent3a3d5b8571102eb17f21baeb3dac94595cb46492
 - Fix calculation of the maximum data size (it previously calculated 65519 (0xFFFF - sizeof(ICMPv4Header) - sizeof(LARGE_INTEGER)) which was wrong because the real maximum was 65499  (0xFFFF - sizeof(IPv4Header) - sizeof(ICMPv4Header) - sizeof(LARGE_INTEGER)))
 - Implement -f and -i options
 - Note: This raises our max ping data size to 65507 (0xFFFF - sizeof(IPv4Header) - sizeof(ICMPv4Header)) so we match linux's (iputils) ping max size but Windows' max is 65500 and I'm not sure if we should change our code to match Windows or not

svn path=/branches/aicom-network-branch/; revision=45129
base/applications/network/ping/ping.c