Pulls in the various SO_, AF_, and PF_ defines for use in D scripts
Details
Details
- Reviewers
markj - Group Reviewers
DTrace - Commits
- rS323253: Add D definitions for the named values in socket.h
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Comment Actions
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.
Comment Actions
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.