HomeFreeBSD

UDP: let udp_pcblist() support UDP and UDP-Lite

Description

UDP: let udp_pcblist() support UDP and UDP-Lite

Provide the IPPROTO_UDP in the arg2 parameter of udp_pcblist() and use
this to determine the inpcbinfo. This allows the same function to be
used in an upcoming commit to provide the list of pcbs for UDP-Lite
just by providing IPPROTO_UDPLITE in the arg2 parameter.

Reviewed by: rrs
MFC after: 3 days
Differential Revision: https://reviews.freebsd.org/D53218

Details

Provenance
tuexenAuthored on Oct 20 2025, 9:21 PM
Reviewer
rrs
Differential Revision
D53218: UDP: let udp_pcblist() support UDP and UDP-Lite
Parents
rG7294d2601f3a: Revert "UDP: let udp_pcblist() support UDP and UDP-Lite"
Branches
Unknown
Tags
Unknown