Page MenuHomeFreeBSD

casper/cap_net: Expose pack/unpack functions
AbandonedPublic

Authored by jfree on Aug 9 2023, 8:30 PM.
Tags
None
Referenced Files
F148436324: D41402.id125780.diff
Tue, Mar 17, 9:06 PM
Unknown Object (File)
Sat, Mar 7, 4:50 PM
Unknown Object (File)
Fri, Mar 6, 6:41 PM
Unknown Object (File)
Fri, Mar 6, 5:31 AM
Unknown Object (File)
Fri, Mar 6, 1:41 AM
Unknown Object (File)
Wed, Mar 4, 6:37 PM
Unknown Object (File)
Wed, Mar 4, 6:37 PM
Unknown Object (File)
Feb 8 2026, 2:44 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?