[haiku-development] Re: GSoC ICMP implementation
- From: "Axel Dörfler" <axeld@xxxxxxxxxxxxxxxx>
- To: haiku-development@xxxxxxxxxxxxx
- Date: Fri, 28 Mar 2008 12:13:49 +0100 CET
"Alvarez, Alan SPC MIL USA FORSCOM" <alan.alvarez@xxxxxxxxxxx> wrote:
> > Eventually, one might want to attach additional data to a
> > net_buffer.
> yes. The IP header has to be sent back the exact way it came.
>
> Well, it could be required for an upper module to call a lowest
> module to "clean up".
> I'm not sure if this is a very clean design though. I'll think in the
> next few days and let
> you know what I can come up with.
I would prefer if one can attach the necessary data to the net_buffer
in some way. In fact, it would be very cheap to have a mechanism that
"protects" a removed header from being overwritten.
The pointer to the header could be added to the net_buffer structure,
and the data itself would be freed when the buffer is freed.
Bye,
Axel.
- References:
- [haiku-development] Re: GSoC ICMP implementation
- From: Alvarez, Alan SPC MIL USA FORSCOM
Other related posts:
- » [haiku-development] GSoC ICMP implementation
- » [haiku-development] Re: GSoC ICMP implementation
- » [haiku-development] Re: GSoC ICMP implementation
- » [haiku-development] Re: GSoC ICMP implementation
- » [haiku-development] Re: GSoC ICMP implementation
- » [haiku-development] Re: GSoC ICMP implementation
- » [haiku-development] Re: GSoC ICMP implementation
- » [haiku-development] Re: GSoC ICMP implementation
- » [haiku-development] Re: GSoC ICMP implementation
- » [haiku-development] Re: GSoC ICMP implementation
- [haiku-development] Re: GSoC ICMP implementation
- From: Alvarez, Alan SPC MIL USA FORSCOM