From: vloveuvm@gmail.com (V l)
To: kernelnewbies@lists.kernelnewbies.org
Subject: network Driver interface to the stack
Date: Sun, 15 Jan 2012 19:15:02 +0530 [thread overview]
Message-ID: <CAA+MarVYCYfA7hCOMiqgM_t_qV4PcsuqBhmRLcK7Qu3BRqcMsQ@mail.gmail.com> (raw)
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
next reply other threads:[~2012-01-15 13:45 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-01-15 13:45 V l [this message]
2012-01-15 18:21 ` network Driver interface to the stack Jonathan Neuschäfer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CAA+MarVYCYfA7hCOMiqgM_t_qV4PcsuqBhmRLcK7Qu3BRqcMsQ@mail.gmail.com \
--to=vloveuvm@gmail.com \
--cc=kernelnewbies@lists.kernelnewbies.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).