Commit graph

8 commits

Author SHA1 Message Date
Sean Purser-Haskell
93f6384fdd Fix to use To4()
This will also produce a runtime error if non-IPv4 addresses are passed
in.
2016-05-10 11:30:32 +08:00
Sean Purser-Haskell
735b3a96b7 add port accessors and modifiers for TCP/UDP 2016-05-09 16:17:22 +08:00
Harshal Sheth
e3fcc2a155 Moved linux specific code to the syscalls_linux.go file. Also removed unneeded constants from the syscalls_other.go file. 2015-11-07 19:20:00 -05:00
Song Gao
0195689109 added some functions for TAP that detect whether a MAC address is a broadcast or IPv4 multicast address 2013-03-30 19:51:57 -05:00
Song Gao
06bc3cd87f waterutil: doc.go: added packet format diagrams 2013-03-26 09:58:11 -05:00
Song Gao
f2108081c5 waterutil: doc.go: added packet format diagrams 2013-03-26 09:55:48 -05:00
Song Gao
1f89aa80c3 doc.go 2013-03-26 08:42:37 -05:00
Song Gao
4a028c3fe3 initial commit 2013-03-25 14:49:39 -05:00