Home
last modified time | relevance | path

Searched refs:addr2 (Results 1 – 4 of 4) sorted by relevance

/haiku/src/libs/compat/freebsd_network/compat/machine/x86/
H A Dbus.h898 bus_space_handle_t addr2 = bsh2 + off2; 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()
915 *(volatile u_int8_t *)(addr2) = in bus_space_copy_region_1()
[all …]
/haiku/src/tests/system/network/
H A Dunix_dgram_test.cpp105 struct sockaddr_un addr2; in connect_test() local
106 addr2.sun_family = AF_UNIX; in connect_test()
107 strcpy(addr2.sun_path, "test2.sock"); in connect_test()
108 status = bind(sock2, (struct sockaddr*)&addr2, sizeof(addr2)); in connect_test()
132 status = connect(sock, (struct sockaddr*)&addr2, sizeof(addr2)); in connect_test()
244 struct sockaddr_un addr2; in send_test() local
245 addr2.sun_family = AF_UNIX; in send_test()
246 strcpy(addr2.sun_path, "test2.sock"); in send_test()
247 status = bind(sock2, (struct sockaddr*)&addr2, sizeof(addr2)); in send_test()
/haiku/src/tests/kits/net/
H A DNetEndpointTest.cpp29 in_addr addr1, addr2; in checkAddrsAreEqual() local
32 na2.GetAddr(addr2, &port2); 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 Dar9300_power.c832 u_int8_t *addr1, *addr2, *addr3; in ar9300_wow_create_keep_alive_pattern() local
841 addr2 = sta_mac_addr; in ar9300_wow_create_keep_alive_pattern()
869 data_word[2] = (((u_int32_t)addr2[1] << 24) | ((u_int32_t)addr2[0] << 16) | in ar9300_wow_create_keep_alive_pattern()
871 data_word[3] = (((u_int32_t)addr2[5] << 24) | ((u_int32_t)addr2[4] << 16) | in ar9300_wow_create_keep_alive_pattern()
872 ((u_int32_t)addr2[3]) << 8 | ((u_int32_t)addr2[2])); in ar9300_wow_create_keep_alive_pattern()