]> xenbits.xen.org Git - xenclient/kernel.git/commit
commit ab6a5bb6b28a970104a34f0f6959b73cf61bdc72 git-427c2196b92697a4a8ee87959ebc16bfac024f6b
authort_jeang <devnull@localhost>
Tue, 6 Jan 2009 12:05:21 +0000 (12:05 +0000)
committert_jeang <devnull@localhost>
Tue, 6 Jan 2009 12:05:21 +0000 (12:05 +0000)
commitb8a645e80a14de8f27e1724cea9f3a1f4d1aaaf7
tree5c8aad1b80f6ff5562168be2d4a2e3049fb23199
parentaeebd66f8e2f7a536e72e5d1a3fe29ac05fce423
commit ab6a5bb6b28a970104a34f0f6959b73cf61bdc72
Author: Arnaldo Carvalho de Melo <acme@redhat.com>
Date:   Sun Mar 18 17:43:48 2007 -0700

    [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>
Edited: Ian Campbell -- just definition.
include/linux/tcp.h