Page MenuHomeFreeBSD

Add a set of D defines based on the contents of socket.h
ClosedPublic

Authored by gnn on Sep 6 2017, 2:28 AM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Dec 8, 1:08 PM
Unknown Object (File)
Sun, Dec 8, 1:04 PM
Unknown Object (File)
Sun, Dec 8, 1:04 PM
Unknown Object (File)
Sun, Dec 8, 1:04 PM
Unknown Object (File)
Fri, Dec 6, 4:55 PM
Unknown Object (File)
Wed, Nov 27, 8:21 AM
Unknown Object (File)
Nov 14 2024, 4:13 AM
Unknown Object (File)
Nov 12 2024, 3:47 AM
Subscribers

Details

Summary

Pulls in the various SO_, AF_, and PF_ defines for use in D scripts

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

gnn edited the summary of this revision. (Show Details)
gnn added reviewers: markj, DTrace.

This should go in cddl/lib/libdtrace so that it gets included automatically like the rest of the libraries. Otherwise it seems ok to me.

We really need a way to avoid duplicating these definitions. I think illumos has some build-time sed script that substitutes the values from the corresponding header, but I haven't looked at it closely.

Also missing a makefile update.

It bugs me to have new, BSD licensed, code in the cddl directory but I'm OK with this being there for now. And, yes, we need an automagic way to generate these.

This revision was automatically updated to reflect the committed changes.