mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-15 21:05:08 +00:00
9185854d19
In the IP header, Flags + Fragment Offset is a 16-bit field. Use ntohs() instead of ntohl(), otherwise the Flags/Fragment Offset values may not display correctly. Before (DF set) Vr HL TOS Len ID Flg off TTL Pro cks Src Dst 4 5 00 0054 0001 0 0000 40 01 b6a4 192.0.2.1 192.0.2.2 After (DF set) Vr HL TOS Len ID Flg off TTL Pro cks Src Dst 4 5 00 0054 0001 2 0000 40 01 b6a4 192.0.2.1 192.0.2.2 Reviewed by: markj MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D38479 |
||
---|---|---|
.. | ||
in_cksum_test.c | ||
injection.py | ||
Makefile | ||
ping_6_c1_s8_t1.out | ||
ping_c1_s8_t1_S1.out | ||
ping_c1_s56_t1.out | ||
ping_c1_s56_t1_S127.out | ||
ping_test.sh | ||
test_ping.py |