Re: mbuf_outbound_finalize() reports packet length is less than mbuf length
Re: mbuf_outbound_finalize() reports packet length is less than mbuf length
- Subject: Re: mbuf_outbound_finalize() reports packet length is less than mbuf length
- From: Kevin Brock <email@hidden>
- Date: Mon, 27 Jul 2009 13:08:53 -0700
Brendan Creane wrote:
This problem combined with mbuf_outbound_finalize() inability to
handle host-order ip length field in earlier versions (xnu-792.13.8 or
older) means the function is pretty much useless.
Well, an mbuf_pullup() + a byte swap will work, and avoids having to do
stuff with the checksum offload pieces. I seem to recall that some of
the pieces that need to be manipulated weren't reachable using standard
KPI's and structure definitions, although that may have changed recently
as well.
In our case we really need to make sure that we're not doing much with
'nonstandard' APIs.
The problems with that function do seem to keep building up though :-(
Kevin
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden