From: "john@sys.casa" <john@sys.casa>
To: wireguard@lists.zx2c4.com
Subject: Invoking sendmmsg from Go.
Date: Tue, 31 Aug 2021 17:41:30 +0000 [thread overview]
Message-ID: <03143d09-112a-d28c-f79e-d97c01f7b1d2@sys.casa> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 532 bytes --]
Hey folks;
While reading through some of the wireguard-go source I saw there is a
TODO to implement:
//
https://git.zx2c4.com/wireguard-go/tree/tun/tun_linux.go?id=3957e9b9dd19#n359
func (tun *NativeTun) Flush() error
The note suggests using sendmmsg, which, does not seem to be implemented
by the syscall package in Go. (https://github.com/golang/go/issues/9402)
Given that, I was wondering if anybody knows a way to interface with
sendmmsg from Go?
--
Regards,
John S
[-- Attachment #1.2: publickey - john@sys.casa - 5550f851.asc --]
[-- Type: application/pgp-keys, Size: 3179 bytes --]
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 855 bytes --]
next reply other threads:[~2021-09-01 13:44 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-08-31 17:41 john [this message]
2021-09-03 14:57 ` Wade Simmons
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=03143d09-112a-d28c-f79e-d97c01f7b1d2@sys.casa \
--to=john@sys.casa \
--cc=wireguard@lists.zx2c4.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;
as well as URLs for NNTP newsgroup(s).