Commit Graph

14 Commits

Author SHA1 Message Date
kishiguro ade05d5c8f Add support for VRF. With this change we can create VRF interface.
$ sudo ip link add vrf1 type vrf table 1
2017-01-05 13:05:17 -08:00
JC Martin 9438c6ff27 Add support for VTI and IPIP 2016-11-22 17:06:50 -08:00
Brenden Blanco fadc1088f6 Add support for xdp set/get of a bpf program (#156)
* Add netlink definitions for extra IFLAs
  The relevant IFLA_* are defined in the kernel but not in the syscall
  package.
* Parameterize the return value of loadSimpleBpf
  Allow the return value of the bpf program created by loadSimpleBpf to
  be specified by the caller. Before this, the value was hardcoded to 1.
* Add support for a new IFLA that enables using a bpf program as a
  filter early in the driver path of some NICs.
* Add a test for set/get of an xdp program. Since currently, the XDP
  IFLA is optional, check that the hardware supports it before trying to
  set the field.

Signed-off-by: Brenden Blanco <bblanco@plumgrid.com>
2016-08-25 11:08:23 -07:00
Vishvananda Ishaya 377a621360 add SetVfHardwareAddr and SetVfVlan to link 2016-02-15 14:31:32 -08:00
Manohar Castelino 40ccc37ce5 Resolved upstream merge conflicts 2015-12-10 09:36:26 -08:00
marek-polewski 656c395788 add bond interface support 2015-12-09 13:33:45 +01: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
Thomas Graf c24b290c8f Support for IFLA_VXLAN_GBP flag
Signed-off-by: Thomas Graf <tgraf@suug.ch>
2015-07-31 13:48:03 +02:00
Eugene Yakubovich ae3e7dba57 added support for MACVLAN mode 2015-02-26 13:21:26 -08:00
Alexander Morozov 8bde0c8190 Use more accustomed way to define enums
Signed-off-by: Alexander Morozov <lk4d4@docker.com>
2015-02-12 11:16:19 -08:00
Alexander Morozov d710fe886a IPVlan support
Signed-off-by: Alexander Morozov <lk4d4@docker.com>
2015-02-11 14:18:57 -08:00
Alexander Morozov 8ec30991b3 Add constansts for bridge configuration
Signed-off-by: Alexander Morozov <lk4d4@docker.com>
2015-02-09 12:41:31 -08:00
Eugene Yakubovich 33e8718673 arp and vxlan support added 2014-10-13 11:04:09 -07:00
Vishvananda Ishaya 14677ef60e add missing file 2014-09-22 22:36:00 -07:00