Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: src/regress/sys/net/frag

Module Name:    src
Committed By:   rmind
Date:           Tue Jul 13 22:13:18 UTC 2010

Added Files:
        src/regress/sys/net/frag: ip4_frag_1.c

Log Message:
Add a regression test for IPv4 reassembly.  Cases:
- Normal (valid) fragments.
- Fragment with ip_off + hlen lower than IP_MINFRAGSIZE - 1.
- Different ip_tos values in fragments.
- Fragment data length which is not multiple of 8 bytes.
- Duplicate fragments (one covering previous).
- Packet larger than IP_MAXPACKET after reassembly.
- No last non-MF fragment (causing of timeout).

To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 src/regress/sys/net/frag/ip4_frag_1.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Home | Main Index | Thread Index | Old Index