Opened 13 years ago

Closed 7 years ago

#810 closed enhancement (fixed)

Improve net_buffer implementation

Reported by: axeld Owned by:
Priority: normal Milestone: R1
Component: Network & Internet/Stack Version:
Keywords: Cc:
Blocked By: Blocking:
Has a Patch: yes Platform: All

Description

There is quite a bunch of functionality missing from the net_buffers, like:

  • split
  • have more than one data_node (append/prepend will just fail), ...

Attachments (1)

net_buffer.diff (2.7 KB ) - added by sil2100 11 years ago.
Try on a little more efficient split_buffer()

Download all attachments as: .zip

Change History (9)

comment:1 by marcusoverhagen, 13 years ago

Platform: All

I implemented split, but in a very dumb way (makes a copy first). I hope this supports further stack development.

comment:2 by hugosantos, 13 years ago

I think some of these have already been implemented, can you confirm that Axel?

comment:3 by axeld, 13 years ago

Some, yes :-) However, it's still not complete; just look at how split_buffer() is implemented; it's just a temporary solution.

comment:4 by axeld, 12 years ago

Milestone: R1 Network StackR1

comment:5 by axeld, 11 years ago

Summary: Complete net_buffer implementationImprove net_buffer implementation

Clarified summary.

by sil2100, 11 years ago

Attachment: net_buffer.diff added

Try on a little more efficient split_buffer()

comment:6 by mmadia, 9 years ago

Has a Patch: set

comment:7 by scottmc, 7 years ago

Can someone review this patch, it's 2+ years old now.

comment:8 by phoudoin, 7 years ago

Resolution: fixed
Status: newclosed

This patch was applied long time ago, in hrev31007.

Note: See TracTickets for help on using tickets.