summaryrefslogtreecommitdiffstats
path: root/sys/net
diff options
context:
space:
mode:
authorluigi <luigi@FreeBSD.org>2004-04-18 11:01:15 +0000
committerluigi <luigi@FreeBSD.org>2004-04-18 11:01:15 +0000
commit46400cdf4dbdc1461fd989699b74ceae471d340c (patch)
tree051da4925bbe176c3e515d51ca48f61f4c58b759 /sys/net
parent3edd6abfa67cf49f0fde3bab46cb131e8ff02f3d (diff)
downloadFreeBSD-src-46400cdf4dbdc1461fd989699b74ceae471d340c.zip
FreeBSD-src-46400cdf4dbdc1461fd989699b74ceae471d340c.tar.gz
replace Bcmp() with the same bcmp() used in the rest of the file.
Diffstat (limited to 'sys/net')
-rw-r--r--sys/net/if_ethersubr.c4
-rw-r--r--sys/net/if_fddisubr.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/sys/net/if_ethersubr.c b/sys/net/if_ethersubr.c
index 7bf473d..4b10239 100644
--- a/sys/net/if_ethersubr.c
+++ b/sys/net/if_ethersubr.c
@@ -769,14 +769,14 @@ post_stats:
if (l->llc_dsap == LLC_SNAP_LSAP &&
l->llc_ssap == LLC_SNAP_LSAP &&
l->llc_control == LLC_UI) {
- if (Bcmp(&(l->llc_snap_org_code)[0], at_org_code,
+ if (bcmp(&(l->llc_snap_org_code)[0], at_org_code,
sizeof(at_org_code)) == 0 &&
ntohs(l->llc_snap_ether_type) == ETHERTYPE_AT) {
m_adj(m, LLC_SNAPFRAMELEN);
isr = NETISR_ATALK2;
break;
}
- if (Bcmp(&(l->llc_snap_org_code)[0], aarp_org_code,
+ if (bcmp(&(l->llc_snap_org_code)[0], aarp_org_code,
sizeof(aarp_org_code)) == 0 &&
ntohs(l->llc_snap_ether_type) == ETHERTYPE_AARP) {
m_adj(m, LLC_SNAPFRAMELEN);
diff --git a/sys/net/if_fddisubr.c b/sys/net/if_fddisubr.c
index 2e89840..0602c43 100644
--- a/sys/net/if_fddisubr.c
+++ b/sys/net/if_fddisubr.c
@@ -468,7 +468,7 @@ fddi_input(ifp, m)
goto dropanyway;
}
#ifdef NETATALK
- if (Bcmp(&(l->llc_snap.org_code)[0], at_org_code,
+ if (bcmp(&(l->llc_snap.org_code)[0], at_org_code,
sizeof(at_org_code)) == 0 &&
ntohs(l->llc_snap.ether_type) == ETHERTYPE_AT) {
isr = NETISR_ATALK2;
@@ -476,7 +476,7 @@ fddi_input(ifp, m)
break;
}
- if (Bcmp(&(l->llc_snap.org_code)[0], aarp_org_code,
+ if (bcmp(&(l->llc_snap.org_code)[0], aarp_org_code,
sizeof(aarp_org_code)) == 0 &&
ntohs(l->llc_snap.ether_type) == ETHERTYPE_AARP) {
m_adj(m, LLC_SNAPFRAMELEN);
OpenPOWER on IntegriCloud