| 442 | } |
| 443 | |
| 444 | static void |
| 445 | lomac_copy_range(struct mac_lomac *labelfrom, struct mac_lomac *labelto) |
| 446 | { |
| 447 | |
| 448 | KASSERT((labelfrom->ml_flags & MAC_LOMAC_FLAG_RANGE) != 0, |
| 449 | ("lomac_copy_range: labelfrom not range")); |
| 450 | |
| 451 | labelto->ml_rangelow = labelfrom->ml_rangelow; |
| 452 | labelto->ml_rangehigh = labelfrom->ml_rangehigh; |
| 453 | labelto->ml_flags |= MAC_LOMAC_FLAG_RANGE; |
| 454 | } |
| 455 | |
| 456 | static void |
| 457 | lomac_copy_single(struct mac_lomac *labelfrom, struct mac_lomac *labelto) |
no outgoing calls
no test coverage detected