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)
Tue, Oct 6, 3:52 PM
Unknown Object (File)
Mon, Oct 5, 12:39 AM
Unknown Object (File)
Sun, Oct 4, 8:51 AM
Unknown Object (File)
Sat, Oct 3, 5:21 AM
Unknown Object (File)
Fri, Oct 2, 8:41 PM
Unknown Object (File)
Tue, Sep 8, 9:05 PM
Unknown Object (File)
Sep 2 2026, 6:56 PM
Unknown Object (File)
Aug 4 2026, 2:56 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?