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

Function mac_ipq_match

freebsd/security/mac/mac_inet.c:248–263  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

246}
247
248int
249mac_ipq_match(struct mbuf *m, struct ipq *q)
250{
251 struct label *label;
252 int result;
253
254 if (mac_policy_count == 0)
255 return (1);
256
257 label = mac_mbuf_to_label(m);
258
259 result = 1;
260 MAC_POLICY_BOOLEAN_NOSLEEP(ipq_match, &&, m, label, q, q->ipq_label);
261
262 return (result);
263}
264
265void
266mac_netinet_arp_send(struct ifnet *ifp, struct mbuf *m)

Callers 1

ip_reassFunction · 0.85

Calls 1

mac_mbuf_to_labelFunction · 0.85

Tested by

no test coverage detected