Lines Matching refs:ifnet
77 * XXXRW: struct ifnet locking is incomplete in the network code, so we use
78 * our own global mutex for struct ifnet. Non-ideal, but should help in the
81 * This lock is acquired only if a loaded policy is using ifnet labeling.
142 mac_ifnet_init(struct ifnet *ifp)
221 mac_ifnet_destroy(struct ifnet *ifp)
287 MAC_POLICY_EXTERNALIZE(ifnet, label, elements, outbuf, outbuflen);
297 MAC_POLICY_INTERNALIZE(ifnet, label, string);
303 mac_ifnet_create(struct ifnet *ifp)
340 mac_ifnet_create_mbuf(struct ifnet *ifp, struct mbuf *m)
357 "struct ifnet *");
360 mac_bpfdesc_check_receive(struct bpf_d *d, struct ifnet *ifp)
379 MAC_CHECK_PROBE_DEFINE2(ifnet_check_transmit, "struct ifnet *",
383 mac_ifnet_check_transmit(struct ifnet *ifp, struct mbuf *m)
406 struct ifnet *ifp)
449 mac_ifnet_ioctl_set(struct ucred *cred, struct ifreq *ifr, struct ifnet *ifp)