m/n/c/network: implement ARP announcements
This implements ARP announcements in the Metropolis network stack.
Its intent is to help IP stacks on the same broadcast domain to update
their ARP entries once a Metropolis network stack comes up.
The format of the ARP packets is chosen to bypass most EVPN ARP
suppression mechanisms to ensure this also works with these systems.
Change-Id: I2db1248f7034ea56930cf6f4a93de598b0f8c7de
Reviewed-on: https://review.monogon.dev/c/monogon/+/3074
Reviewed-by: Leopold Schabel <leo@monogon.tech>
Tested-by: Jenkins CI
diff --git a/go.mod b/go.mod
index fc42bf3..3ff67fb 100644
--- a/go.mod
+++ b/go.mod
@@ -103,6 +103,8 @@
github.com/kevinburke/go-bindata v3.23.0+incompatible
github.com/lib/pq v1.10.9
github.com/mattn/go-shellwords v1.0.12
+ github.com/mdlayher/arp v0.0.0-20220512170110-6706a2966875
+ github.com/mdlayher/ethernet v0.0.0-20220221185849-529eae5b6118
github.com/mdlayher/ethtool v0.1.0
github.com/mdlayher/genetlink v1.3.2
github.com/mdlayher/kobject v0.0.0-20200520190114-19ca17470d7d