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

Function mac_netinet_fragment

freebsd/security/mac/mac_inet.c:204–217  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

202}
203
204void
205mac_netinet_fragment(struct mbuf *m, struct mbuf *frag)
206{
207 struct label *mlabel, *fraglabel;
208
209 if (mac_policy_count == 0)
210 return;
211
212 mlabel = mac_mbuf_to_label(m);
213 fraglabel = mac_mbuf_to_label(frag);
214
215 MAC_POLICY_PERFORM_NOSLEEP(netinet_fragment, m, mlabel, frag,
216 fraglabel);
217}
218
219void
220mac_ipq_create(struct mbuf *m, struct ipq *q)

Callers 1

ip_fragmentFunction · 0.85

Calls 1

mac_mbuf_to_labelFunction · 0.85

Tested by

no test coverage detected