Commit Graph

7 Commits

Author SHA1 Message Date
Sebastiaan van Stijn 7b120549aa go.mod: github.com/vishvananda/netns v0.0.4
Use a tagged version of the dependency. I picked the current version,
although older versions could probably work.

full diff: db3c7e526a...v0.0.4

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2024-07-03 13:14:58 -07:00
Tobias Klauser 78ac5704cf go.mod: bump golang.org/x/sys to v0.10.0
Use a tagged relase rather than an intermediate version.
2023-07-05 17:42:06 +02:00
Tobias Klauser 77712cff87 Use IFLA_G{S,R}O_IPV4_MAX_SIZE constants from golang.org/x/sys/unix
Commit 2b008399a4 ("link: add LinkSetGSOIPv4MaxSize and
LinkSetGROIPv4MaxSize") introduced the use of these constants, but they
were added only recently to the golang.org/x/sys/unix package. Update
its version in go.mod and use the pre-defined constants instead of
duplicating them.

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
2023-06-21 15:13:34 -07:00
Tobias Klauser afa2eb2a66 Use IFLA_* consts defined in golang.org/x/sys/unix
Use the constants provided in the golang.org/x/sys/unix package instead
of locally defining them, as done in commit c94808a88b ("link: add
support for IFLA_GRO_MAX_SIZE").

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
2022-08-07 20:12:18 +02:00
Sebastiaan van Stijn 85b8ad0ce1 go.mod: update dependencies
full diffs:

- 0a2b9b5464...db3c7e526a
- 34d275377b...3e129f6d46

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2020-09-14 10:45:41 -04:00
Tobias Klauser 7e7e2d40cd Update golang.org/x/sys to current master
This will allow to use type IfaCacheinfo.
2020-01-27 15:51:47 -08:00
Tobias Klauser e934999cd7 Add support for Go modules
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
2019-11-07 09:00:16 -08:00