Page MenuHomeFreeBSD

casper/cap_net: Expose pack/unpack functions
AbandonedPublic

Authored by jfree on Aug 9 2023, 8:30 PM.
Tags
None
Referenced Files
F137493802: D41402.id.diff
Sun, Nov 23, 11:34 PM
Unknown Object (File)
Sat, Nov 1, 3:42 AM
Unknown Object (File)
Wed, Oct 29, 10:01 AM
Unknown Object (File)
Wed, Oct 29, 9:20 AM
Unknown Object (File)
Tue, Oct 28, 1:10 AM
Unknown Object (File)
Sat, Oct 25, 12:55 PM
Unknown Object (File)
Oct 22 2025, 10:51 PM
Unknown Object (File)
Oct 22 2025, 2:07 PM
Subscribers

Details

Reviewers
markj
Summary
Expose the interface to pack and unpack addrinfo and hostent structures.

This is useful in programs that pass these structures to/from a libcasper
process via nvlist

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

jfree requested review of this revision.Aug 9 2023, 8:30 PM

I think this is ok, but I'd rather avoid it if possible. That is, I hope we can avoid having to serialize addrinfo structures in syslogd.

This revision is now accepted and ready to land.Oct 6 2024, 2:38 PM

I think this is ok, but I'd rather avoid it if possible. That is, I hope we can avoid having to serialize addrinfo structures in syslogd.

I believe this patch is no longer needed after D47104?