Commit graph

34 commits

Author SHA1 Message Date
Song Gao
d44fb6ba41 Merge pull request #12 from daregod/master
Fix build constraints
2016-11-30 14:30:21 -08:00
daregod
393a203dd0 Build constraints adopted to documented one 2016-12-01 04:10:53 +06:00
daregod
ed1bc4e937 Fix build constraints 2016-12-01 03:30:46 +06:00
Song Gao
a7802d4a18 add darwin support for point-to-point TUN and update doc 2016-10-23 20:34:17 -07:00
Song Gao
f87d2289c2 Merge pull request #8 from spurserh/master
add port accessors and modifiers for TCP/UDP
2016-05-10 11:11:24 -05:00
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
Song Gao
6a76f249f6 use embeded elements instead or private field for /dev/net/tun
this makes it possible to get *os.File by using type assertion over
ReadWriteCloser.

resolves #7
2016-04-16 12:45:00 -05:00
Song Gao
4a6164f5ed more logging in ipv4_test 2016-04-16 12:41:15 -05:00
Song Gao
dd043efd91 Merge pull request #5 from accense/rename_test_files
rename test files in accodance with golang's naming rule
2016-01-06 15:15:35 +08:00
KOJIMA Takanori
4ae5e83fb9 rename test files (fix https://github.com/songgao/water/issues/4) 2016-01-06 07:03:40 +00:00
Song Gao
e7338c341f Merge pull request #2 from songgao/songgao/add_tests
Add TAP test (ipv4 broadcast)
2015-11-21 11:38:51 -06:00
Song Gao
acc2c8967a return error instead of panic() 2015-11-19 19:28:05 +00:00
Song Gao
d8e4f41ac8 use time.Timer 2015-11-11 22:12:44 +00:00
Song Gao
965ca414a6 add ipv4 broadcast test 2015-11-08 22:10:12 +00:00
Song Gao
ecf657aba3 Merge pull request #1 from hsheth2/master
Multi-platform support
2015-11-07 19:11:34 -06:00
Harshal Sheth
606f940f3e Fixed small typo file in README 2015-11-07 19:21:28 -05: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
Harshal Sheth
d2ac4607bb Multi-platform support 2015-08-15 17:05:24 -04:00
Song Gao
36aebfeb35 changed license to BSD 2013-05-23 09:23:49 -07: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
1c41478c90 doc.go 2013-03-26 08:47:37 -05:00
Song Gao
3870acb2a0 doc.go 2013-03-26 08:45:24 -05:00
Song Gao
1f89aa80c3 doc.go 2013-03-26 08:42:37 -05:00
Song Gao
ae9992abd1 README.md: license and alternatives 2013-03-25 20:53:09 -05:00
Song Gao
9327ab30fe README.md 2013-03-25 20:41:03 -05:00
Song Gao
bdec7545ba README.md 2013-03-25 15:12:10 -05:00
Song Gao
0efe1df764 README.md 2013-03-25 15:10:49 -05:00
Song Gao
19b342235d README.md 2013-03-25 15:10:02 -05:00
Song Gao
13bc83d2b7 added README.md 2013-03-25 15:06:18 -05:00
Song Gao
4a028c3fe3 initial commit 2013-03-25 14:49:39 -05:00
Song Gao
a9977e0a62 empty repo 2013-03-25 14:49:25 -05:00