| 83 | } |
| 84 | |
| 85 | int |
| 86 | mac_ip6q_init(struct ip6q *q6, int flag) |
| 87 | { |
| 88 | |
| 89 | if (mac_labeled & MPC_OBJECT_IP6Q) { |
| 90 | q6->ip6q_label = mac_ip6q_label_alloc(flag); |
| 91 | if (q6->ip6q_label == NULL) |
| 92 | return (ENOMEM); |
| 93 | } else |
| 94 | q6->ip6q_label = NULL; |
| 95 | return (0); |
| 96 | } |
| 97 | |
| 98 | static void |
| 99 | mac_ip6q_label_free(struct label *label) |
no test coverage detected