MCPcopy Create free account
hub / github.com/F-Stack/f-stack / mac_netinet_arp_send

Function mac_netinet_arp_send

freebsd/security/mac/mac_inet.c:265–280  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

263}
264
265void
266mac_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
282void
283mac_netinet_icmp_reply(struct mbuf *mrecv, struct mbuf *msend)

Callers 1

arprequest_internalFunction · 0.85

Calls 1

mac_mbuf_to_labelFunction · 0.85

Tested by

no test coverage detected