summaryrefslogtreecommitdiffstats
path: root/sys/netinet/sctp.h
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2007-04-22 11:35:15 +0000
committerrwatson <rwatson@FreeBSD.org>2007-04-22 11:35:15 +0000
commit27da76ec2990d2d6763ac8b0bd069100f895f620 (patch)
tree099d93810181acf638d98dd59bf49b58de134bcf /sys/netinet/sctp.h
parent44fd758bd50a08f1cfd0618700424dd54a93571a (diff)
downloadFreeBSD-src-27da76ec2990d2d6763ac8b0bd069100f895f620.zip
FreeBSD-src-27da76ec2990d2d6763ac8b0bd069100f895f620.tar.gz
Perform overdue clean up mac_test policy:
- Add a more detailed comment describing the mac_test policy. - Add COUNTER_DECL() and COUNTER_INC() macros to declare and manage various test counters, reducing the verbosity of the test policy quite a bit. - Add LABEL_CHECK() macro to abbreviate normal validation of labels. Unlike the previous check macros, this checks for a NULL label and doesn't test NULL labels. This means that optionally passed labels will now be handled automatically, although in the case of optional credentials, NULL-checks are still required. - Add LABEL_DESTROY() macro to abbreviate the handling of label validation and tear-down. - Add LABEL_NOTFREE() macro to abbreviate check for non-free labels. - Normalize the names of counters, magic values. - Remove unused policy "enabled" flag. Obtained from: TrustedBSD Project
Diffstat (limited to 'sys/netinet/sctp.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud