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

Function mac_netinet_icmp_reply

freebsd/security/mac/mac_inet.c:282–295  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

280}
281
282void
283mac_netinet_icmp_reply(struct mbuf *mrecv, struct mbuf *msend)
284{
285 struct label *mrecvlabel, *msendlabel;
286
287 if (mac_policy_count == 0)
288 return;
289
290 mrecvlabel = mac_mbuf_to_label(mrecv);
291 msendlabel = mac_mbuf_to_label(msend);
292
293 MAC_POLICY_PERFORM_NOSLEEP(netinet_icmp_reply, mrecv, mrecvlabel,
294 msend, msendlabel);
295}
296
297void
298mac_netinet_icmp_replyinplace(struct mbuf *m)

Callers 1

icmp_errorFunction · 0.85

Calls 1

mac_mbuf_to_labelFunction · 0.85

Tested by

no test coverage detected