Searched refs:addr1 (Results 1 – 5 of 5) sorted by relevance
/haiku/src/tests/system/network/ |
H A D | unix_dgram_test.cpp | 53 struct sockaddr_un addr1; in connect_test() local 54 addr1.sun_family = AF_UNIX; in connect_test() 55 strcpy(addr1.sun_path, "test1.sock"); in connect_test() 56 status = bind(sock1, (struct sockaddr*)&addr1, sizeof(addr1)); in connect_test() 79 status = connect(sock, (struct sockaddr*)&addr1, sizeof(addr1)); in connect_test() 93 status = connect(sock, (struct sockaddr*)&addr1, sizeof(addr1)); in connect_test() 115 status = connect(sock2, (struct sockaddr*)&addr1, sizeof(addr1)); in connect_test() 194 struct sockaddr_un addr1; in send_test() local 195 addr1.sun_family = AF_UNIX; in send_test() 196 strcpy(addr1.sun_path, "test1.sock"); in send_test() [all …]
|
/haiku/src/libs/compat/freebsd_network/compat/machine/x86/ |
H A D | bus.h | 897 bus_space_handle_t addr1 = bsh1 + off1; in bus_space_copy_region_1() local 901 if (addr1 >= addr2) { in bus_space_copy_region_1() 903 for (; count != 0; count--, addr1++, addr2++) in bus_space_copy_region_1() 904 outb(addr2, inb(addr1)); in bus_space_copy_region_1() 907 for (addr1 += (count - 1), addr2 += (count - 1); in bus_space_copy_region_1() 908 count != 0; count--, addr1--, addr2--) in bus_space_copy_region_1() 909 outb(addr2, inb(addr1)); in bus_space_copy_region_1() 912 if (addr1 >= addr2) { in bus_space_copy_region_1() 914 for (; count != 0; count--, addr1++, addr2++) in bus_space_copy_region_1() 916 *(volatile u_int8_t *)(addr1); in bus_space_copy_region_1() [all …]
|
/haiku/src/tests/system/kernel/ |
H A D | mmap_fixed_test.cpp | 28 void* addr1 = mmap(addr, 4096, PROT_NONE, MAP_SHARED | MAP_FIXED, fd, 0); in main() local 30 if (addr == MAP_FAILED || addr1 == MAP_FAILED) { in main() 35 if (addr != addr1) { in main()
|
/haiku/src/tests/kits/net/ |
H A D | NetEndpointTest.cpp | 29 in_addr addr1, addr2; in checkAddrsAreEqual() local 31 na1.GetAddr(addr1, &port1); in checkAddrsAreEqual() 33 if (addr1.s_addr == addr2.s_addr && port1 == port2) in checkAddrsAreEqual() 35 fprintf(stderr, fmt, addr1.s_addr, port1, addr2.s_addr, port2); in checkAddrsAreEqual()
|
/haiku/src/add-ons/kernel/drivers/network/wlan/atheroswifi/contrib/ath_hal/ar9300/ |
H A D | ar9300_power.c | 832 u_int8_t *addr1, *addr2, *addr3; in ar9300_wow_create_keep_alive_pattern() local 842 addr1 = addr3 = ap_mac_addr; in ar9300_wow_create_keep_alive_pattern() 867 data_word[1] = (((u_int32_t)addr1[3] << 24) | ((u_int32_t)addr1[2] << 16) | in ar9300_wow_create_keep_alive_pattern() 868 ((u_int32_t)addr1[1]) << 8 | ((u_int32_t)addr1[0])); in ar9300_wow_create_keep_alive_pattern() 870 ((u_int32_t)addr1[5]) << 8 | ((u_int32_t)addr1[4])); in ar9300_wow_create_keep_alive_pattern()
|