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

Unified Diff: src/pkg/syscall/ztypes_linux_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_freebsd_arm.go ('k') | src/pkg/syscall/ztypes_linux_amd64.go » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/pkg/syscall/ztypes_linux_386.go
===================================================================
--- a/src/pkg/syscall/ztypes_linux_386.go
+++ b/src/pkg/syscall/ztypes_linux_386.go
@@ -245,6 +245,15 @@
Ifindex uint32
}
+type IPv6MTUInfo struct {
+ Addr RawSockaddrInet6
+ Mtu uint32
+}
+
+type ICMPv6Filter struct {
+ Data [8]uint32
+}
+
type Ucred struct {
Pid int32
Uid uint32
@@ -300,6 +309,8 @@
SizeofCmsghdr = 0xc
SizeofInet4Pktinfo = 0xc
SizeofInet6Pktinfo = 0x14
+ SizeofIPv6MTUInfo = 0x20
+ SizeofICMPv6Filter = 0x20
SizeofUcred = 0xc
SizeofTCPInfo = 0x68
)
« no previous file with comments | « src/pkg/syscall/ztypes_freebsd_arm.go ('k') | src/pkg/syscall/ztypes_linux_amd64.go » ('j') | no next file with comments »

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