Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 Nov 2013 09:44:33 +0000
From:      Mark R V Murray <mark@grondar.org>
To:        Mark Robert Vaughan Murray <mark@grondar.org>
Cc:        "svn-src-head@freebsd.org" <svn-src-head@freebsd.org>, Adrian Chadd <adrian@freebsd.org>, "src-committers@freebsd.org" <src-committers@freebsd.org>, "svn-src-all@freebsd.org" <svn-src-all@freebsd.org>, Bruce Evans <brde@optusnet.com.au>
Subject:   Re: svn commit: r257535 - head/sys/netgraph
Message-ID:  <0FD2B8FA-7DD7-4626-95F6-BB64B648E81A@grondar.org>
In-Reply-To: <76BC3F76-ED5E-42F0-BCCE-271EA723698E@grondar.org>
References:  <201311020011.rA20BchL020170@svn.freebsd.org> <20131102151309.A1102@besplex.bde.org> <CAJ-VmokeP5Z2d7jZ-j-Thrh_VuQBKGpKC9nWG%2BQfhR0f6wzF9w@mail.gmail.com> <76BC3F76-ED5E-42F0-BCCE-271EA723698E@grondar.org>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]

On 2 Nov 2013, at 09:32, Mark R V Murray <mark@grondar.org> wrote:
>> Mark - did you initially mean the address of the mbuf m_data pointer,
>> or the data payload itself?
> 
> As Bruce says - the address of payload data itself. We don’t have 12-byte pointers in FreeBSD. :-)

Cancel that.

The address passed must be the address of the m_data field in the mbuf structure. The harvested data is 12 bytes from that address forward, so not the data pointed to by that m_data pointer but the pointer value itself and some following junk too.

M
-- 
Mark R V Murray


[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.22 (Darwin)
Comment: GPGTools - http://gpgtools.org

iQCVAwUBUnTJh958vKOKE6LNAQpT2AP+MV+RCbJpd+3f4QAZnnZIv1Nb6yNxaxUS
RE/31m66asSazJIDPnyeGMVxSddFbxeuzantjIzdkIZr/VfnnS/rxey8MUdNdW0l
Pq9HJuudfYwJ+RBWXoNnGtaj9CJL/Wd8ErtBjCwAlM+m7o/boktpykyUE9oILw5q
CdD2ss9lpGg=
=IsJ9
-----END PGP SIGNATURE-----
help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0FD2B8FA-7DD7-4626-95F6-BB64B648E81A>