Development discussion of WireGuard
 help / color / mirror / Atom feed
From: Devanath S <s.devanath@gmail.com>
To: WireGuard mailing list <wireguard@lists.zx2c4.com>,
	"Jason A. Donenfeld" <Jason@zx2c4.com>
Subject: Wireguard netstack client/server
Date: Mon, 21 Feb 2022 10:10:18 -0800	[thread overview]
Message-ID: <CADjMg7VnZd8sjAR82Cd5MUM2LeFa+af6Gp0RJBT50azwq4ETEw@mail.gmail.com> (raw)

Hi,

Was trying to understand the netstack related examples in
wireguard-go/tun/netstack/examples/

Examples for netstack available in other distributions, all do
createNIC using the fd of the network on the host-machine or likewise.
So packets enter/leave netstack through those interfaces.

With wireguard-go/tun/netstack/examples/   I dont see any interface
created on the host machine, then how are the packets enter/leave
netstack where wireguard devices are running? Plz advice.

Regards,
dev

                 reply	other threads:[~2022-02-21 18:10 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=CADjMg7VnZd8sjAR82Cd5MUM2LeFa+af6Gp0RJBT50azwq4ETEw@mail.gmail.com \
    --to=s.devanath@gmail.com \
    --cc=Jason@zx2c4.com \
    --cc=wireguard@lists.zx2c4.com \
    --subject='Re: Wireguard netstack client/server' \
    /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

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).