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

Function mac_netinet_igmp_send

freebsd/security/mac/mac_inet.c:310–325  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

308}
309
310void
311mac_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
327void
328mac_netinet_tcp_reply(struct mbuf *m)

Callers 1

igmp_intrFunction · 0.85

Calls 1

mac_mbuf_to_labelFunction · 0.85

Tested by

no test coverage detected