Ilpo Järvinen e60402d0a9 [TCP]: Move sack_ok access to obviously named funcs & cleanup
Previously code had IsReno/IsFack defined as macros that were
local to tcp_input.c though sack_ok field has user elsewhere too
for the same purpose. This changes them to static inlines as
preferred according the current coding style and unifies the
access to sack_ok across multiple files. Magic bitops of sack_ok
for FACK and DSACK are also abstracted to functions with
appropriate names.

Note:
- One sack_ok = 1 remains but that's self explanary, i.e., it
  enables sack
- Couple of !IsReno cases are changed to tcp_is_sack
- There were no users for IsDSack => I dropped it

Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@helsinki.fi>
Signed-off-by: David S. Miller <davem@davemloft.net>
2007-10-10 16:48:00 -07:00
..
2007-07-10 22:16:43 -07:00
2007-07-31 02:28:27 -07:00
2006-12-02 21:22:55 -08:00
2007-07-10 12:41:08 -04:00
2007-07-12 16:07:24 -04:00
2007-07-10 22:15:41 -07:00
2006-09-28 18:01:06 -07:00
2006-12-02 21:23:41 -08:00
2006-03-20 22:59:36 -08:00
2006-12-02 21:22:52 -08:00
2007-10-07 23:44:17 -07:00
2007-07-10 22:19:04 -07:00
2007-07-17 10:23:03 -07:00
2007-06-07 13:40:50 -07:00
2007-10-10 16:47:46 -07:00