Home
last modified time | relevance | path

Searched refs:buf2 (Results 1 – 6 of 6) sorted by relevance

/xnu-8796.141.3/bsd/net/
H A Dnat464_utils.c555 char buf2[MAX_IPv6_STR_LEN]; in nat464_translate_icmp_ip() local
559 inet_ntop(AF_INET6, (void *)&ip6->ip6_src, buf2, sizeof(buf2)), in nat464_translate_icmp_ip()
560 inet_ntop(AF_INET6, (void *)&ip6->ip6_dst, buf2, sizeof(buf2)))); in nat464_translate_icmp_ip()
704 char buf1[MAX_IPv4_STR_LEN], buf2[MAX_IPv4_STR_LEN]; in nat464_translate_64() local
709 inet_ntop(AF_INET, (void *)&ip4->ip_dst, buf2, sizeof(buf2)))); in nat464_translate_64()
754 char buf1[MAX_IPv6_STR_LEN], buf2[MAX_IPv6_STR_LEN]; in nat464_translate_46() local
759 inet_ntop(AF_INET6, (void *)&ip6->ip6_dst, buf2, sizeof(buf2)))); in nat464_translate_46()
/xnu-8796.141.3/iokit/Tests/
H A DTestIOMemoryDescriptor.cpp962 uint32_t * buf2; in IOMemoryDescriptorTest()
979 buf2 = (uint32_t *) map2->getVirtualAddress(); in IOMemoryDescriptorTest()
982 memset(buf2, 0x22, 64 * 1024L); in IOMemoryDescriptorTest()
984 kprintf("md1 %p, map1 %p, buf2 %p; md2 %p, map2 %p, buf2 %p\n", md1, map1, buf1, md2, map2, buf2); in IOMemoryDescriptorTest()
986 kprintf("no redir 0x%08x, 0x%08x\n", buf1[0], buf2[0]); in IOMemoryDescriptorTest()
988 assert(0x22222222 == buf2[0]); in IOMemoryDescriptorTest()
990 kprintf("redir md2(0x%x) 0x%08x, 0x%08x\n", err, buf1[0], buf2[0]); in IOMemoryDescriptorTest()
991 assert(0x11111111 == buf2[0]); in IOMemoryDescriptorTest()
994 kprintf("redir md1(0x%x) 0x%08x, 0x%08x\n", err, buf1[0], buf2[0]); in IOMemoryDescriptorTest()
996 assert(0x22222222 == buf2[0]); in IOMemoryDescriptorTest()
/xnu-8796.141.3/bsd/tests/
H A Dcopyio_tests.c63 char *buf1, *buf2; member
118 char *in_buf = data->buf2; in copyin_from_kernel()
126 char *in_buf = data->buf2; in copyin_test()
499 data.buf2 = kalloc_data(copyio_test_buf_size, Z_WAITOK); in copyio_test()
500 if (!data.buf1 || !data.buf2) { in copyio_test()
562 kfree_data(data.buf2, copyio_test_buf_size); in copyio_test()
/xnu-8796.141.3/bsd/netinet/
H A Dudp_usrreq.c668 char buf2[MAX_IPv4_STR_LEN]; in udp_input() local
676 &ip->ip_src, buf2, sizeof(buf2)), in udp_input()
685 &ip->ip_src, buf2, sizeof(buf2)), in udp_input()
H A Din_arp.c2058 char buf2[3 * MAX_HW_LEN]; in arp_ip_handle_input() local
2063 sdl_addr_to_hex(sender_hw, buf2, (int)sizeof(buf2)), in arp_ip_handle_input()
H A Dip_input.c2874 char buf2[MAX_IPv4_STR_LEN]; in ip_dooptions() local
2885 buf2, sizeof(buf2))); in ip_dooptions()