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

Side by Side Diff: unix/route_freebsd_64bit.go

Issue 121520043: code review 121520043: go.sys: update package names (Closed)
Patch Set: diff -r ad63a19ca444543ec83ec030d1200b0510f3f192 https://code.google.com/p/go.sys Created 10 years, 7 months ago
Left:
Right:
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 unified diff | Download patch
« no previous file with comments | « unix/route_freebsd_32bit.go ('k') | unix/route_netbsd.go » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Go Authors. All rights reserved. 1 // Copyright 2014 The Go Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style 2 // Use of this source code is governed by a BSD-style
3 // license that can be found in the LICENSE file. 3 // license that can be found in the LICENSE file.
4 4
5 // +build freebsd,amd64 5 // +build freebsd,amd64
6 6
7 package syscall 7 package unix
8 8
9 import "unsafe" 9 import "unsafe"
10 10
11 func (any *anyMessage) parseInterfaceMessage(b []byte) *InterfaceMessage { 11 func (any *anyMessage) parseInterfaceMessage(b []byte) *InterfaceMessage {
12 p := (*InterfaceMessage)(unsafe.Pointer(any)) 12 p := (*InterfaceMessage)(unsafe.Pointer(any))
13 return &InterfaceMessage{Header: p.Header, Data: b[SizeofIfMsghdr:any.Ms glen]} 13 return &InterfaceMessage{Header: p.Header, Data: b[SizeofIfMsghdr:any.Ms glen]}
14 } 14 }
OLDNEW
« no previous file with comments | « unix/route_freebsd_32bit.go ('k') | unix/route_netbsd.go » ('j') | no next file with comments »

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