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)
Mon, Nov 4, 11:22 PM
Unknown Object (File)
Oct 2 2024, 9:12 AM
Unknown Object (File)
Sep 27 2024, 11:55 PM
Unknown Object (File)
Sep 6 2024, 10:51 PM
Unknown Object (File)
Aug 30 2024, 9:40 PM
Unknown Object (File)
Aug 16 2024, 12:43 AM
Unknown Object (File)
Aug 11 2024, 9:38 AM
Unknown Object (File)
Jun 17 2024, 11:05 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