summaryrefslogtreecommitdiff
path: root/src/pkg/syscall/syscall_freebsd.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/pkg/syscall/syscall_freebsd.go')
-rw-r--r--src/pkg/syscall/syscall_freebsd.go12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/pkg/syscall/syscall_freebsd.go b/src/pkg/syscall/syscall_freebsd.go
index ee947be20..ed310663a 100644
--- a/src/pkg/syscall/syscall_freebsd.go
+++ b/src/pkg/syscall/syscall_freebsd.go
@@ -14,6 +14,18 @@ package syscall
const OS = "freebsd"
+type SockaddrDatalink struct {
+ Len uint8
+ Family uint8
+ Index uint16
+ Type uint8
+ Nlen uint8
+ Alen uint8
+ Slen uint8
+ Data [46]int8
+ raw RawSockaddrDatalink
+}
+
/*
* Exposed directly
*/