Reinject mbuf in Socket NKE
Reinject mbuf in Socket NKE
- Subject: Reinject mbuf in Socket NKE
- From: Matt Jaffa <email@hidden>
- Date: Mon, 29 Nov 2004 14:15:02 -0700
Hi,
I have been looking over source code and searching the web but don't
really come up with anything.
I have a socket NKE filter which on some packets returns a EJUSTRETURN
so I can send them out later.
But for a socket NKE I don't know how to reinject them. I tried
sbappend(&so->so_snd, mymbuf);
so is the socket from the filtered sosend function. It doesn't seem to
be working, I have injected mbufs using the so->so_rcv, and that
has worked for putting my own data on the in-buffer.
If you go to this webpage:
http://developer.apple.com/documentation/Darwin/Conceptual/
NetworkKernelExtensions/about/chapter_1_section_7.html
and search the page for reinject, it says that a method for reinjecting
is not defined yet, will this ever be defined, or is it defined and I
don't know about it.
Thanks,
Matt
_______________________________________________
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