mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-04 07:31:11 +00:00
replace Bcmp() with the same bcmp() used in the rest of the file.
This commit is contained in:
parent
377a50503d
commit
4158372f1a
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=128396
|
@ -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);
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue