Hi,
The maximum payload in ping.c (all source has been run through cat -n) is:
92 #define MAXPAYLOAD (IP_MAXPACKET - MAXIPLEN - 8) /* max
ICMP payload size */
which consists of:
90 #define MAXIPLEN60
This is the maximum IP len since the value is leftshifted by 2 and
cons
On 2016-08-02, Friedrich Locke wrote:
> sioux@etosha$ ping -s 65468 gustav.cpd.ufv.br
> ping: packet size is too large: 65468
> sioux@etosha$
>
> I realize the difference between 65535 and 65467 is 68 bytes. What is obsd
> accounting for ?
Maximum IP packet size: 65535
Maximum IP header size:
Hi folks,
i am pinging my desktop from a obsd machine and i am very curious about the
size of packet an sending. Here you have it:
sioux@etosha$ ping -s 65467 gustav.cpd.ufv.br
PING gustav.cpd.ufv.br (200.235.177.58): 65467 data bytes
65475 bytes from 200.235.177.58: icmp_seq=0 ttl=63 time=12.241
3 matches
Mail list logo