Opened 18 years ago

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

Download all attachments as: .zip

Change History (9)

comment:1 by marcusoverhagen, 18 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, 18 years ago

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

comment:3 by axeld, 18 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, 17 years ago

Milestone: R1 Network StackR1

comment:5 by axeld, 16 years ago

Summary: Complete net_buffer implementationImprove net_buffer implementation

Clarified summary.

by sil2100, 16 years ago

Attachment: net_buffer.diff added

Try on a little more efficient split_buffer()

comment:6 by mmadia, 15 years ago

patch: 01

comment:7 by scottmc, 12 years ago

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

comment:8 by phoudoin, 12 years ago

Resolution: fixed
Status: newclosed

This patch was applied long time ago, in hrev31007.

Note: See TracTickets for help on using tickets.