Page MenuHomeFreeBSD

if_wg: choose a port at random if zero/omitted
Needs ReviewPublic

Authored by kevans on Mar 9 2021, 1:11 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, May 11, 7:01 PM
Unknown Object (File)
Sat, Apr 27, 6:30 PM
Unknown Object (File)
Fri, Apr 26, 8:44 AM
Unknown Object (File)
Feb 9 2024, 11:53 AM
Unknown Object (File)
Jan 9 2024, 8:02 AM
Unknown Object (File)
Dec 31 2023, 8:49 AM
Unknown Object (File)
Dec 24 2023, 9:12 PM
Unknown Object (File)
Dec 20 2023, 2:54 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