From: Ben Greear <greearb@candelatech.com>
To: "Josef E. Galea" <josefeg@euroweb.net.mt>
Cc: Scott Feldman <sfeldma@pobox.com>, linux-kernel@vger.kernel.org
Subject: Re: Sending IP datagrams
Date: Mon, 07 Mar 2005 17:29:35 -0800 [thread overview]
Message-ID: <422CFFFF.2010501@candelatech.com> (raw)
In-Reply-To: <422CF779.6030508@euroweb.net.mt>
Josef E. Galea wrote:
> Scott Feldman wrote:
>
>>
>> On Mar 7, 2005, at 3:48 PM, Josef E. Galea wrote:
>>
>>> Hi,
>>>
>>> Is there any way, other than socket buffers, to send IP datagrams
>>> from a kernel module? If yes, can you please point me to some good
>>> tutorial or sample code
>>
>>
>>
>> See net/core/pktgen.c for an example.
>>
>> -scott
>>
> AFAIK that module uses socket buffers (struct sk_buff) to send the
> packets. I was asking whether there was another way to send the IP
> datagrams.
The sk_buf is the thing you send to network drivers, it doesn't get
any more basic unless you are hacking a particular driver and DMA'ing memory
or something like that...
Maybe you should explain what you are really trying to do?
Ben
--
Ben Greear <greearb@candelatech.com>
Candela Technologies Inc http://www.candelatech.com
prev parent reply other threads:[~2005-03-08 1:31 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-03-07 23:48 Sending IP datagrams Josef E. Galea
2005-03-08 0:42 ` Scott Feldman
2005-03-08 0:53 ` Josef E. Galea
2005-03-08 1:15 ` Scott Feldman
2005-03-08 1:29 ` Ben Greear [this message]
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=422CFFFF.2010501@candelatech.com \
--to=greearb@candelatech.com \
--cc=josefeg@euroweb.net.mt \
--cc=linux-kernel@vger.kernel.org \
--cc=sfeldma@pobox.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.