summaryrefslogtreecommitdiffstats
path: root/sys/netinet
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2008-07-05 18:55:03 +0000
committerrwatson <rwatson@FreeBSD.org>2008-07-05 18:55:03 +0000
commit6f9bd693c043146c687ca1cf2ff37767f302bc96 (patch)
tree8eafdcf1fc06112b7ecd757ab19e832364a5a75e /sys/netinet
parent6ee57a292b96843561f46cb712ea717ccd9c8053 (diff)
downloadFreeBSD-src-6f9bd693c043146c687ca1cf2ff37767f302bc96.zip
FreeBSD-src-6f9bd693c043146c687ca1cf2ff37767f302bc96.tar.gz
Rename raw_append() to rip_append(): the raw_ prefix is generally used
for functions in the generic raw socket library (raw_cb.c, raw_usrreq.c), and they are not used for IPv4 raw sockets. MFC after: 3 days
Diffstat (limited to 'sys/netinet')
-rw-r--r--sys/netinet/raw_ip.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/netinet/raw_ip.c b/sys/netinet/raw_ip.c
index d9a43e0..902fc5d 100644
--- a/sys/netinet/raw_ip.c
+++ b/sys/netinet/raw_ip.c
@@ -156,7 +156,7 @@ rip_init(void)
static struct sockaddr_in ripsrc = { sizeof(ripsrc), AF_INET };
static int
-raw_append(struct inpcb *last, struct ip *ip, struct mbuf *n)
+rip_append(struct inpcb *last, struct ip *ip, struct mbuf *n)
{
int policyfail = 0;
@@ -238,14 +238,14 @@ rip_input(struct mbuf *m, int off)
n = m_copy(m, 0, (int)M_COPYALL);
if (n != NULL)
- (void) raw_append(last, ip, n);
+ (void) rip_append(last, ip, n);
/* XXX count dropped packet */
INP_RUNLOCK(last);
}
last = inp;
}
if (last != NULL) {
- if (raw_append(last, ip, m) != 0)
+ if (rip_append(last, ip, m) != 0)
ipstat.ips_delivered--;
INP_RUNLOCK(last);
} else {
OpenPOWER on IntegriCloud