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
Marek Polewski
7d55ffec7d
Add missing rule related syscalls const
2015-11-26 11:58:26 +01:00
Marek Polewski
89945b09c0
Add support for rules
2015-11-26 11:50:07 +01:00
Vish Ishaya
a57a12c1b1
Merge pull request #67 from chantra/class_replace
...
Class replace/change
2015-11-17 11:21:57 -08:00
Vish Ishaya
c081f9bb20
Merge pull request #65 from eyakubovich/neigh-list-filtered
...
Pass linkIndex filter into kernel for NeighList
2015-11-17 11:20:44 -08:00
Vish Ishaya
3e8d52b0f9
Merge pull request #64 from chantra/tc_replace
...
Add support to replace/change qdisc
2015-11-17 11:20:18 -08:00
Vish Ishaya
7aac33f9ad
Merge pull request #63 from krhubert/master
...
fix NeightSet functions
2015-11-17 11:18:28 -08:00
chantra
bc12fcdc7f
Add ClassReplace and ClassChange
...
Along with unittests
2015-11-14 23:16:33 -05:00
chantra
19a1f20ae8
[class] refactor class functions to use a common classModify function
...
This prevents duplicated code and make adding other commands such as replace, change easier
2015-11-13 22:51:07 -05:00
Eugene Yakubovich
1b0df1a7d3
Pass linkIndex filter into kernel for NeighList
...
This turns out to be especially important as there
appears to be a bug in the kernel with bonding.
The bug causes an infinite amount of fdb entries
to be returned (it just cycle through the interfaces)
if no interface filter is set.
2015-11-12 17:21:14 -08:00
chantra
eeca6ddad9
[qdisc] refactor all commands to use qdiscModify function
2015-11-12 09:55:13 -05:00
chantra
e1c5c4e664
[qdisc] move building payload i its own function
2015-11-12 09:46:43 -05:00
chantra
b530ef5ad1
[qdisc] add support for replace/change
2015-11-11 23:57:32 -05:00
Hubert
37122b306c
docs: replace NeighAdd with NeighSet
2015-11-10 14:38:50 +01:00
Hubert
4dca3fe96e
fix: NeighSet don't replace neigh when it exists
2015-11-10 14:36:42 +01:00
Vish Ishaya
00326095f5
Merge pull request #55 from chantra/netem_qdisc
...
[netem] minimalist support for netem
2015-11-05 09:27:25 -08:00
Vish Ishaya
56b302fe8b
Merge pull request #61 from safchain/getfd
...
Add an accessor to the fd of the netlink socket
2015-11-05 09:26:58 -08:00
Sylvain Afchain
add4a8a814
Add an accessor to the fd of the netlink socket
...
Giving a such access could be usefull in order to use
the socket in a non-blocking way. This is especially useful
when using it in a network namespace since the namespace can be
deleted and one can be blocked in a Receive operation.
2015-11-05 11:28:57 +01:00
chantra
322c7826d2
[netem] add support for reordering/corruption/correlation
...
Note: This requires #58 to be merged in order to properly work.
2015-10-28 00:22:47 -07:00
chantra
9b7c60d6bd
[netem] minimalist support for netem
...
Support for tc_netem_qopt options, e.g: latency, limit, loss, gap, duplicate and jitter
2015-10-28 00:22:47 -07:00
Vish Ishaya
9168c87284
Merge pull request #53 from dcbw/addr-trim-whitespace
...
Trim whitespace from Addr.String()
2015-10-27 17:51:36 -07:00
Vish Ishaya
09c697082a
Merge pull request #58 from chantra/rtattr_data_children
...
[nl] Fix RtAttr.Serialize to serialize both Data and Children
2015-10-27 17:51:08 -07:00
chantra
0e48f7d3e5
[nl] Fix RtAttr.Serialize to serialize both Data and Children
...
The function was only serializing the Data if it was not nil.
It was correctly setting the size of the payload as RtAttr.Len correctly
accounted for it. This resulted in the children payload being zeroed.
Fixes #57
2015-10-24 16:12:25 -07:00
Dan Williams
b8bd116f5e
Trim whitespace from Addr.String()
...
If the address has no label, there's extra whitespace at the end.
2015-10-15 08:26:22 -05:00
Vish Ishaya
8e810149a2
Merge pull request #52 from aakso/master
...
Add support for setting nexthop flags for routes
2015-10-10 14:18:58 -07:00
Vish Ishaya
e0c4607c07
Merge pull request #50 from chantra/fw_filter
...
Add FW filter support
2015-10-10 14:17:26 -07:00
Vish Ishaya
c48a5503c0
Merge pull request #51 from clearlinux/tuntap
...
Add basic support for TUN/TAP link type and creation.
2015-10-10 14:16:40 -07:00