site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type:content-transfer-encoding :content-disposition; bh=nTLtkNEveDJyJ3OO3p6htvK5QvCRtDzjOHCkZQ6HqQY=; b=UQIo4PoTmm5y6hz0IQjnVUkcJrtqFppQ0xDA6r314RiTA9i9fQ/8QFlXvn7reEtpWV LHm5YI/kUuUJYknB9y+p8gaJLr8uidQ9utIWg2r+CwysCKB9Z2jc/uUbgYEq/KwYAPjS yZEzK4qDX+HuVyuQDmks7LEKGpB+QwbbtVtEI= Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type :content-transfer-encoding:content-disposition; b=jXOKYcFkObESghml66LXTjbP1tiyZq55RrXkwSuIt6n5SXXB4+Shq0p0FtfQwHXeU4 aQhWvofL9DEovxIL5w9hgybwoVKFiqvQ3MfcVM6UIvZX6JXIjbkddzJkRdiqxwaYUsEt O7vzVB0n4xQ3D50tnrrUmYh8EKzu4l4Fn6zog= 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 (Darwin-kernel@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-kernel/site_archiver%40lists.a... This email sent to site_archiver@lists.apple.com