diff options
author | rwatson <rwatson@FreeBSD.org> | 2002-08-15 18:51:27 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2002-08-15 18:51:27 +0000 |
commit | aa8060c29eeb4a85d171a23017f4e933f79b0cfe (patch) | |
tree | 470986e91feb7d5a517a603465e7a4febc995bb4 /sys/netinet/raw_ip.c | |
parent | 9725be3a61bad07fdfb0fb8789d43a39078736fd (diff) | |
download | FreeBSD-src-aa8060c29eeb4a85d171a23017f4e933f79b0cfe.zip FreeBSD-src-aa8060c29eeb4a85d171a23017f4e933f79b0cfe.tar.gz |
Rename mac_check_socket_receive() to mac_check_socket_deliver() so that
we can use the names _receive() and _send() for the receive() and send()
checks. Rename related constants, policy implementations, etc.
Obtained from: TrustedBSD Project
Sponsored by: DARPA, NAI Labs
Diffstat (limited to 'sys/netinet/raw_ip.c')
-rw-r--r-- | sys/netinet/raw_ip.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/netinet/raw_ip.c b/sys/netinet/raw_ip.c index 99d3264..76cdeb6 100644 --- a/sys/netinet/raw_ip.c +++ b/sys/netinet/raw_ip.c @@ -159,7 +159,7 @@ rip_input(m, off) #endif /*IPSEC*/ #ifdef MAC if (policyfail == 0 && - mac_check_socket_receive(last->inp_socket, + mac_check_socket_deliver(last->inp_socket, n) != 0) policyfail = 1; #endif @@ -196,7 +196,7 @@ rip_input(m, off) } #endif /*IPSEC*/ #ifdef MAC - if (mac_check_socket_receive(last->inp_socket, m) != 0) { + if (mac_check_socket_deliver(last->inp_socket, m) != 0) { m_freem(m); ipstat.ips_delivered--; return; |