Page MenuHomeFreeBSD

arp: fix proxyarp for P2P with netlink
ClosedPublic

Authored by ae on Oct 15 2025, 1:19 PM.
Tags
None
Referenced Files
Unknown Object (File)
Fri, Nov 7, 2:59 AM
Unknown Object (File)
Wed, Nov 5, 4:05 AM
Unknown Object (File)
Tue, Nov 4, 6:44 AM
Unknown Object (File)
Sat, Nov 1, 2:32 PM
Unknown Object (File)
Thu, Oct 30, 4:25 PM
Unknown Object (File)
Thu, Oct 30, 4:52 AM
Unknown Object (File)
Wed, Oct 29, 6:03 PM
Unknown Object (File)
Wed, Oct 29, 5:11 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