| 308 | } |
| 309 | |
| 310 | void |
| 311 | mac_netinet_igmp_send(struct ifnet *ifp, struct mbuf *m) |
| 312 | { |
| 313 | struct label *mlabel; |
| 314 | int locked; |
| 315 | |
| 316 | if (mac_policy_count == 0) |
| 317 | return; |
| 318 | |
| 319 | mlabel = mac_mbuf_to_label(m); |
| 320 | |
| 321 | MAC_IFNET_LOCK(ifp, locked); |
| 322 | MAC_POLICY_PERFORM_NOSLEEP(netinet_igmp_send, ifp, ifp->if_label, m, |
| 323 | mlabel); |
| 324 | MAC_IFNET_UNLOCK(ifp, locked); |
| 325 | } |
| 326 | |
| 327 | void |
| 328 | mac_netinet_tcp_reply(struct mbuf *m) |
no test coverage detected