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, Jul 21, 4:47 AM
Unknown Object (File)
Sat, Jul 18, 9:38 AM
Unknown Object (File)
Sun, Jul 5, 3:02 PM
Unknown Object (File)
Jun 23 2026, 11:49 AM
Unknown Object (File)
Jun 22 2026, 3:59 PM
Unknown Object (File)
Jun 18 2026, 6:01 AM
Unknown Object (File)
Apr 21 2026, 9:14 PM
Unknown Object (File)
Apr 18 2026, 10:25 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?