diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2018-05-21 17:27:18 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2018-05-21 18:48:48 +0200 |
commit | ff3f2455e5cd74bd45c2f124a1d275462e33a4a0 (patch) | |
tree | c201e712664d808f8b166f9ac74f78dbfbcbb76a /tun_freebsd_amd64.go | |
parent | b962d7d791bb13830d62d7ae326780b413463971 (diff) |
Rework freebsd support
Diffstat (limited to 'tun_freebsd_amd64.go')
-rw-r--r-- | tun_freebsd_amd64.go | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/tun_freebsd_amd64.go b/tun_freebsd_amd64.go deleted file mode 100644 index 6b08caf..0000000 --- a/tun_freebsd_amd64.go +++ /dev/null @@ -1,18 +0,0 @@ -/* SPDX-License-Identifier: GPL-2.0 - * - * Copyright (C) 2017-2018 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved. - */ - -/* Types to deal with FreeBSD fdiogname ioctl for determining tun device name */ - -package main - -// Iface name max len -const _IFNAMESIZ = 16 - -// structure for iface requests with a pointer -type ifreq_ptr struct { - Name [_IFNAMESIZ]byte - Data uintptr - Pad0 [16]byte -} |