Obtaining data (packet body) from TCP packet via ipf_input_func
Obtaining data (packet body) from TCP packet via ipf_input_func
- Subject: Obtaining data (packet body) from TCP packet via ipf_input_func
- From: "John D." <email@hidden>
- Date: Mon, 15 Dec 2008 05:12:09 +0100
Hi,
Finally I figured out how the mbuf_t is handled and how to extract
information via mbuf_copydata() (which takes an offset parameter, thus
making things easier). But I still don't know how to copy or access
(as in directly accessing the pointer and inner buffer holding the
data) the packet body (post-TCP/UDP header and obviously post-IP
header too).
Any help will be appreciated.
John.
_______________________________________________
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