What is the purpose of buffer "buffer"?

Hi @all,

just for my curiosity - can maybe someone explain the purpose of the buffer called buffer in sys/net/network_layer/ip.c? I could not find a proper document, just that it is retrieved via “ipv6_get_buf()” from everywhere in RIOT.

It should be some receiving buffer with anything ipv6-related in it right? In that case, were does it get filled in a architectural/coding-sense?

Thanks in advance

Fabian Brandt

Hi Fabian, it is the receiving and sending buffer of the IPv6 layer and the biggest bottleneck in it. PR #1264 [1] is aming to replace it with two proper packet buffers.

Cheers, Martine

[1] https://github.com/RIOT-OS/RIOT/pull/1264

Hi,

actually this sounds like a must have to me.

Thanks

Fabian

Hi, to me, too. :wink: without it the ND won’t work properly e. g.

Cheers, Martine