mirror of
https://github.com/jsimonetti/rtnetlink.git
synced 2026-04-16 09:41:08 +02:00
Loosen the LinkAttribute length checks, to parse links that store information other than MAC addresses in the Address or Broadcast fields. This change, for example, now allows IPIP, GRE over IP, 6to4, and IP over Infiniband. The fields continue to be net.HardwareAddr, which may result in slightly unusual representations when printed as a string. This type can be cast to other byte slice types by users, if necessary. Fix: #7
rtnetlink

Package rtnetlink provides low-level access to Linux rtnetlink.
MIT Licensed.
This package is heavily inspired by https://github.com/mdlayher/netlink/tree/master/genetlink.
Description
Package rtnetlink provides low-level access to the Linux rtnetlink API. MIT Licensed.
Languages
Go
99.8%
Nix
0.2%