kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
* network Driver interface to the stack
@ 2012-01-15 13:45 V l
  2012-01-15 18:21 ` Jonathan Neuschäfer
  0 siblings, 1 reply; 2+ messages in thread
From: V l @ 2012-01-15 13:45 UTC (permalink / raw)
  To: kernelnewbies

I studied through my network interface driver and gained sufficient
understanding of the network stack.
I have a network stack for my ARM device and now in stage of interfacing
this stack to my network driver in the ARMDevice .
I know now that I have to just replace

for(q = p; q != NULL; q = q->next) {
    /* Send the data from the pbuf to the interface, one pbuf at a
       time. The size of the data in each pbuf is kept in the ->len
       variable. */
    send data from(q->payload, q->len);
  }


send data from(q->payload, q->len); with my driver specific code to send
the packet . Very nice ! But when I compile this code , its going to ask
where this driver specific senddata is defined , the header file or library
.
How do I resolve this part of the riddle . Its a little newbie kind of
question . But I have tried , I give up now. Plz help.
Regards
Sraddha
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20120115/111887c6/attachment.html 

^ permalink raw reply	[flat|nested] 2+ messages in thread

* network Driver interface to the stack
  2012-01-15 13:45 network Driver interface to the stack V l
@ 2012-01-15 18:21 ` Jonathan Neuschäfer
  0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Neuschäfer @ 2012-01-15 18:21 UTC (permalink / raw)
  To: kernelnewbies

On Sun, Jan 15, 2012 at 07:15:02PM +0530, V l wrote:
> the packet . Very nice ! But when I compile this code , its going to ask
> where this driver specific senddata is defined , the header file or library

Would you mind posting the exact code and compiler output?


Thanks,
	Jonathan Neusch?fer

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2012-01-15 18:21 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-15 13:45 network Driver interface to the stack V l
2012-01-15 18:21 ` Jonathan Neuschäfer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).