Page MenuHomeFreeBSD

arp: fix proxyarp for P2P with netlink
ClosedPublic

Authored by ae on Oct 15 2025, 1:19 PM.
Tags
None
Referenced Files
F156697941: D53113.id164227.diff
Fri, May 15, 6:26 PM
F156583594: D53113.diff
Thu, May 14, 8:55 PM
Unknown Object (File)
Thu, May 14, 10:37 AM
Unknown Object (File)
Thu, May 14, 2:13 AM
Unknown Object (File)
Wed, May 13, 10:02 PM
Unknown Object (File)
Wed, May 13, 5:38 PM
Unknown Object (File)
Wed, May 13, 1:22 PM
Unknown Object (File)
Wed, May 13, 10:17 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 Not Applicable
Unit
Tests Not Applicable