replace Bcmp() with the same bcmp() used in the rest of the file.

This commit is contained in:
Luigi Rizzo 2004-04-18 11:01:15 +00:00
parent 377a50503d
commit 4158372f1a
2 changed files with 4 additions and 4 deletions

View File

@ -769,14 +769,14 @@ ether_demux(struct ifnet *ifp, struct mbuf *m)
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);

View File

@ -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);