google / google/gvisor

Update network/arp/arp.go to use the ARPHardwareType of the associated NIC.

Open
#3,240 1 comment 0 reactions 0 assignees View on GitHub
area: networking type: enhancement
Dominant language
Go
Stars
19.3k
Forks
2k
Avg merge
3d 5h
Merged PRs (30d)
264

Description

ARP implementation in Netstack hardcodes ARPHRD_ETHER value for the haType field of a NIC. We should make use of the ARPHardwareType() method of the NIC and use that value in the haType field of an ARP request sent from the NIC as well as expect the same value in ARP Responses.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.