Date: Mon, 24 Mar 2003 15:48:36 -0800 (PST) From: "Matthew N. Dodd" <mdodd@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sbin/ping ping.c Message-ID: <200303242348.h2ONmaFf064562@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
mdodd 2003/03/24 15:48:36 PST
FreeBSD src repository
Modified files:
sbin/ping ping.c
Log:
- 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>
Revision Changes Path
1.90 +21 -22 src/sbin/ping/ping.c
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200303242348.h2ONmaFf064562>
