Commit Graph

186 Commits

Author SHA1 Message Date
Everton Marques
afa33d45e9 AddrSubscribe(): receive updates for changes in link addresses. 2016-01-28 17:27:24 -02:00
Vish Ishaya
5a5eb317d7 Merge pull request #84 from chantra/htbclass_2.6
Htbclass support for 2.6 kernel
2016-01-15 12:59:28 -08:00
chantra
d14228b8a5 Do not use nl specific types in class.go 2016-01-13 22:08:44 -08:00
Vish Ishaya
1281ba6af5 Merge pull request #82 from drzaeus77/nlmsghdr
Add syscall.NlMsghdr to LinkUpdate
2016-01-11 15:58:21 -08:00
Vish Ishaya
51f5cbfc99 Merge pull request #85 from okamototk/support-udpcsum
Support VXLAN udpcsum to enable UDP checksum in outer UDP header.
2016-01-11 15:57:56 -08:00
Takashi Okamoto
06ac83f14a Support VXLAN udpcsum to enable UDP checksum in outer UDP header. 2016-01-09 11:11:08 +09:00
chantra
c68d0f3e3c Return error as part of NewHtbClass 2015-12-25 23:40:22 -08:00
chantra
683203e227 Make htb class work on older kernels (2.6) 2015-12-25 23:19:37 -08:00
Brenden Blanco
5b0e1a0383 Add syscall.NlMsghdr to LinkUpdate
Some header fields are needed in order to use LinkSubscribe, for
instance it is useful to distinguish RTM_ADDLINK from RTM_DELLINK.
2015-12-22 21:19:51 -05:00
Vishvananda Ishaya
bfd70f5564 make the gre test pass 2015-12-18 12:14:58 -08:00
Vishvananda Ishaya
2e77ee0835 try a longer wait 2015-12-18 12:08:42 -08:00
Vishvananda Ishaya
d2daa64e4b fix and skip tests for travis 2015-12-18 12:05:30 -08:00
Vishvananda Ishaya
37a89b4181 Try keeping the path 2015-12-18 11:41:31 -08:00
Vishvananda Ishaya
f71f6390c4 Allow sudo for travis 2015-12-18 11:36:21 -08:00
Vishvananda Ishaya
d14e43bfff Run test by default in the makefile 2015-12-18 11:32:50 -08:00
Vishvananda Ishaya
97b2064346 Update veth test for newer kernels 2015-12-18 11:32:28 -08:00
Vish Ishaya
3f1d2fddc7 Merge pull request #81 from mcastelino/master
Added support to set up all gretap parameters
2015-12-18 10:41:36 -08:00
Manohar Castelino
4af3be8241 Merge remote-tracking branch 'upstream/master' 2015-12-10 12:05:59 -08:00
Vish Ishaya
3e530fc6dc Merge pull request #74 from mcastelino/master
Add support for creating gretap interfaces and setting and retrieving interface by alias.
2015-12-10 11:56:09 -08:00
Vish Ishaya
6d5f3e0419 Merge pull request #79 from krhubert/fixBond
Fix build error
2015-12-10 11:54:25 -08:00
Manohar Castelino
3e9cd37dc3 Added support for setting all gretap parameters 2015-12-10 10:57:59 -08:00
Manohar Castelino
4dbdaec42d Merge remote-tracking branch 'krhubert_netlink/fixBond' 2015-12-10 09:44:36 -08:00
Manohar Castelino
40ccc37ce5 Resolved upstream merge conflicts 2015-12-10 09:36:26 -08:00
Hubert Krauze
066d9e83e8 Fix tests 2015-12-10 11:09:24 +01:00
Hubert Krauze
0d84fd3936 Use NewLinkAttrs 2015-12-10 10:36:47 +01:00
Hubert Krauze
0fade0d7ec Fix build error 2015-12-10 10:34:34 +01:00
Vish Ishaya
8c46a90072 Merge pull request #78 from marek-polewski/bond
add bond interface support
2015-12-09 21:21:57 -08:00
Vish Ishaya
3b59128e69 Merge pull request #77 from krhubert/fixLinkAdd
Add link.Attrs().Flags during creating link
2015-12-09 21:19:43 -08:00
Vish Ishaya
7f3b1cdb14 Merge pull request #73 from marek-polewski/master
New route fields, and route filtration
2015-12-09 21:18:43 -08:00
Vish Ishaya
760b69fc4b Merge pull request #72 from krhubert/addr
Add scope and flags support for netlink address
2015-12-09 21:17:53 -08:00
Vish Ishaya
7f91072058 Merge pull request #70 from krhubert/master
Add support for rules
2015-12-09 21:16:24 -08:00
Vish Ishaya
f22a18dee2 Merge pull request #76 from krhubert/fix75
Fix #75
2015-12-09 19:39:36 -08:00
Hubert Krauze
487b33a083 Support Rule tun id 2015-12-09 14:14:24 +01:00
Hubert Krauze
97758f316b Remove FlagMask from Rule 2015-12-09 14:07:11 +01:00
marek-polewski
656c395788 add bond interface support 2015-12-09 13:33:45 +01:00
Hubert Krauze
9f8d5e7e60 Add link.Attrs().Flags during creating link 2015-12-09 12:47:37 +01:00
Hubert Krauze
ec75580958 Add test for adding non existing master, use new api - LinkSetNoMaster 2015-12-09 12:26:37 +01:00
Hubert Krauze
a88e39d806 Check if master Bridge exists when LinkSetMaster 2015-12-09 12:25:52 +01:00
Hubert Krauze
2f58676854 Create LinkSetNoMaster function 2015-12-09 12:25:42 +01:00
Hubert Krauze
124b1f4449 Table driven test for Addr 2015-12-09 11:53:28 +01:00
Hubert Krauze
f351153998 Remove FlagsMask from Addr struct 2015-12-09 11:30:21 +01:00
Manohar Castelino
a1013b839d Merge remote-tracking branch 'upstream/master' 2015-12-08 16:44:09 -08:00
Manohar Castelino
f8776950ce Added support for creating gretap.
Equivalent to ip link add <name> type gretap local <localIP> remote <remoteIP> key <key>
2015-12-08 16:37:03 -08:00
marek-polewski
889a43b83d remove routeFilter struct and use route and mask instead
rename iif to iLinkIndex
2015-12-08 23:35:55 +01:00
Vish Ishaya
edcd99c088 Merge pull request #71 from krhubert/feat
Add support for IPv6 in NewIPNet
2015-12-03 08:45:49 -08:00
Manohar Castelino
4c5782b0e9 Add support for alias set and retrieve interface by alias 2015-11-30 11:57:00 -08:00
marek-polewski
b5b45b160b add route filtration structure 2015-11-26 16:31:53 +01:00
marek-polewski
dfdad47336 add protocol, priority, table, type, tos to route 2015-11-26 16:09:33 +01:00
Hubert Krauze
87df994490 Add scope and flags support for netlink address 2015-11-26 12:47:18 +01:00
Hubert Krauze
39cd2806f3 Add support for IPv6 in NewIPNet 2015-11-26 12:02:35 +01:00