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

Function mac_ipq_create

freebsd/security/mac/mac_inet.c:219–230  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

217}
218
219void
220mac_ipq_create(struct mbuf *m, struct ipq *q)
221{
222 struct label *label;
223
224 if (mac_policy_count == 0)
225 return;
226
227 label = mac_mbuf_to_label(m);
228
229 MAC_POLICY_PERFORM_NOSLEEP(ipq_create, m, label, q, q->ipq_label);
230}
231
232void
233mac_inpcb_create_mbuf(struct inpcb *inp, struct mbuf *m)

Callers 1

ip_reassFunction · 0.85

Calls 1

mac_mbuf_to_labelFunction · 0.85

Tested by

no test coverage detected