Replaces https://github.com/docker/libnetwork/pull/2118; rebase of the original PR with some changes removed that are already on master (or in a separate PR now) and also updates vishvananda/netns
closes https://github.com/docker/libnetwork/pull/2118 closes https://github.com/docker/libnetwork/pull/2304
Full diff: https://github.com/vishvananda/netlink/compare/b2de5d10e38ecce8607e6b438b6d174f389a004e...v1.0.0
Changes included:
- https://github.com/vishvananda/netlink/pull/283 Allow index specification at link creation time
- https://github.com/vishvananda/netlink/pull/286 replace syscall with golang.org/x/sys/unix
- related: https://github.com/vishvananda/netlink/pull/330 Use IFF_MULTI_QUEUE from x/sys/unix to define TUNTAP_MULTI_QUEUE
- related: https://github.com/vishvananda/netlink/pull/332 Use IFLA_* constants from x/sys/unix
- https://github.com/vishvananda/netlink/pull/287 Fix index out of range when no metadata for gretap
- https://github.com/vishvananda/netlink/pull/281 added encapsulation attributes for Iptun and Sittun to support SIT tunnels
- https://github.com/vishvananda/netlink/pull/288 Expose xfrm state's statistics
- https://github.com/vishvananda/netlink/pull/290 Support invert in ip rules
- https://github.com/vishvananda/netlink/pull/282 Support LWTUNNEL_ENCAP_SEG6
- https://github.com/vishvananda/netlink/commit/63ca7e48f59f463578ae6b6e839bef6906f048e2 Support setting and retrieving route MTU/AdvMSS
- https://github.com/vishvananda/netlink/pull/259 Fix CalcRtable array parameter bug
- https://github.com/vishvananda/netlink/pull/285 added support for Foo-over-UDP netlink calls
- https://github.com/vishvananda/netlink/pull/225 Support num{tx,rx}queues and udp6zerocsum{tx,rx}
- https://github.com/vishvananda/netlink/pull/293 tuntap: Add multiqueue support
- https://github.com/vishvananda/netlink/pull/227 Retrieve VLAN ID when listing neighbour
- https://github.com/vishvananda/netlink/pull/301 Fix LinkAdd for sit tunnel on 3.10 kernel
- https://github.com/vishvananda/netlink/pull/303 Add support for managing source MACVLANs
- https://github.com/vishvananda/netlink/pull/307 Two functions: one for adding bond slave, one for getting veth peer index
- https://github.com/vishvananda/netlink/pull/308 Eliminate cgo from netlink
- https://github.com/vishvananda/netlink/pull/309 Don't overwrite the XDP file descriptor with flags
- https://github.com/vishvananda/netlink/pull/313 Fix reference to BPF instructions (on Kernel 4.13)
- https://github.com/vishvananda/netlink/pull/311 Add Matchall filter
- https://github.com/vishvananda/netlink/pull/315 Send IFA_CACHEINFO when setting up addresses
- https://github.com/vishvananda/netlink/pull/317 Support IPv6 GRE Tun and Tap
- https://github.com/vishvananda/netlink/pull/318 Add List option to RouteSubscribeWithOptions, AddrSubscribeWithOptions, and LinkSubscribeWithOptions
- https://github.com/vishvananda/netlink/pull/321 Add Fq and Fq_Codel Qdisc support
该提问来源于开源项目:moby/libnetwork