Return 1 if mask and policy are equal, otherwise 0. */
| 444 | |
| 445 | /* Return 1 if mask and policy are equal, otherwise 0. */ |
| 446 | static int |
| 447 | domainset_equal(const struct domainset *one, const struct domainset *two) |
| 448 | { |
| 449 | |
| 450 | return (DOMAINSET_CMP(&one->ds_mask, &two->ds_mask) == 0 && |
| 451 | one->ds_policy == two->ds_policy && |
| 452 | one->ds_prefer == two->ds_prefer); |
| 453 | } |
| 454 | |
| 455 | /* Return 1 if child is a valid subset of parent. */ |
| 456 | static int |
no outgoing calls
no test coverage detected