Garrett Wollman 6e49b1fe55 Don't generate an ip_id for packets with the DF bit set; ip_id is
only meaningful for fragments.  Also don't bother to byte-swap the
ip_id when we do generate it; it is only used at the receiver as a
nonce.  I tried several different permutations of this code with no
measurable difference to each other or to the unmodified version, so
I've settled on the one for which gcc seems to generate the best code.
(If anyone cares to microoptimize this differently for an architecture
where it actually matters, feel free.)

Suggested by:	Steve Bellovin's paper in IMW'02
2003-05-31 17:55:21 +00:00
..
2003-04-20 18:38:59 +00:00
2003-04-29 21:36:18 +00:00
2003-03-27 15:00:10 +00:00
2003-04-02 20:14:44 +00:00
2003-04-02 20:14:44 +00:00