Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(146)

Unified Diff: src/pkg/syscall/ztypes_freebsd_386.go

Issue 9373046: code review 9373046: syscall: add IPv6 socket options for Unix variants (Closed)
Patch Set: diff -r a1fb1560e22e https://code.google.com/p/go Created 11 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/pkg/syscall/ztypes_darwin_amd64.go ('k') | src/pkg/syscall/ztypes_freebsd_amd64.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/pkg/syscall/ztypes_freebsd_386.go
===================================================================
--- a/src/pkg/syscall/ztypes_freebsd_386.go
+++ b/src/pkg/syscall/ztypes_freebsd_386.go
@@ -236,6 +236,15 @@
Ifindex uint32
}
+type IPv6MTUInfo struct {
+ Addr RawSockaddrInet6
+ Mtu uint32
+}
+
+type ICMPv6Filter struct {
+ Filt [8]uint32
+}
+
const (
SizeofSockaddrInet4 = 0x10
SizeofSockaddrInet6 = 0x1c
@@ -249,6 +258,8 @@
SizeofMsghdr = 0x1c
SizeofCmsghdr = 0xc
SizeofInet6Pktinfo = 0x14
+ SizeofIPv6MTUInfo = 0x20
+ SizeofICMPv6Filter = 0x20
)
const (
« no previous file with comments | « src/pkg/syscall/ztypes_darwin_amd64.go ('k') | src/pkg/syscall/ztypes_freebsd_amd64.go » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b