Re: Networking: mbuf->m_hdr.mh_data doesn't include DLIL header?
site_archiver@lists.apple.com Delivered-To: darwin-kernel@lists.apple.com Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=NAsu9k4i1HaRkZcqBphIcqiohK4F7kKsHU7f5qKHLymYm6kuUOLtIp7bPqrNXl/3fEWkmjIRlRXM6Tx5yXDkPehbILkUeWX50ruv3UAtgeU56Daqjmf/lnbF12XMUPQ90o+3NNTwa3GTHg0P9HmoQG+uOF6iHlcUUbYdItqpqDk= Will the following heuristic work consistently? if (mbuf_data(*packet) != mbuf_pktdat(*packet)) { // the ethernet drivers must have stripped the L2 header. Prepend it } I really meant to say: if (mbuf_data(*packet) != mbuf_datastart(*packet)) { ... } Sorry. -Bhavesh _______________________________________________ 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
participants (1)
-
Bhavesh Davda