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
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=128396
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);