Arnaldo Carvalho de Melo ab6a5bb6b2 [TCP]: Introduce tcp_hdrlen() and tcp_optlen()
The ip_hdrlen() buddy, created to reduce the number of skb->h.th-> uses and to
avoid the longer, open coded equivalent.

Ditched a no-op in bnx2 in the process.

I wonder if we should have a BUG_ON(skb->h.th->doff < 5) in tcp_optlen()...

Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2007-04-25 22:25:24 -07:00
..
2007-04-25 22:24:41 -07:00
2006-11-30 05:24:39 +01:00
2005-05-15 18:06:16 -04:00
2007-02-05 21:18:53 +01:00
2007-03-14 15:27:50 -07:00
2005-05-01 08:58:58 -07:00