Invoking sendmmsg from Go.

john at sys.casa john at sys.casa
Tue Aug 31 17:41:30 UTC 2021


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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: publickey - john at sys.casa - 5550f851.asc
Type: application/pgp-keys
Size: 3179 bytes
Desc: not available
URL: <http://lists.zx2c4.com/pipermail/wireguard/attachments/20210831/717c4ffa/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 855 bytes
Desc: OpenPGP digital signature
URL: <http://lists.zx2c4.com/pipermail/wireguard/attachments/20210831/717c4ffa/attachment.sig>


More information about the WireGuard mailing list