46 Commits

Author SHA1 Message Date
dependabot[bot]
cb077713c3
build(deps): bump github.com/cilium/ebpf from 0.9.2 to 0.9.3 (#151)
Bumps [github.com/cilium/ebpf](https://github.com/cilium/ebpf) from 0.9.2 to 0.9.3.
- [Release notes](https://github.com/cilium/ebpf/releases)
- [Commits](https://github.com/cilium/ebpf/compare/v0.9.2...v0.9.3)

---
updated-dependencies:
- dependency-name: github.com/cilium/ebpf
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-10-03 18:24:44 +02:00
dependabot[bot]
f304a1041f
build(deps): bump github.com/mdlayher/netlink from 1.6.0 to 1.6.2 (#150)
Bumps [github.com/mdlayher/netlink](https://github.com/mdlayher/netlink) from 1.6.0 to 1.6.2.
- [Release notes](https://github.com/mdlayher/netlink/releases)
- [Changelog](https://github.com/mdlayher/netlink/blob/main/CHANGELOG.md)
- [Commits](https://github.com/mdlayher/netlink/compare/v1.6.0...v1.6.2)

---
updated-dependencies:
- dependency-name: github.com/mdlayher/netlink
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-26 09:28:31 +02:00
dependabot[bot]
6bacdbf133
build(deps): bump github.com/cilium/ebpf from 0.9.1 to 0.9.2 (#149)
Bumps [github.com/cilium/ebpf](https://github.com/cilium/ebpf) from 0.9.1 to 0.9.2.
- [Release notes](https://github.com/cilium/ebpf/releases)
- [Commits](https://github.com/cilium/ebpf/compare/v0.9.1...v0.9.2)

---
updated-dependencies:
- dependency-name: github.com/cilium/ebpf
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-21 10:42:30 +02:00
dependabot[bot]
ed660c77b1
build(deps): bump github.com/google/go-cmp from 0.5.8 to 0.5.9 (#148)
Bumps [github.com/google/go-cmp](https://github.com/google/go-cmp) from 0.5.8 to 0.5.9.
- [Release notes](https://github.com/google/go-cmp/releases)
- [Commits](https://github.com/google/go-cmp/compare/v0.5.8...v0.5.9)

---
updated-dependencies:
- dependency-name: github.com/google/go-cmp
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-09-09 08:03:22 +02:00
dependabot[bot]
896a1067bb
build(deps): bump github.com/cilium/ebpf from 0.9.0 to 0.9.1 (#143)
Bumps [github.com/cilium/ebpf](https://github.com/cilium/ebpf) from 0.9.0 to 0.9.1.
- [Release notes](https://github.com/cilium/ebpf/releases)
- [Commits](https://github.com/cilium/ebpf/compare/v0.9.0...v0.9.1)

---
updated-dependencies:
- dependency-name: github.com/cilium/ebpf
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-07-20 09:49:05 +02:00
dependabot[bot]
f7fc5cb91d
build(deps): bump github.com/cilium/ebpf from 0.8.1 to 0.9.0 (#142)
Bumps [github.com/cilium/ebpf](https://github.com/cilium/ebpf) from 0.8.1 to 0.9.0.
- [Release notes](https://github.com/cilium/ebpf/releases)
- [Commits](https://github.com/cilium/ebpf/compare/v0.8.1...v0.9.0)

---
updated-dependencies:
- dependency-name: github.com/cilium/ebpf
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-05-26 11:16:38 +02:00
dependabot[bot]
2dc4cb7c19
build(deps): bump github.com/google/go-cmp from 0.5.7 to 0.5.8 (#141)
Bumps [github.com/google/go-cmp](https://github.com/google/go-cmp) from 0.5.7 to 0.5.8.
- [Release notes](https://github.com/google/go-cmp/releases)
- [Commits](https://github.com/google/go-cmp/compare/v0.5.7...v0.5.8)

---
updated-dependencies:
- dependency-name: github.com/google/go-cmp
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-04-27 10:47:30 +02:00
Florian Lehner
a833fb5b68
add netlink/rule (#139)
* add netlink/rule

Signed-off-by: Florian Lehner <dev@der-flo.net>

* Add some fuzzing corpus

Signed-off-by: Jeroen Simonetti <jeroen@simonetti.nl>

Co-authored-by: Jeroen Simonetti <jeroen@simonetti.nl>
2022-04-12 09:00:30 +02:00
dependabot[bot]
e899fd5417
build(deps): bump github.com/cilium/ebpf from 0.8.0 to 0.8.1 (#136)
Bumps [github.com/cilium/ebpf](https://github.com/cilium/ebpf) from 0.8.0 to 0.8.1.
- [Release notes](https://github.com/cilium/ebpf/releases)
- [Commits](https://github.com/cilium/ebpf/compare/v0.8.0...v0.8.1)

---
updated-dependencies:
- dependency-name: github.com/cilium/ebpf
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-02-15 08:25:45 +01:00
dependabot[bot]
6f5b781fda
build(deps): bump github.com/mdlayher/netlink from 1.5.0 to 1.6.0 (#135)
* build(deps): bump github.com/mdlayher/netlink from 1.5.0 to 1.6.0

Bumps [github.com/mdlayher/netlink](https://github.com/mdlayher/netlink) from 1.5.0 to 1.6.0.
- [Release notes](https://github.com/mdlayher/netlink/releases)
- [Changelog](https://github.com/mdlayher/netlink/blob/main/CHANGELOG.md)
- [Commits](https://github.com/mdlayher/netlink/compare/v1.5.0...v1.6.0)

---
updated-dependencies:
- dependency-name: github.com/mdlayher/netlink
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

* drop support for Go 1.12

Signed-off-by: Jeroen Simonetti <jeroen@simonetti.nl>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jeroen Simonetti <jeroen@simonetti.nl>
2022-01-31 10:55:51 +01:00
dependabot[bot]
bbb52d4485
build(deps): bump github.com/cilium/ebpf from 0.7.0 to 0.8.0 (#133)
Bumps [github.com/cilium/ebpf](https://github.com/cilium/ebpf) from 0.7.0 to 0.8.0.
- [Release notes](https://github.com/cilium/ebpf/releases)
- [Commits](https://github.com/cilium/ebpf/compare/v0.7.0...v0.8.0)

---
updated-dependencies:
- dependency-name: github.com/cilium/ebpf
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-24 10:06:37 +01:00
dependabot[bot]
7da449da84
build(deps): bump github.com/google/go-cmp from 0.5.6 to 0.5.7 (#132)
Bumps [github.com/google/go-cmp](https://github.com/google/go-cmp) from 0.5.6 to 0.5.7.
- [Release notes](https://github.com/google/go-cmp/releases)
- [Commits](https://github.com/google/go-cmp/compare/v0.5.6...v0.5.7)

---
updated-dependencies:
- dependency-name: github.com/google/go-cmp
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2022-01-20 12:29:51 +01:00
dependabot[bot]
9dff439f7e
build(deps): bump github.com/mdlayher/netlink from 1.4.2 to 1.5.0 (#130)
Bumps [github.com/mdlayher/netlink](https://github.com/mdlayher/netlink) from 1.4.2 to 1.5.0.
- [Release notes](https://github.com/mdlayher/netlink/releases)
- [Changelog](https://github.com/mdlayher/netlink/blob/main/CHANGELOG.md)
- [Commits](https://github.com/mdlayher/netlink/compare/v1.4.2...v1.5.0)

---
updated-dependencies:
- dependency-name: github.com/mdlayher/netlink
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-13 05:16:34 +01:00
dependabot[bot]
fd9a11f422
build(deps): bump github.com/mdlayher/netlink from 1.4.1 to 1.4.2 (#129)
Bumps [github.com/mdlayher/netlink](https://github.com/mdlayher/netlink) from 1.4.1 to 1.4.2.
- [Release notes](https://github.com/mdlayher/netlink/releases)
- [Changelog](https://github.com/mdlayher/netlink/blob/main/CHANGELOG.md)
- [Commits](https://github.com/mdlayher/netlink/compare/v1.4.1...v1.4.2)

---
updated-dependencies:
- dependency-name: github.com/mdlayher/netlink
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-12-03 08:41:27 +01:00
dependabot[bot]
e34540a94c
build(deps): bump github.com/cilium/ebpf from 0.6.2 to 0.7.0 (#127)
Bumps [github.com/cilium/ebpf](https://github.com/cilium/ebpf) from 0.6.2 to 0.7.0.
- [Release notes](https://github.com/cilium/ebpf/releases)
- [Commits](https://github.com/cilium/ebpf/compare/v0.6.2...v0.7.0)

---
updated-dependencies:
- dependency-name: github.com/cilium/ebpf
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-10-11 09:20:24 +02:00
dependabot[bot]
2bfdf1dbdb
build(deps): bump github.com/cilium/ebpf from 0.6.1 to 0.6.2 (#120)
Bumps [github.com/cilium/ebpf](https://github.com/cilium/ebpf) from 0.6.1 to 0.6.2.
- [Release notes](https://github.com/cilium/ebpf/releases)
- [Commits](https://github.com/cilium/ebpf/compare/v0.6.1...v0.6.2)

---
updated-dependencies:
- dependency-name: github.com/cilium/ebpf
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-07-13 14:55:58 +02:00
dependabot[bot]
9c52e516c7
build(deps): bump github.com/cilium/ebpf from 0.6.0 to 0.6.1 (#119)
Bumps [github.com/cilium/ebpf](https://github.com/cilium/ebpf) from 0.6.0 to 0.6.1.
- [Release notes](https://github.com/cilium/ebpf/releases)
- [Commits](https://github.com/cilium/ebpf/compare/v0.6.0...v0.6.1)

---
updated-dependencies:
- dependency-name: github.com/cilium/ebpf
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-14 07:38:35 +02:00
dependabot[bot]
b34cb89a10
build(deps): bump github.com/cilium/ebpf from 0.5.0 to 0.6.0 (#118)
Bumps [github.com/cilium/ebpf](https://github.com/cilium/ebpf) from 0.5.0 to 0.6.0.
- [Release notes](https://github.com/cilium/ebpf/releases)
- [Commits](https://github.com/cilium/ebpf/compare/v0.5.0...v0.6.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-31 07:13:04 +02:00
dependabot[bot]
adce989a18
build(deps): bump github.com/mdlayher/netlink from 1.4.0 to 1.4.1
Bumps [github.com/mdlayher/netlink](https://github.com/mdlayher/netlink) from 1.4.0 to 1.4.1.
- [Release notes](https://github.com/mdlayher/netlink/releases)
- [Changelog](https://github.com/mdlayher/netlink/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mdlayher/netlink/compare/v1.4.0...v1.4.1)

Signed-off-by: dependabot[bot] <support@github.com>
2021-05-27 04:08:02 +00:00
dependabot[bot]
4cc8365781
build(deps): bump github.com/google/go-cmp from 0.5.5 to 0.5.6 (#116)
Bumps [github.com/google/go-cmp](https://github.com/google/go-cmp) from 0.5.5 to 0.5.6.
- [Release notes](https://github.com/google/go-cmp/releases)
- [Commits](https://github.com/google/go-cmp/compare/v0.5.5...v0.5.6)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-05-25 07:15:24 +02:00
dependabot[bot]
9561dc9288
build(deps): bump github.com/cilium/ebpf from 0.4.0 to 0.5.0 (#115)
Bumps [github.com/cilium/ebpf](https://github.com/cilium/ebpf) from 0.4.0 to 0.5.0.
- [Release notes](https://github.com/cilium/ebpf/releases)
- [Commits](https://github.com/cilium/ebpf/compare/v0.4.0...v0.5.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-04-09 08:14:57 +02:00
dependabot[bot]
1a839d530e
build(deps): bump github.com/cilium/ebpf from 0.3.0 to 0.4.0 (#114)
Bumps [github.com/cilium/ebpf](https://github.com/cilium/ebpf) from 0.3.0 to 0.4.0.
- [Release notes](https://github.com/cilium/ebpf/releases)
- [Commits](https://github.com/cilium/ebpf/compare/v0.3.0...v0.4.0)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-19 07:51:42 +01:00
Francis Begyn
97e6deb670
Patch LinkXDP data types and encoding behavior (#113)
LinkXDP was using uint32 datatypes for the file desriptor fields, but this
makes it so you're unable to clear or send correct netlink message. It was also
always encoding all fields, while the rtnetlink API was not expecting this.

don't encode XDP_ATTACHED and XDP_PROG_ID fields: https://elixir.bootlin.com/linux/v5.10.15/source/net/core/rtnetlink.c#L2894
use int32 for FD and EXPECTED_FD fields: https://elixir.bootlin.com/linux/v5.10.15/source/net/core/rtnetlink.c#L1924

The PR patches the fields and encoding behavior to resolve this conflict.

Signed-off-by: Francis Begyn <francis@begyn.be>
2021-03-07 21:38:07 +01:00
dependabot[bot]
e8ef8aa995
build(deps): bump github.com/google/go-cmp from 0.5.4 to 0.5.5
Bumps [github.com/google/go-cmp](https://github.com/google/go-cmp) from 0.5.4 to 0.5.5.
- [Release notes](https://github.com/google/go-cmp/releases)
- [Commits](https://github.com/google/go-cmp/compare/v0.5.4...v0.5.5)

Signed-off-by: dependabot[bot] <support@github.com>
2021-03-05 04:24:22 +00:00
dependabot[bot]
1dc8d0571b
build(deps): bump github.com/mdlayher/netlink from 1.3.2 to 1.4.0
Bumps [github.com/mdlayher/netlink](https://github.com/mdlayher/netlink) from 1.3.2 to 1.4.0.
- [Release notes](https://github.com/mdlayher/netlink/releases)
- [Changelog](https://github.com/mdlayher/netlink/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mdlayher/netlink/compare/v1.3.2...v1.4.0)

Signed-off-by: dependabot[bot] <support@github.com>
2021-02-24 04:21:43 +00:00
dependabot[bot]
6a300cd349
build(deps): bump github.com/mdlayher/netlink from 1.3.1 to 1.3.2
Bumps [github.com/mdlayher/netlink](https://github.com/mdlayher/netlink) from 1.3.1 to 1.3.2.
- [Release notes](https://github.com/mdlayher/netlink/releases)
- [Changelog](https://github.com/mdlayher/netlink/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mdlayher/netlink/compare/v1.3.1...v1.3.2)

Signed-off-by: dependabot[bot] <support@github.com>
2021-02-23 04:22:41 +00:00
dependabot[bot]
f90fe84435
build(deps): bump github.com/mdlayher/netlink from 1.3.0 to 1.3.1
Bumps [github.com/mdlayher/netlink](https://github.com/mdlayher/netlink) from 1.3.0 to 1.3.1.
- [Release notes](https://github.com/mdlayher/netlink/releases)
- [Changelog](https://github.com/mdlayher/netlink/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mdlayher/netlink/compare/v1.3.0...v1.3.1)

Signed-off-by: dependabot[bot] <support@github.com>
2021-02-22 04:24:07 +00:00
dependabot-preview[bot]
2dc4abb795
build(deps): bump github.com/mdlayher/netlink from 1.2.1 to 1.3.0
Bumps [github.com/mdlayher/netlink](https://github.com/mdlayher/netlink) from 1.2.1 to 1.3.0.
- [Release notes](https://github.com/mdlayher/netlink/releases)
- [Changelog](https://github.com/mdlayher/netlink/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mdlayher/netlink/compare/v1.2.1...v1.3.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-02-11 04:39:39 +00:00
dependabot-preview[bot]
8e6f7c05f3
build(deps): bump github.com/mdlayher/netlink from 1.2.0 to 1.2.1
Bumps [github.com/mdlayher/netlink](https://github.com/mdlayher/netlink) from 1.2.0 to 1.2.1.
- [Release notes](https://github.com/mdlayher/netlink/releases)
- [Changelog](https://github.com/mdlayher/netlink/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mdlayher/netlink/compare/v1.2.0...v1.2.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2021-01-15 04:41:53 +00:00
Matt Layher
69540ac939
go.mod: bump github.com/mdlayher/netlink and golang.org/x/sys (#102)
Signed-off-by: Matt Layher <mlayher@fastly.com>
2020-12-20 19:02:45 +01:00
dependabot-preview[bot]
11d7545317
build(deps): bump github.com/google/go-cmp from 0.5.3 to 0.5.4
Bumps [github.com/google/go-cmp](https://github.com/google/go-cmp) from 0.5.3 to 0.5.4.
- [Release notes](https://github.com/google/go-cmp/releases)
- [Commits](https://github.com/google/go-cmp/compare/v0.5.3...v0.5.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-25 04:47:55 +00:00
Matt Layher
72e783660b
go.mod: bump x/ dependencies for MPLS constants
Signed-off-by: Matt Layher <mlayher@fastly.com>
2020-11-18 15:19:39 -05:00
dependabot-preview[bot]
21aaf3bc7d
build(deps): bump github.com/google/go-cmp from 0.5.2 to 0.5.3
Bumps [github.com/google/go-cmp](https://github.com/google/go-cmp) from 0.5.2 to 0.5.3.
- [Release notes](https://github.com/google/go-cmp/releases)
- [Commits](https://github.com/google/go-cmp/compare/v0.5.2...v0.5.3)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-11-13 04:47:47 +00:00
Florian Lehner
b76ef30e43
Add XDP encode/decoder (#91)
Signed-off-by: Lehner Florian <dev@der-flo.net>
2020-11-04 01:56:49 +01:00
dependabot-preview[bot]
30abbbedd2
build(deps): bump github.com/mdlayher/netlink from 1.1.0 to 1.1.1
Bumps [github.com/mdlayher/netlink](https://github.com/mdlayher/netlink) from 1.1.0 to 1.1.1.
- [Release notes](https://github.com/mdlayher/netlink/releases)
- [Changelog](https://github.com/mdlayher/netlink/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mdlayher/netlink/compare/v1.1.0...v1.1.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2020-10-13 04:48:14 +00:00
Matt Layher
4e9cdead09
rtnetlink: add RouteMetrics nested attributes within RouteAttributes (#81)
Signed-off-by: Matt Layher <mlayher@fastly.com>
2020-10-02 16:52:24 +02:00
jeremiejig
d699427278
route: Implement support for RTA_MARK (#79)
* module: `go mod tidy`

Signed-off-by: Jeremiejig <me@jeremiejig.fr>

* route: Implement support for RTA_MARK

The RTA_MARK attribute allow to send get request with mark information;
it is useful when having multiple table selected by rule policy
matching on fwmark.

Signed-off-by: Jeremiejig <me@jeremiejig.fr>
2020-07-26 18:59:00 +02:00
dependabot-preview[bot]
3ee32e7e21
build(deps): bump github.com/mdlayher/netlink from 1.0.0 to 1.1.0 (#77)
Bumps [github.com/mdlayher/netlink](https://github.com/mdlayher/netlink) from 1.0.0 to 1.1.0.
- [Release notes](https://github.com/mdlayher/netlink/releases)
- [Changelog](https://github.com/mdlayher/netlink/blob/master/CHANGELOG.md)
- [Commits](https://github.com/mdlayher/netlink/compare/v1.0.0...v1.1.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-05-05 08:55:35 +02:00
Matt Layher
3521ae9f92 go.mod: github.com/mdlayher/netlink v1.0.0 (#68)
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2020-01-12 17:49:44 +01:00
Jeroen Simonetti
5df73f7be7
Use netlink attribute en-/decoder infrastructure (#61)
Use netlink attribute en-/decoder infrastructure

This should pave the way for endian aware code.
Ref #56 

Signed-off-by: Jeroen Simonetti <jeroen@simonetti.nl>
2019-10-09 17:41:08 +02:00
Jeroen Simonetti
9eab139ca7 Add go-fuzz modules 2019-10-08 14:58:36 +02:00
Matt Layher
c2e7cb1b6c rtnetlink: use unix.IFLA_* constants
Signed-off-by: Matt Layher <mdlayher@gmail.com>
2019-04-12 16:07:02 -04:00
Jeroen Simonetti
9c928e1cf7
neigh: replace constants for x/sys/unix (#34)
Signed-off-by: Jeroen Simonetti <jeroen@simonetti.nl>
2019-04-11 10:31:57 +02:00
Jeroen Simonetti
a9df9a003b Remove IFA_FLAGS constant
golang/x/sys/unix was updated to include the unix.IFA_FLAGS constant

Signed-off-by: Jeroen Simonetti <jeroen@simonetti.nl>
2019-04-10 19:17:53 +02:00
Andrea Barberio
426cc8e981 [link] Use the Change field
So far the LinkMessage.Change field was unused and recommended to be set
to 0xffffffff. This field  is actually necessary to change specific flags.

Signed-off-by: Andrea Barberio <insomniac@slackware.it>
2019-04-09 17:24:51 +01:00
Jeroen Simonetti
d6b0e6d8e2 Add module support 2019-04-04 13:17:03 +02:00