Jonathan T. Looney 5d20f97461 to_flags is currently a 64-bit integer; however, we only use 7 bits.
Furthermore, there is no reason this needs to be a 64-bit integer
for the forseeable future.

Also, there is an inconsistency between to_flags and the mask in
tcp_addoptions(). Before r195654, to_flags was a u_long and the mask in
tcp_addoptions() was a u_int. r195654 changed to_flags to be a u_int64_t
but left the mask in tcp_addoptions() as a u_int, meaning that these
variables will only be the same width on platforms with 64-bit integers.

Convert both to_flags and the mask in tcp_addoptions() to be explicitly
32-bit variables. This may save a few cycles on 32-bit platforms, and
avoids unnecessarily mixing types.

Differential Revision:	https://reviews.freebsd.org/D5584
Reviewed by:	hiren
MFC after:	2 weeks
Sponsored by:	Juniper Networks
2016-03-22 15:55:17 +00:00
..
2015-04-26 11:39:25 +00:00
2015-09-05 10:15:19 +00:00
2016-02-03 11:49:51 +00:00
2015-12-17 14:41:30 +00:00
2015-07-31 09:02:28 +00:00
2016-01-22 18:22:03 +00:00
2016-01-22 15:11:40 +00:00
2016-01-22 18:22:03 +00:00
2016-02-16 20:33:18 +00:00
2016-02-16 20:33:18 +00:00
2016-02-18 21:21:45 +00:00
2015-06-17 15:20:14 +00:00
2016-02-18 21:33:10 +00:00
2015-06-19 21:55:12 +00:00
2016-02-11 18:35:46 +00:00
2015-09-15 21:16:45 +00:00
2016-02-03 11:49:51 +00:00
2016-02-16 20:33:18 +00:00