kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
From: aifsair@gmail.com (François)
To: kernelnewbies@lists.kernelnewbies.org
Subject: Send packets from userspace program to kernel interface
Date: Tue, 16 Aug 2016 11:39:33 +0200	[thread overview]
Message-ID: <20160816093931.7xpww34nhq4io33w@sith> (raw)
In-Reply-To: <CADmdLE8a0e7FXtmRiUGVKSP=y8dkJ9rLepQvP2WP3KoVK01iKw@mail.gmail.com>

On Mon, Aug 15, 2016 at 11:30:56PM -0700, Bhaskar Upadhyayula wrote:
> Hello All,

Hi!

> A colleague suggested looking at Tuntap interfaces. I did a quick
> research and it did not appear that can be done.
> 
> Any suggestions or pointers for further reading will be very
> helpful.

I also think tun/tap will do the work you need.
I did not properly understand what exactly you want to achieve.
Anyway, have a look on that tutorial on tun/tap [1]. It's a great
overview of what you can do with this facility.

[1] http://backreference.org/2010/03/26/tuntap-interface-tutorial/

Best regards,
Fran?ois

      parent reply	other threads:[~2016-08-16  9:39 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-16  6:30 Send packets from userspace program to kernel interface Bhaskar Upadhyayula
2016-08-16  9:11 ` Alan Liddell
2016-08-16  9:39   ` Gadre Nayan
2016-08-16 17:45     ` Bhaskar Upadhyayula
2016-08-16 17:42   ` Bhaskar Upadhyayula
2016-08-16 19:56     ` Alan Liddell
2016-08-16  9:39 ` François [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=20160816093931.7xpww34nhq4io33w@sith \
    --to=aifsair@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).