|
Open SCAP Library
|
Open Vulnerability and Assessment Language. More...
Go to the source code of this file.
Functions | |
| oval_result_t | oval_ipaddr_cmp (int af, const char *s1, const char *s2, oval_operation_t op) |
| Compare two IP address or address sets (CIDR). More... | |
Variables | |
| OSCAP_HIDDEN_START | |
| OSCAP_HIDDEN_END | |
Open Vulnerability and Assessment Language.
See more details at http://oval.mitre.org/
| oval_result_t oval_ipaddr_cmp | ( | int | af, |
| const char * | s1, | ||
| const char * | s2, | ||
| oval_operation_t | op | ||
| ) |
Compare two IP address or address sets (CIDR).
The format of input string shall conform to ipv4_address types from oval:SimpleDatatypeEnumeration. This operation is not commutative, be aware of the order of operands.
| af | Internet address family (AF_INET or AF_INET6) |
| s1 | ipv4 address as defined by state element |
| s2 | ipv4 address as captured from system (from syschar object) |
| op | type of comparison operation |
1.8.3.1