Sortix nightly manual
This manual documents Sortix nightly, a development build that has not been officially released. You can instead view this document in the latest official manual.
NAME
X509v3_addr_subset, X509v3_asid_subset — RFC 3779 subset relationshipSYNOPSIS
#include <openssl/x509v3.h>X509v3_addr_subset(IPAddrBlocks *child, IPAddrBlocks *parent);
X509v3_asid_subset(ASIdentifiers *child, ASIdentifiers *parent);
DESCRIPTION
X509v3_addr_subset() determines if all IP address resources present in child are contained in the corresponding resources in parent.- If child is NULL or identical to parent then child is a subset of parent. In particular, a NULL parent is allowed for a NULL child.
- If parent is NULL then child is not a subset of parent.
- If X509v3_addr_inherits(3) determines that child inherits or that parent inherits then child is not a subset of parent.
-
Each address prefix or range in child must be a subset of an address prefix or range in the parent, taking AFI and optional SAFI into account:
- For each IPAddressFamily of child there must be an IPAddressFamily of parent with the same AFI and optional SAFI.
- Since the address prefixes and ranges in corresponding IPAddressFamily objects in child and parent are sorted in ascending order, and do not overlap, they can be traversed simultaneously in linear time. For each prefix or range in child there must be a prefix or range in parent whose minimal address is smaller and whose maximal address is larger.