mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Dmytro Bablinyuk <dmytro.bablinyuk@tait.co.nz>
To: William Stearns <wstearns@pobox.com>
Cc: linux-kernel@vger.kernel.org
Subject: Re: How to send an IP packet from the kernel
Date: Mon, 15 Dec 2003 15:38:44 +1300	[thread overview]
Message-ID: <3FDD1EB4.3020305@tait.co.nz> (raw)
In-Reply-To: <Pine.LNX.4.44.0312142130380.22128-100000@sparrow>


>>I have a dstaddr, srcaddr and the actual data(payload). I need to load 
>>IP packet with data(payload) and send the packet out to the net through 
>>eth0 .
>>How do I do this from the kernel?
>>    
>>
>
>	Why not do it from userspace, with lots of available tools ( 
>http://www.stearns.org/doc/pcap-apps.html , 
>http://www.stearns.org/netreply )?
>  
>
For reasons that the driver will do extra stuff on this data and this 
data not always will be/must be available to a user space app.
Some data will be available only inside of the driver. No other 
processing out of the driver for that data is allowed.


  reply	other threads:[~2003-12-15  2:37 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-12-15  2:11 Dmytro Bablinyuk
2003-12-15  2:31 ` William Stearns
2003-12-15  2:38   ` Dmytro Bablinyuk [this message]
2003-12-16  6:11     ` Joshua Schmidlkofer

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=3FDD1EB4.3020305@tait.co.nz \
    --to=dmytro.bablinyuk@tait.co.nz \
    --cc=linux-kernel@vger.kernel.org \
    --cc=wstearns@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome