Page MenuHomeFreeBSD

arp: fix proxyarp for P2P with netlink
ClosedPublic

Authored by ae on Oct 15 2025, 1:19 PM.
Tags
None
Referenced Files
F156471697: D53113.id164227.diff
Wed, May 13, 10:02 PM
F156442197: D53113.id164379.diff
Wed, May 13, 5:38 PM
F156416716: D53113.id164379.diff
Wed, May 13, 1:22 PM
F156400484: D53113.id164220.diff
Wed, May 13, 10:17 AM
F156395871: D53113.id164227.diff
Wed, May 13, 8:45 AM
Unknown Object (File)
Tue, May 12, 4:53 PM
Unknown Object (File)
Sun, May 10, 8:54 PM
Unknown Object (File)
Sat, May 9, 6:16 PM
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