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

Function mls_netinet_firewall_send

freebsd/security/mac_mls/mac_mls.c:1273–1282  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1271}
1272
1273static void
1274mls_netinet_firewall_send(struct mbuf *m, struct label *mlabel)
1275{
1276 struct mac_mls *dest;
1277
1278 dest = SLOT(mlabel);
1279
1280 /* XXX: where is the label for the firewall really coming from? */
1281 mls_set_effective(dest, MAC_MLS_TYPE_EQUAL, 0, NULL);
1282}
1283
1284static void
1285mls_netinet_fragment(struct mbuf *m, struct label *mlabel, struct mbuf *frag,

Callers

nothing calls this directly

Calls 1

mls_set_effectiveFunction · 0.85

Tested by

no test coverage detected