summaryrefslogtreecommitdiffstats
path: root/net/ipv4/tcp_output.c
diff options
context:
space:
mode:
authorArnaldo Carvalho de Melo2007-03-19 01:43:48 +0100
committerDavid S. Miller2007-04-26 07:25:24 +0200
commitab6a5bb6b28a970104a34f0f6959b73cf61bdc72 (patch)
tree54cfa7d4fe00d0c28a60022b075afc0856d6fc2b /net/ipv4/tcp_output.c
parent[SK_BUFF]: Introduce icmp_hdr(), remove skb->h.icmph (diff)
downloadkernel-qcow2-linux-ab6a5bb6b28a970104a34f0f6959b73cf61bdc72.tar.gz
kernel-qcow2-linux-ab6a5bb6b28a970104a34f0f6959b73cf61bdc72.tar.xz
kernel-qcow2-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 'net/ipv4/tcp_output.c')
0 files changed, 0 insertions, 0 deletions