diff options
author | Arnaldo Carvalho de Melo <acme@redhat.com> | 2007-03-19 01:43:48 +0100 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-04-26 07:25:24 +0200 |
commit | ab6a5bb6b28a970104a34f0f6959b73cf61bdc72 (patch) | |
tree | 54cfa7d4fe00d0c28a60022b075afc0856d6fc2b /drivers/net/3c507.c | |
parent | [SK_BUFF]: Introduce icmp_hdr(), remove skb->h.icmph (diff) | |
download | linux-ab6a5bb6b28a970104a34f0f6959b73cf61bdc72.tar.xz linux-ab6a5bb6b28a970104a34f0f6959b73cf61bdc72.zip |
[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>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions