Page MenuHomeFreeBSD

arp: fix proxyarp for P2P with netlink
AcceptedPublic

Authored by ae on Wed, Oct 15, 1:19 PM.
Tags
None
Referenced Files
F132376847: D53113.diff
Thu, Oct 16, 9:00 AM
F132367048: D53113.diff
Thu, Oct 16, 6:51 AM
F132343446: D53113.id164220.diff
Thu, Oct 16, 2:12 AM
F132330841: D53113.id164227.diff
Wed, Oct 15, 11:26 PM
F132330470: D53113.id.diff
Wed, Oct 15, 11:21 PM
F132328537: D53113.diff
Wed, Oct 15, 10:56 PM
F132328214: D53113.id164220.diff
Wed, Oct 15, 10:52 PM
F132324770: D53113.diff
Wed, Oct 15, 10:08 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 Passed
Unit
No Test Coverage
Build Status
Buildable 67800
Build 64683: arc lint + arc unit