Page MenuHomeFreeBSD

casper/cap_net: Expose pack/unpack functions
AbandonedPublic

Authored by jfree on Aug 9 2023, 8:30 PM.
Tags
None
Referenced Files
Unknown Object (File)
Wed, Sep 2, 6:56 PM
Unknown Object (File)
Aug 4 2026, 2:56 AM
Unknown Object (File)
Aug 3 2026, 7:45 AM
Unknown Object (File)
Aug 2 2026, 5:52 PM
Unknown Object (File)
Jul 21 2026, 4:47 AM
Unknown Object (File)
Jul 18 2026, 9:38 AM
Unknown Object (File)
Jul 5 2026, 3:02 PM
Unknown Object (File)
Jun 23 2026, 11:49 AM
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?