/* assumes that ip header and tcp header are contiguous on mbuf */