how do i access a packet buffer

Hi,

I’ve managed to get to: “npkt->buffers.tqh_first”

At this point i can’t get furder into the packet data.

how do i access the buffer itself?
how do i change access the buffer? am i allowed by the system to do it?

any ideas?


Benzy Gabay
R&D
Everbee Wireless
mailto:bgabay@everbee.com
tel. +972-9-956-0135
fax. +972-9-955-9654

Ben Gabay <bgabay@everbee.com> wrote:

Hi,

I’ve managed to get to: “npkt->buffers.tqh_first”

At this point i can’t get furder into the packet data.

how do i access the buffer itself?
how do i change access the buffer? am i allowed by the system to do it?

it’s a struct _net_buf.

-xtang