| /xnu-10002.41.9/bsd/netinet/ |
| H A D | ip_encap.c | 353 bcmp(&ep->src, sp, sp->sa_len) != 0 || in encap_attach() 354 bcmp(&ep->srcmask, sm, sp->sa_len) != 0) { in encap_attach() 358 bcmp(&ep->dst, dp, dp->sa_len) != 0 || in encap_attach() 359 bcmp(&ep->dstmask, dm, dp->sa_len) != 0) { in encap_attach() 491 if (bcmp(&s, &ep->src, ep->src.ss_len) == 0 && in mask_match() 492 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 | 570 if (bcmp(addr, lr->lr_key.addr, alen) != 0) { in arp_llreach_alloc() 1714 bcmp(IF_LLADDR(ia->ia_ifp), IF_LLADDR(ifp), ifp->if_addrlen) == 0 && \ in arp_ip_handle_input() 1773 if (bcmp(CONST_LLADDR(sender_hw), IF_LLADDR(ifp), in arp_ip_handle_input() 1866 bcmp(CONST_LLADDR(gateway), CONST_LLADDR(sender_hw), in arp_ip_handle_input() 2054 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-10002.41.9/bsd/netinet6/ |
| H A D | in6_ifattach.c | 165 if (bcmp(nullbuf, seed0, sizeof(nullbuf)) == 0) { in in6_generate_tmp_iid() 213 if (bcmp(nullbuf, ret, sizeof(nullbuf)) == 0) { in in6_generate_tmp_iid() 309 if (bcmp(addr, allzero, addrlen) == 0) { in in6_iid_from_hw() 312 if (bcmp(addr, allone, addrlen) == 0) { in in6_iid_from_hw() 381 bcmp(&in6->s6_addr[9], allzero, 7) == 0) { in in6_iid_from_hw() 1222 if (bcmp(ndi->randomid, nullbuf, sizeof(nullbuf)) == 0) { in in6_iid_mktmp() 1259 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-10002.41.9/bsd/net/ |
| H A D | radix.h | 199 #define Bcmp(a, b, n) bcmp(((char *)(a)), ((char *)(b)), (n)) 203 #define Bcmp(a, b, n) bcmp(((caddr_t)(a)), ((caddr_t)(b)), (unsigned)(n))
|
| H A D | ether_inet6_pr_module.c | 129 if (bcmp(eh->ether_shost, etherbroadcastaddr, in ether_inet6_input() 136 if (!bcmp(eh->ether_dhost, etherip6allnodes, ETHER_ADDR_LEN)) { in ether_inet6_input()
|
| H A D | ether_inet_pr_module.c | 137 if (bcmp(ea->arp_sha, etherbroadcastaddr, ETHER_ADDR_LEN) == 0) { in ether_inet_arp_input() 199 if (bcmp(eh->ether_shost, etherbroadcastaddr, in ether_inet_input() 513 if (bcmp(eh->ether_dhost, etherbroadcastaddr, in ether_inet_arp()
|
| H A D | raw_usrreq.c | 121 (bcmp((caddr_t)(a1), (caddr_t)(a2), a1->sa_len) == 0) in raw_input()
|
| H A D | if_stf.c | 415 if (bcmp(GET_V4(&ia6->ia_addr.sin6_addr), &ip.ip_dst, in stf_encapcheck() 605 bcmp(&dst4->sin_addr, &ip->ip_dst, sizeof(ip->ip_dst)) != 0) { in stf_pre_output()
|
| H A D | if_gif.c | 827 if (bcmp(sc2->gif_pdst, dst, dst->sa_len) == 0 && in gif_ioctl() 828 bcmp(sc2->gif_psrc, src, src->sa_len) == 0) { in gif_ioctl()
|
| /xnu-10002.41.9/san/memory/ |
| H A D | memintrinsics.h | 54 return bcmp(a, b, sz); in __nosan_bcmp() 140 #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-10002.41.9/osfmk/libsa/ |
| H A D | string.h | 149 extern int bcmp(const void *s1 __sized_by(n), const void *s2 __sized_by(n), size_t n) __stateful_pu… 150 #if XNU_USE_STRING_BUILTIN(bcmp) 151 #define bcmp(s1, s2, n) __builtin_bcmp(s1, s2, n) macro
|
| /xnu-10002.41.9/bsd/kern/ |
| H A D | tty_conf.c | 135 if (bcmp(linesw + i, &nodisc, sizeof(nodisc)) == 0) { in ldisc_register()
|
| 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()
|
| /xnu-10002.41.9/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-10002.41.9/bsd/kern/code_signing/ |
| H A D | xnu.c | 95 if (bcmp(compilation_service_cdhash, cdhash, CS_CDHASH_LEN) == 0) { in xnu_match_compilation_service_cdhash()
|
| /xnu-10002.41.9/osfmk/i386/ |
| H A D | cpuid.c | 1403 if (bcmp(reg, maxbasic_regs, sizeof(reg)) == 0) { in cpuid_init_vmm_info() 1418 } else if (0 == bcmp(info_p->cpuid_vmm_vendor, CPUID_VMM_ID_PARALLELS, 12)) { in cpuid_init_vmm_info() 1421 } else if (0 == bcmp(info_p->cpuid_vmm_vendor, CPUID_VMM_ID_HYVE, 12)) { in cpuid_init_vmm_info() 1424 } else if (0 == bcmp(info_p->cpuid_vmm_vendor, CPUID_VMM_ID_HVF, 12)) { in cpuid_init_vmm_info() 1427 } else if (0 == bcmp(info_p->cpuid_vmm_vendor, CPUID_VMM_ID_KVM, 12)) { in cpuid_init_vmm_info()
|
| /xnu-10002.41.9/tests/ |
| H A D | bpf_write.c | 313 …T_ASSERT_EQ_INT(bcmp(buffer + hp->bh_hdrlen, pkt, (size_t)nwritten), 0, "bpf read same bytes as wr… in do_bpf_write()
|
| /xnu-10002.41.9/bsd/nfs/ |
| H A D | nfs_socket.c | 123 return bcmp(&((struct sockaddr_in*)sa1)->sin_addr, in nfs_sockaddr_cmp() 127 return bcmp(&((struct sockaddr_in6*)sa1)->sin6_addr, in nfs_sockaddr_cmp()
|
| H A D | nfs_srvcache.c | 202 !bcmp(&inet6addr->sin6_addr, &haddr->had_inet6addr, sizeof(inet6addr->sin6_addr))) { in netaddr_match()
|