Searched hist:112568 (Results 1 - 1 of 1) sorted by relevance

/freebsd-10.1-release/sbin/ping/
H A Dping.cdiff 112568 Mon Mar 24 21:48:36 MST 2003 mdodd - Make -M mask and -M time exclusive.
- Correct some problems with packet construction.

+--------+------------+----------+-------------+---------+
| | | | | |
| IP Hdr | MINICMPLEN | phdr_len | TIMEVAL_LEN | payload |
| | | | | |
+--------+------------+----------+-------------+---------+
| | | |
|<- IP ->|<------- ICMP -------->|<------ datalen ------>|

My previous changes tried to mess around with 'datalen' instead of
modifying 'phdr_len'.

I'm including this nice ASCII diagram (from Maxim) to further clarify things
in CVS history.

Submitted by: Maxim Konovalov <maxim@macomnet.ru>

Completed in 54 milliseconds