HomeFreeBSD

inpcb: use family specific sockaddr argument for connect functions

Description

inpcb: use family specific sockaddr argument for connect functions

Do the cast from sockaddr to either IPv4 or IPv6 sockaddr in the
protocol's pr_connect method and from there on go down the call
stack with family specific argument.

Reviewed by: markj
Differential revision: https://reviews.freebsd.org/D38356

Details

Provenance
glebiusAuthored on Feb 3 2023, 7:33 PM
Reviewer
markj
Differential Revision
D38356: inpcb: use family specific sockaddr argument for connect functions
Parents
rG3d76be28ec60: netinet6: require network epoch for in6_pcbconnect()
Branches
Unknown
Tags
Unknown