diff options
author | rwatson <rwatson@FreeBSD.org> | 2007-10-26 13:18:38 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2007-10-26 13:18:38 +0000 |
commit | a3b8fc4866545652607bccb0d3d248e512463e35 (patch) | |
tree | 5126fbd4b18174fda8e90bc084911557af9f87ae /sys/security/mac/mac_net.c | |
parent | 6edabeb2b453e55413bf787226f2563ce3c4a5da (diff) | |
download | FreeBSD-src-a3b8fc4866545652607bccb0d3d248e512463e35.zip FreeBSD-src-a3b8fc4866545652607bccb0d3d248e512463e35.tar.gz |
Rename 'mac_mbuf_create_from_firewall' to 'mac_netinet_firewall_send' as
we move towards netinet as a pseudo-object for the MAC Framework.
Rename 'mac_create_mbuf_linklayer' to 'mac_mbuf_create_linklayer' to
reflect general object-first ordering preference.
Sponsored by: SPARTA (original patches against Mac OS X)
Obtained from: TrustedBSD Project, Apple Computer
Diffstat (limited to 'sys/security/mac/mac_net.c')
-rw-r--r-- | sys/security/mac/mac_net.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/security/mac/mac_net.c b/sys/security/mac/mac_net.c index 406e1f8..5d8aea1 100644 --- a/sys/security/mac/mac_net.c +++ b/sys/security/mac/mac_net.c @@ -310,14 +310,14 @@ mac_bpfdesc_create_mbuf(struct bpf_d *d, struct mbuf *m) } void -mac_create_mbuf_linklayer(struct ifnet *ifp, struct mbuf *m) +mac_mbuf_create_linklayer(struct ifnet *ifp, struct mbuf *m) { struct label *label; label = mac_mbuf_to_label(m); MAC_IFNET_LOCK(ifp); - MAC_PERFORM(create_mbuf_linklayer, ifp, ifp->if_label, m, label); + MAC_PERFORM(mbuf_create_linklayer, ifp, ifp->if_label, m, label); MAC_IFNET_UNLOCK(ifp); } |