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 10 years ago.
Try on a little more efficient split_buffer()

Download all attachments as: .zip

Change History (9)

comment:1 Changed 13 years ago by marcusoverhagen

Platform: All

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

comment:2 Changed 12 years ago by hugosantos

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

comment:3 Changed 12 years ago by axeld

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

comment:4 Changed 12 years ago by axeld

Milestone: R1 Network StackR1

comment:5 Changed 10 years ago by axeld

Summary: Complete net_buffer implementationImprove net_buffer implementation

Clarified summary.

Changed 10 years ago by sil2100

Attachment: net_buffer.diff added

Try on a little more efficient split_buffer()

comment:6 Changed 9 years ago by mmadia

Has a Patch: set

comment:7 Changed 7 years ago by scottmc

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

comment:8 Changed 7 years ago by phoudoin

Resolution: fixed
Status: newclosed

This patch was applied long time ago, in hrev31007.

Note: See TracTickets for help on using tickets.