Re: [RTnet-developers] rtskb_acquire
Brought to you by:
bet-frogger,
kiszka
|
From: Jorge A. <j-a...@cr...> - 2006-09-01 14:18:15
|
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. > > Jan > > > > > Thanks for an answer. > > > > Em Quinta, 31 de Agosto de 2006 17:12, o Jan Kiszka escreveu: > > ... > > PS: Please don't cite what you do not comment on. > > -- Jorge Almeida j-a...@cr... DISCLAIMER: This message may contain confidential information or privileged material and is intended only for the individual(s) named. If you are not a named addressee and mistakenly received this message you should not copy or otherwise disseminate it: please delete this e-mail from your system and notify the sender immediately. E-mail transmissions are not guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete or contain viruses. Therefore, the sender does not accept liability for any errors or omissions in the contents of this message that arise as a result of e-mail transmissions. Please request a hard copy version if verification is required. Critical Software, SA. |