Page MenuHomeFreeBSD

arp: fix proxyarp for P2P with netlink
ClosedPublic

Authored by ae on Oct 15 2025, 1:19 PM.
Tags
None
Referenced Files
F162982092: D53113.diff
Sat, Jul 18, 10:03 PM
Unknown Object (File)
Wed, Jul 15, 6:49 AM
Unknown Object (File)
Wed, Jul 15, 6:49 AM
Unknown Object (File)
Tue, Jul 14, 8:11 PM
Unknown Object (File)
Sun, Jul 12, 1:15 PM
Unknown Object (File)
Sun, Jul 5, 1:06 PM
Unknown Object (File)
Sat, Jul 4, 3:56 AM
Unknown Object (File)
Tue, Jun 30, 1:07 AM
Subscribers

Details

Summary
  • rename get_ether_addr into get_ifinfo and teach it to return if_index and if_flags for found interface.
  • allow '-S' to be used with '-i'
  • rework guess_ifindex to do proxy interface automatic detection for IFF_POINTOPOINT interface in a similar way as it is done in kernel with rtsock.

PR: 290221

Test Plan

ifconfig mce1 inet 10.0.0.1/24
ifconfig tun0 create inet 10.0.0.1 10.0.0.233 netmask 255.255.255.255
cat /dev/tun0
arp -S 10.0.0.233 auto pub

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 67800
Build 64683: arc lint + arc unit