]> Cypherpunks repositories - gostls13.git/commit
syscall, net: use native endianness for Linux netlink messages
authorIan Lance Taylor <iant@golang.org>
Thu, 5 Apr 2012 00:41:36 +0000 (17:41 -0700)
committerIan Lance Taylor <iant@golang.org>
Thu, 5 Apr 2012 00:41:36 +0000 (17:41 -0700)
commit35bc9d17df3876b612bf45d4715fe9fcc479768e
tree891772f0a9cb411a0ba46b32bfcfba00eb3f1e79
parent22690e662197836806e5d30a1bd49013ea16a50a
syscall, net: use native endianness for Linux netlink messages

Tested using 6g and gccgo on x86_64 GNU/Linux and using gccgo
on PowerPC GNU/Linux (which is big-endian).

R=golang-dev, bradfitz, mikioh.mikioh, iant
CC=golang-dev
https://golang.org/cl/5975073
src/pkg/net/interface_linux.go
src/pkg/syscall/netlink_linux.go