Re: mbuf from scratch
Re: mbuf from scratch
- Subject: Re: mbuf from scratch
- From: Josh Graessley <email@hidden>
- Date: Tue, 28 Jun 2005 13:29:36 -0700
You can't create an ifp from scratch. An ifp is an interface pointer.
It points to an interface. The interface is allocated by some driver
or the stack in the case of a few built-in virtual interfaces such as
lo0. You can't just make one up. Well, you can, but then you'll have
lots of other questions.
-josh
On Jun 28, 2005, at 1:16 PM, Carl Smith wrote:
Sorry, guess I was expanding on the original question.
I was trying to get the consensus, is it OK to keep this "copied"
'ifp'
around or should I create everything 'new' from scratch, when
inputting
my data into the mbuf? I am asking this question relating to
performance, timing, memory and potential errors. Is there any benefit
to creating the 'ifp' from scratch versus keeping a copy around?
Carl
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden