Page MenuHomeFreeBSD

if_wg: choose a port at random if zero/omitted
AbandonedPublic

Authored by kevans on Mar 9 2021, 1:11 PM.
Tags
None
Referenced Files
Unknown Object (File)
Tue, Jun 30, 1:03 AM
Unknown Object (File)
Mon, Jun 8, 11:10 PM
Unknown Object (File)
Jun 3 2026, 8:34 PM
Unknown Object (File)
Apr 23 2026, 11:57 PM
Unknown Object (File)
Apr 21 2026, 9:22 AM
Unknown Object (File)
Apr 14 2026, 1:08 PM
Unknown Object (File)
Apr 13 2026, 10:36 PM
Unknown Object (File)
Apr 8 2026, 1:15 AM
Subscribers

Details

Summary

This lines up with the Linux implementation; do the sobind() and fetch
the address after the fact so that we can use a consistent port for
udp6 and export it to userland.

MFC after: 3 days

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 37694
Build 34583: arc lint + arc unit