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

Function mac_ifnet_init

freebsd/security/mac/mac_net.c:141–149  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

139}
140
141void
142mac_ifnet_init(struct ifnet *ifp)
143{
144
145 if (mac_labeled & MPC_OBJECT_IFNET)
146 ifp->if_label = mac_ifnet_label_alloc();
147 else
148 ifp->if_label = NULL;
149}
150
151int
152mac_mbuf_tag_init(struct m_tag *tag, int flag)

Callers 1

if_alloc_domainFunction · 0.85

Calls 1

mac_ifnet_label_allocFunction · 0.85

Tested by

no test coverage detected