| /xnu-11417.121.6/bsd/netinet6/ |
| H A D | in6_ifattach.c | 166 if (bcmp(nullbuf, seed0, sizeof(nullbuf)) == 0) { 214 if (bcmp(nullbuf, ret, sizeof(nullbuf)) == 0) { 310 if (bcmp(addr, allzero, addrlen) == 0) { in in6_iid_from_hw() 313 if (bcmp(addr, allone, addrlen) == 0) { in in6_iid_from_hw() 382 bcmp(&in6->s6_addr[9], allzero, 7) == 0) { in in6_iid_from_hw() 1219 if (bcmp(ndi->randomid, nullbuf, sizeof(nullbuf)) == 0) { 1256 if (bcmp(ndi->randomid, nullbuf, sizeof(nullbuf)) != 0) { in in6_tmpaddrtimer()
|
| H A D | in6.h | 286 (bcmp(&(a)->s6_addr[0], &(b)->s6_addr[0], \ 301 (bcmp(&(a)->sin6_addr, &(b)->sin6_addr, sizeof (struct in6_addr)) == 0))
|
| H A D | scope6.c | 163 if (bcmp(&in6addr_loopback, addr, sizeof(*addr) - 1) == 0) { in in6_addrscope()
|
| /xnu-11417.121.6/san/memory/ |
| H A D | memintrinsics.h | 57 return bcmp(a, b, sz); in __nosan_bcmp() 143 #define bcmp __asan_bcmp macro
|
| H A D | kasan-test.c | 356 bcmp(a1, a2, STACK_ARRAY_SZ); in test_bcmp() 357 bcmp(a1, a2 + 1, STACK_ARRAY_SZ); in test_bcmp() 363 bcmp(a1, a2, STACK_ARRAY_SZ + 1); in test_bcmp()
|
| /xnu-11417.121.6/bsd/net/ |
| H A D | ether_inet6_pr_module.c | 131 if (bcmp(eh->ether_shost, etherbroadcastaddr, in ether_inet6_input() 138 if (!bcmp(eh->ether_dhost, etherip6allnodes, ETHER_ADDR_LEN)) { in ether_inet6_input()
|
| H A D | radix.h | 404 #define Bcmp(a, b, n) bcmp(((char *)(a)), ((char *)(b)), (n)) 408 #define Bcmp(a, b, n) bcmp(((caddr_t)(a)), ((caddr_t)(b)), (unsigned)(n))
|
| H A D | ether_inet_pr_module.c | 140 if (bcmp(ea->arp_sha, etherbroadcastaddr, ETHER_ADDR_LEN) == 0) { in ether_inet_arp_input() 520 if (bcmp(eh->ether_dhost, etherbroadcastaddr, in ether_inet_arp()
|
| H A D | if_stf.c | 418 if (bcmp(GET_V4(&ia6->ia_addr.sin6_addr), &ip.ip_dst, in stf_encapcheck() 608 bcmp(&dst4->sin_addr, &ip->ip_dst, sizeof(ip->ip_dst)) != 0) { in stf_pre_output()
|
| H A D | sockaddr_utils.h | 367 __sac_rv = bcmp(__sau_lhb, __sau_rhb, (LEN)); \
|
| /xnu-11417.121.6/bsd/kern/ |
| H A D | chunklist.c | 256 if (bcmp(sha_digest, chk->chunk_sha256, SHA256_DIGEST_LENGTH) != 0) { in validate_root_image() 536 if (bcmp(&kernelcache_uuid, img_uuid, uuidsz) != 0) { in authenticate_bootkc_uuid() 605 if (bcmp(live_uuid, img_uuid, uuidsz) != 0) { in authenticate_libkern_uuid()
|
| H A D | tty_conf.c | 135 if (bcmp(linesw + i, &nodisc, sizeof(nodisc)) == 0) { in ldisc_register()
|
| /xnu-11417.121.6/osfmk/tests/ |
| H A D | vfp_state_test.c | 142 retval = bcmp(vfp_regs, vfp_regs_expected, sizeof(vfp_state_test_regs)); in vfp_state_test_thread_routine()
|
| /xnu-11417.121.6/bsd/kern/code_signing/ |
| H A D | xnu.c | 132 if (bcmp(compilation_service_cdhash, cdhash, CS_CDHASH_LEN) == 0) { in xnu_match_compilation_service_cdhash()
|
| /xnu-11417.121.6/bsd/netinet/ |
| H A D | ip_encap.c | 490 if (bcmp(&s, &ep->src, ep->src.ss_len) == 0 && in mask_match() 491 bcmp(&d, &ep->dst, ep->dst.ss_len) == 0) { in mask_match()
|
| H A D | ip_compat.h | 68 # define bcmp memcmp 668 # define bcmp(a, b, c) memcmp(a,b,c)
|
| H A D | dhcp_options.c | 341 if (bcmp(pkt->dp_options, rfc_magic, RFC_MAGIC_SIZE)) { in dhcpol_parse_packet()
|
| H A D | in_arp.c | 558 if (bcmp(addr, lr->lr_key.addr, alen) != 0) { in arp_llreach_alloc() 1709 bcmp(IF_LLADDR(ia->ia_ifp), IF_LLADDR(ifp), ifp->if_addrlen) == 0 && \ in arp_ip_handle_input() 1768 if (bcmp(CONST_LLADDR(sender_hw), IF_LLADDR(ifp), in arp_ip_handle_input() 1861 bcmp(CONST_LLADDR(gateway), CONST_LLADDR(sender_hw), in arp_ip_handle_input() 2049 if (gateway->sdl_alen != 0 && bcmp(LLADDR(gateway), in arp_ip_handle_input()
|
| H A D | in.h | 394 (bcmp(&(a)->s_addr, &(b)->s_addr, \
|
| /xnu-11417.121.6/osfmk/i386/ |
| H A D | cpuid.c | 1428 if (bcmp(reg, maxbasic_regs, sizeof(reg)) == 0) { in cpuid_init_vmm_info() 1443 } else if (0 == bcmp(info_p->cpuid_vmm_vendor, CPUID_VMM_ID_PARALLELS, 12)) { in cpuid_init_vmm_info() 1446 } else if (0 == bcmp(info_p->cpuid_vmm_vendor, CPUID_VMM_ID_HYVE, 12)) { in cpuid_init_vmm_info() 1449 } else if (0 == bcmp(info_p->cpuid_vmm_vendor, CPUID_VMM_ID_HVF, 12)) { in cpuid_init_vmm_info() 1452 } else if (0 == bcmp(info_p->cpuid_vmm_vendor, CPUID_VMM_ID_KVM, 12)) { in cpuid_init_vmm_info()
|
| /xnu-11417.121.6/tests/ |
| H A D | net_bridge.c | 1164 T_ASSERT_EQ(bcmp(payload, p, payload_length), 0, in switch_port_receive() 1567 T_ASSERT_EQ(bcmp(eh_p->ether_dhost, ðer_external, in validate_not_present_dhost() 1810 equal = (bcmp(eh_p->ether_shost, &port->member_mac, in validate_mac_nat() 1858 equal = (bcmp(eh_p->ether_shost, &port->member_mac, in validate_mac_nat_arp_out() 1868 equal = (bcmp(earp->arp_sha, &port->member_mac, in validate_mac_nat_arp_out() 2045 equal = (bcmp(eh_p->ether_shost, &port->member_mac, in validate_mac_nat_dhcp() 2159 equal = (bcmp(linkaddr, &port->member_mac, in validate_mac_nat_nd6() 2232 equal = (bcmp(eh_p->ether_shost, &port->member_mac, in validate_mac_nat_nd6_out()
|
| H A D | bpf_write.c | 294 …T_ASSERT_EQ_INT(bcmp(buffer + hp->bh_hdrlen, pkt, (size_t)nwritten), 0, "bpf read same bytes as wr… in do_bpf_write()
|
| H A D | bpf_write_batch.c | 368 …T_ASSERT_EQ_INT(bcmp(h0->bh_hdrlen + p0, hp->bh_hdrlen + bp, hp->bh_caplen), 0, "bpf read same byt… in do_bpf_write_batch()
|
| /xnu-11417.121.6/bsd/nfs/ |
| H A D | nfs_srvcache.c | 202 !bcmp(&inet6addr->sin6_addr, &haddr->had_inet6addr, sizeof(inet6addr->sin6_addr))) { in netaddr_match()
|
| H A D | nfs_socket.c | 156 return bcmp(&((struct sockaddr_in*)sa1)->sin_addr, in nfs_sockaddr_cmp() 160 return bcmp(&((struct sockaddr_in6*)sa1)->sin6_addr, in nfs_sockaddr_cmp()
|