SetPeerByIPPacketFunc installs a callback used by wireguard-go to look up which peer should handle an outbound packet by destination IP.
(func(netip.Addr) (_ key.NodePublic, ok bool))
| 141 | // SetPeerByIPPacketFunc installs a callback used by wireguard-go to |
| 142 | // look up which peer should handle an outbound packet by destination IP. |
| 143 | SetPeerByIPPacketFunc(func(netip.Addr) (_ key.NodePublic, ok bool)) |
| 144 | } |
no outgoing calls