| 263 | } |
| 264 | |
| 265 | void |
| 266 | mac_netinet_arp_send(struct ifnet *ifp, struct mbuf *m) |
| 267 | { |
| 268 | struct label *mlabel; |
| 269 | int locked; |
| 270 | |
| 271 | if (mac_policy_count == 0) |
| 272 | return; |
| 273 | |
| 274 | mlabel = mac_mbuf_to_label(m); |
| 275 | |
| 276 | MAC_IFNET_LOCK(ifp, locked); |
| 277 | MAC_POLICY_PERFORM_NOSLEEP(netinet_arp_send, ifp, ifp->if_label, m, |
| 278 | mlabel); |
| 279 | MAC_IFNET_UNLOCK(ifp, locked); |
| 280 | } |
| 281 | |
| 282 | void |
| 283 | mac_netinet_icmp_reply(struct mbuf *mrecv, struct mbuf *msend) |
no test coverage detected