We will reuse this in Wireguard to grab the listening port that was
chosen if it was omitted, so we can use a consistent port for udp6 and
export the result to userland.
MFC after: 3 days
Differential D29146
kern: pull pru_sockaddr call out into sosockaddr() kevans on Mar 9 2021, 1:11 PM. Authored by Tags None Referenced Files
Details
Diff Detail
Event TimelineComment Actions This method is used in a number of other places - was it your intention to convert them at some point? Comment Actions Yup- I'll make a pass in the next couple of days, since I'm about out of immediate wireguard fun to be had.
|