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
F142784392: D29147.diff
Fri, Jan 23, 2:24 PM
Unknown Object (File)
Thu, Jan 15, 7:34 PM
Unknown Object (File)
Thu, Jan 8, 3:11 PM
Unknown Object (File)
Mon, Jan 5, 11:20 PM
Unknown Object (File)
Dec 19 2025, 9:39 AM
Unknown Object (File)
Dec 19 2025, 1:54 AM
Unknown Object (File)
Nov 22 2025, 7:06 AM
Unknown Object (File)
Nov 17 2025, 12:13 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