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

Function mac_ipq_update

freebsd/security/mac/mac_inet.c:340–351  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

338}
339
340void
341mac_ipq_update(struct mbuf *m, struct ipq *q)
342{
343 struct label *label;
344
345 if (mac_policy_count == 0)
346 return;
347
348 label = mac_mbuf_to_label(m);
349
350 MAC_POLICY_PERFORM_NOSLEEP(ipq_update, m, label, q, q->ipq_label);
351}
352
353MAC_CHECK_PROBE_DEFINE2(inpcb_check_deliver, "struct inpcb *",
354 "struct mbuf *");

Callers 1

ip_reassFunction · 0.85

Calls 1

mac_mbuf_to_labelFunction · 0.85

Tested by

no test coverage detected