Jorge Almeida wrote:
> Em Sexta, 1 de Setembro de 2006 15:00, o Jan Kiszka escreveu:
>> Jorge Almeida wrote:
>>> Hi Jan,
>>>
>>> Just one small question.
>>> When the rtskb are created the memory indicated by the pointers present in 
>>> the struct rtskb are allocated too?
>> In contrast to Linux skbs, rtskbs consist of a single piece: the control
>> head + the buffer tail.
>>
>>> For example the rtdev pointer points to one area of allocated memory for 
>>> this rtskb, or this pointer points to a unique area that refers to the 
>>> rtdev struct of the real device?
>> The buffer pointers (head, tail, end, ...) are initialised to point at
>> their own buffer. rtdev is an external reference to the unique
>> associated networking device. It's no buffer, it's the control structure
>> of that device!
> 
> So all the pointers, except rtdev, have allocated memory for each rtskb?
> 
> I make these questions because the rtskb_clone function that i'm doing.
> 

All uncommented stuff of struct rtskb in rtskb.h point to the data
region of the respective rtskb.

Jan

Attachment: signature.asc
Description: OpenPGP digital signature

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
RTnet-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rtnet-developers

Reply via email to