feat(libwebrtc): implement rtc::TruncateIP #16948
Loading…
Reference in a new issue
No description provided.
Delete branch "upstream-pr/16948"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from boykopovar/AnyPS5. Originally posted by alvaroelpob on 2026-11-08T00:19:29Z.
What
Implements
rtc::TruncateIP, which truncates an IPv4 or IPv6 address to a prefix length. It takes the result buffer as its first argument and returns it, as the System V ABI passes a 32-byte class return; the console's convention is unverified and recorded in the debt. Adds test cases to tests/IpAddress.cpp and a debt entry.Tested
Linux:
suite.py feat/libwebrtc-truncate-ipat 75435b9d4d: CTest 4813/4813 passed; conventions passed.Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file.mdfiles or images added to the repository (attach them to this PR)