Page MenuHomeFreeBSD

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

Authored by tuexen on Oct 20 2025, 4:01 PM.
Tags
None
Referenced Files
F156450622: D53218.id164603.diff
Wed, May 13, 6:45 PM
F156450616: D53218.id164656.diff
Wed, May 13, 6:45 PM
F156447196: D53218.diff
Wed, May 13, 6:21 PM
Unknown Object (File)
Tue, May 12, 1:29 AM
Unknown Object (File)
Tue, May 12, 1:29 AM
Unknown Object (File)
Tue, May 5, 7:41 PM
Unknown Object (File)
Wed, Apr 29, 12:09 PM
Unknown Object (File)
Tue, Apr 28, 12:37 AM
Subscribers

Details

Summary

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.

No functional change intended.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

tuexen added a reviewer: asomers.
This revision is now accepted and ready to land.Oct 20 2025, 6:05 PM