HomeFreeBSD

inpcb: use family specific sockaddr argument for bind functions

Description

inpcb: use family specific sockaddr argument for bind functions

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

Reviewed by: zlei, melifaro, markj
Differential Revision: https://reviews.freebsd.org/D38601

Details

Provenance
glebiusAuthored on Feb 15 2023, 6:30 PM
Reviewer
zlei
Differential Revision
D38601: inpcb: use family specific sockaddr argument for bind functions
Parents
rG5dc00f00b747: Mechanically convert mlx5en(4) to IfAPI
Branches
Unknown
Tags
Unknown