Page MenuHomeFreeBSD

libc: centralize ntoh symbols
ClosedPublic

Authored by brooks on Nov 15 2023, 4:02 PM.
Tags
None
Referenced Files
F155107363: D42615.id130136.diff
Fri, May 1, 11:13 AM
Unknown Object (File)
Fri, Apr 17, 2:34 PM
Unknown Object (File)
Fri, Apr 17, 2:26 PM
Unknown Object (File)
Thu, Apr 9, 9:29 PM
Unknown Object (File)
Mon, Apr 6, 1:44 PM
Unknown Object (File)
Mon, Apr 6, 3:47 AM
Unknown Object (File)
Mar 24 2026, 11:47 AM
Unknown Object (File)
Mar 20 2026, 7:33 AM
Subscribers
None

Details

Summary

These are implemented by net/ntoh.c via headers and compiler intrinsics
so declare them in net/Symbol.map.

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 54449
Build 51339: arc lint + arc unit

Event Timeline

Yes these shouldn't have been MD

This revision is now accepted and ready to land.Nov 15 2023, 6:32 PM
lib/libc/net/Symbol.map
69

Shouldn't 'ntoh*' placed in the 'n' block of the version?

lib/libc/net/Symbol.map
69

This file (for good or ill) seem to group things by function and only loosely alphabetically. For example see the get* above with related end* and set*.

This revision was automatically updated to reflect the committed changes.