site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com Hi all, - How can have access to packet data ? - mbuf_len() on a mbuf (marked as MBUF_EXT) in a mbuf chain is a valid length ? - when modifying such packets do i need to compute some checksums ? Any tips, clarifications,..., will be appreciate. * My MTOD macro is: #define MTOD(m, t) ((t)(mbuf_data(m))) Jean-Yves Cases jy.cases@mac.com _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-kernel mailing list (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.a... I'm writing some NKE UDP filter with packet mangling + packet re- injection, when i have a mbuf (in chain) with flags set to MBUF_PKTHDR i've got an access to data using MTOD(tMbuf, caddr_t), at this point every things works fine but when the mbuf in the chain is marked as MBUF_EXT nothing work at all. This email sent to site_archiver@lists.apple.com
participants (1)
-
jy.cases@mac.com