aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorLuigi Rizzo <luigi@FreeBSD.org>2004-04-18 11:45:28 +0000
committerLuigi Rizzo <luigi@FreeBSD.org>2004-04-18 11:45:28 +0000
commit056c7327e44ccf0f430b496e5fa098a932c4d7d9 (patch)
tree78db9a504caf6e40586a89e048bc9ba4b6523d19 /sys
parent4158372f1a2e313d006ca0d233e928e437fd2ae5 (diff)
downloadsrc-056c7327e44ccf0f430b496e5fa098a932c4d7d9.tar.gz
src-056c7327e44ccf0f430b496e5fa098a932c4d7d9.zip
Replace Bcopy/Bzero with 'the real thing' as in the rest of the file.
Notes
Notes: svn path=/head/; revision=128397
Diffstat (limited to 'sys')
-rw-r--r--sys/netinet6/nd6.c4
-rw-r--r--sys/netinet6/nd6_rtr.c12
2 files changed, 8 insertions, 8 deletions
diff --git a/sys/netinet6/nd6.c b/sys/netinet6/nd6.c
index 4f0c1ba4d791..b4485a698b00 100644
--- a/sys/netinet6/nd6.c
+++ b/sys/netinet6/nd6.c
@@ -1208,7 +1208,7 @@ nd6_rtrequest(req, rt, info)
}
nd6_inuse++;
nd6_allocated++;
- Bzero(ln, sizeof(*ln));
+ bzero(ln, sizeof(*ln));
ln->ln_rt = rt;
/* this is required for "ndp" command. - shin */
if (req == RTM_ADD) {
@@ -1245,7 +1245,7 @@ nd6_rtrequest(req, rt, info)
ln->ln_state = ND6_LLINFO_REACHABLE;
ln->ln_byhint = 0;
if (macp) {
- Bcopy(macp, LLADDR(SDL(gate)), ifp->if_addrlen);
+ bcopy(macp, LLADDR(SDL(gate)), ifp->if_addrlen);
SDL(gate)->sdl_alen = ifp->if_addrlen;
}
if (nd6_useloopback) {
diff --git a/sys/netinet6/nd6_rtr.c b/sys/netinet6/nd6_rtr.c
index ef2c90b25c17..7d3e6043139e 100644
--- a/sys/netinet6/nd6_rtr.c
+++ b/sys/netinet6/nd6_rtr.c
@@ -463,9 +463,9 @@ defrouter_addreq(new)
struct sockaddr_in6 def, mask, gate;
struct rtentry *newrt = NULL;
- Bzero(&def, sizeof(def));
- Bzero(&mask, sizeof(mask));
- Bzero(&gate, sizeof(gate));
+ bzero(&def, sizeof(def));
+ bzero(&mask, sizeof(mask));
+ bzero(&gate, sizeof(gate));
def.sin6_len = mask.sin6_len = gate.sin6_len =
sizeof(struct sockaddr_in6);
@@ -554,9 +554,9 @@ defrouter_delreq(dr, dofree)
struct sockaddr_in6 def, mask, gate;
struct rtentry *oldrt = NULL;
- Bzero(&def, sizeof(def));
- Bzero(&mask, sizeof(mask));
- Bzero(&gate, sizeof(gate));
+ bzero(&def, sizeof(def));
+ bzero(&mask, sizeof(mask));
+ bzero(&gate, sizeof(gate));
def.sin6_len = mask.sin6_len = gate.sin6_len =
sizeof(struct sockaddr_in6);