/haiku/headers/private/kernel/boot/net/ |
H A D | ARP.h | 26 status_t GetMACForIP(ip_addr_t ip, mac_addr_t &mac); 35 ip_addr_t ip; member in struct:ARPService::MapEntry 39 status_t _SendARPPacket(ip_addr_t ip, const mac_addr_t &mac, uint16 opcode); 41 MapEntry *_FindEntry(ip_addr_t ip); 42 void _PutEntry(ip_addr_t ip, const mac_addr_t &mac);
|
/haiku/src/kits/debug/arch/arm/ |
H A D | arch_debug_support.cpp | 16 void **ip, void **stackFrameAddress) 15 arch_debug_get_instruction_pointer(debug_context *context, thread_id thread, void **ip, void **stackFrameAddress) argument
|
/haiku/src/kits/debug/arch/ppc/ |
H A D | arch_debug_support.cpp | 14 void **ip, void **stackFrameAddress) 13 arch_debug_get_instruction_pointer(debug_context *context, thread_id thread, void **ip, void **stackFrameAddress) argument
|
/haiku/src/kits/debug/arch/arm64/ |
H A D | arch_debug_support.cpp | 12 void **ip, void **stackFrameAddress) 11 arch_debug_get_instruction_pointer(debug_context *context, thread_id thread, void **ip, void **stackFrameAddress) argument
|
/haiku/src/system/libnetwork/musl/network/ |
H A D | inet_pton.c | 21 uint16_t ip[8]; local 46 ip[i&7]=0; 54 ip[i&7] = v; 66 memmove(ip+brk+7-i, ip+brk, 2*(i+1-brk)); 67 for (j=0; j<7-i; j++) ip[brk+j] = 0; 70 *a++ = ip[j]>>8; 71 *a++ = ip[j];
|
/haiku/src/system/boot/loader/net/ |
H A D | ARP.cpp | 30 fEntries[i].ip = INADDR_ANY; 113 ARPService::GetMACForIP(ip_addr_t ip, mac_addr_t &mac) argument 115 TRACE(("ARPService::GetMACForIP(%08lx)\n", ip)); 117 if (ip == INADDR_ANY) 119 if (ip == INADDR_BROADCAST) { 121 TRACE(("ARPService::GetMACForIP(%08lx) done: %012llx\n", ip, 127 if (MapEntry *entry = _FindEntry(ip)) { 129 TRACE(("ARPService::GetMACForIP(%08lx) done: %012llx\n", ip, 136 status_t error = _SendARPPacket(ip, kBroadcastMACAddress, 140 ip)); 165 _SendARPPacket(ip_addr_t ip, const mac_addr_t &mac, uint16 opcode) argument 185 _FindEntry(ip_addr_t ip) argument 200 _PutEntry(ip_addr_t ip, const mac_addr_t &mac) argument [all...] |
/haiku/src/tests/system/network/icmp/ |
H A D | icmp_dumper.cpp | 13 #include <netinet/ip.h> 49 struct ip* ip = (struct ip*)buf; local 50 ipLen = ip->ip_hl << 2;
|
H A D | big_datagram.cpp | 13 #include <netinet/ip.h> 67 printf("Usage: %s <ip-address> <port> [nbytes]\n", argv[0]); 77 if (size - sizeof(struct ip) - sizeof(struct udphdr) < 0) { 98 struct ip* iph = (struct ip*)datagram; 115 struct udphdr* udp = (struct udphdr*)(datagram + sizeof(struct ip)); 118 udp->uh_ulen = htons(size - sizeof(struct ip));
|
/haiku/src/system/kernel/arch/m68k/ |
H A D | arch_debug.cpp | 66 get_next_frame(addr_t framePointer, addr_t *next, addr_t *ip) argument 74 *ip = frame.return_address; 82 print_stack_frame(Thread *thread, addr_t ip, addr_t framePointer, argument 95 status_t status = elf_debug_lookup_symbol_address(ip, &baseAddress, &symbol, 97 if (status != B_OK && !IS_KERNEL_ADDRESS(ip) && thread) { 99 status = image_debug_lookup_user_symbol_address(thread->team, ip, 105 diff, ip, image, symbol, ip - baseAddress, 109 framePointer, diff, ip, image, (void *)baseAddress, 110 ip 216 addr_t ip, nextFramePointer; local 312 addr_t ip; local [all...] |
/haiku/src/system/kernel/arch/x86/ |
H A D | arch_int.cpp | 91 panic("unhandled trap 0x%lx (%s) at ip 0x%lx, thread %" B_PRId32 "!\n", 93 frame->ip, thread ? thread->id : -1); 120 signalAddress = frame->ip; 127 signalAddress = frame->ip; 140 signalAddress = frame->ip; 147 signalAddress = frame->ip; 154 signalAddress = frame->ip; 163 signalAddress = frame->ip; 180 signalAddress = frame->ip; 276 debug_set_page_fault_info(cr2, frame->ip, [all...] |
H A D | arch_debug.cpp | 373 print_stack_frame(Thread* thread, addr_t ip, addr_t bp, addr_t nextBp, argument 389 status = lookup_symbol(thread, ip, &baseAddress, &symbol, &image, 393 B_PRINTF_POINTER_WIDTH, bp, diff, B_PRINTF_POINTER_WIDTH, ip); 409 kprintf(" + %#04lx\n", ip - baseAddress); 414 area = thread->team->address_space->LookupArea(ip); 418 (void*)area->Base(), ip - area->Base()); 444 kprintf(" rip %#-18lx rsp %#-18lx rflags %#lx\n", frame->ip, 454 kprintf(" eip %#-10lx eflags %#-10lx", frame->ip, frame->flags); 629 CHECK_DEBUG_VARIABLE("rip", frame->ip, true); 648 CHECK_DEBUG_VARIABLE("eip", frame->ip, tru 727 addr_t ip, nextBp; local 967 is_calling(Thread* thread, addr_t ip, const char* pattern, addr_t start, addr_t end) argument 1099 addr_t ip, nextBp; local 1151 addr_t ip; local [all...] |
/haiku/src/kits/debug/arch/ |
H A D | arch_debug_support.h | 15 thread_id thread, void **ip, void **stackFrameAddress);
|
/haiku/src/kits/debug/arch/m68k/ |
H A D | arch_debug_support.cpp | 20 void **ip, void **stackFrameAddress) 19 arch_debug_get_instruction_pointer(debug_context *context, thread_id thread, void **ip, void **stackFrameAddress) argument
|
/haiku/src/kits/debug/arch/mipsel/ |
H A D | arch_debug_support.cpp | 14 void **ip, void **stackFrameAddress) 13 arch_debug_get_instruction_pointer(debug_context *context, thread_id thread, void **ip, void **stackFrameAddress) argument
|
/haiku/src/system/kernel/arch/ppc/ |
H A D | arch_debug.cpp | 65 get_next_frame(addr_t framePointer, addr_t *next, addr_t *ip) argument 73 *ip = frame.return_address; 81 print_stack_frame(Thread *thread, addr_t ip, addr_t framePointer, argument 94 status_t status = elf_debug_lookup_symbol_address(ip, &baseAddress, &symbol, 96 if (status != B_OK && !IS_KERNEL_ADDRESS(ip) && thread) { 98 status = image_debug_lookup_user_symbol_address(thread->team, ip, 104 diff, ip, image, symbol, ip - baseAddress, 108 framePointer, diff, ip, image, (void *)baseAddress, 109 ip 223 addr_t ip, nextFramePointer; local [all...] |
/haiku/src/system/kernel/arch/arm/ |
H A D | arch_asm.S | 250 mrs ip, cpsr 251 bic ip, ip, #(CPSR_MODE_MASK | CPSR_T | CPSR_F | CPSR_I) 252 orr ip, ip, #(CPSR_MODE_USR | CPSR_F) 253 msr spsr, ip 258 mrs ip, cpsr 259 bic ip, ip, #(CPSR_MODE_MASK) 260 orr ip, i [all...] |
/haiku/src/bin/network/ping/ |
H A D | ping.c | 66 #include <netinet/ip.h> 107 #define MAXIPLEN (sizeof(struct ip) + MAX_IPOPTLEN) 204 static void pr_icmph(struct icmp *, struct ip *, const u_char *const); 205 static void pr_iph(struct ip *, const u_char *); 283 outpack = outpackhdr + sizeof(struct ip); 562 icmp_len = sizeof(struct ip) + ICMP_MINLEN + phdr_len; 705 struct ip ip; local 708 memcpy(&ip, outpackhdr, sizeof(ip)); 1089 struct ip ip; local 1134 struct ip ip; local 1587 pr_iph(struct ip *ip, const u_char *cp) argument [all...] |
/haiku/src/kits/debug/arch/x86/ |
H A D | arch_debug_support.cpp | 20 void **ip, void **stackFrameAddress) 28 *ip = (void*)cpuState.eip; 19 arch_debug_get_instruction_pointer(debug_context *context, thread_id thread, void **ip, void **stackFrameAddress) argument
|
/haiku/src/kits/debug/arch/x86_64/ |
H A D | arch_debug_support.cpp | 21 void **ip, void **stackFrameAddress) 29 *ip = (void*)cpuState.rip; 20 arch_debug_get_instruction_pointer(debug_context *context, thread_id thread, void **ip, void **stackFrameAddress) argument
|
/haiku/src/kits/debug/arch/riscv64/ |
H A D | arch_debug_support.cpp | 21 void **ip, void **stackFrameAddress) 29 *ip = (void*)cpuState.pc; 20 arch_debug_get_instruction_pointer(debug_context *context, thread_id thread, void **ip, void **stackFrameAddress) argument
|
/haiku/src/tests/system/network/ipv6/ |
H A D | raw_server.cpp | 10 #include <netinet/ip.h> 40 if (address.ss_family == AF_INET && status >= sizeof(struct ip)) 41 p += sizeof(struct ip);
|
/haiku/src/libs/util/ |
H A D | realhostname.c | 49 realhostname(char *host, size_t hsize, const struct in_addr *ip) argument 56 hp = gethostbyaddr((const char *)ip, sizeof(*ip), AF_INET); 74 if (!memcmp(*hp->h_addr_list, ip, sizeof(*ip))) { 82 strncpy(host, inet_ntoa(*ip), hsize);
|
/haiku/headers/private/kernel/arch/x86/32/ |
H A D | iframe.h | 30 uint32 ip; member in struct:iframe
|
/haiku/src/add-ons/kernel/file_systems/netfs/shared/ |
H A D | NetAddress.cpp | 146 uint32 ip = GetIP(); local 149 ":%hu", ip >> 24, (ip >> 16) & 0xff, (ip >> 8) & 0xff, ip & 0xff, 153 ip >> 24, (ip >> 16) & 0xff, (ip >> 8) & 0xff, ip & 0xff);
|
/haiku/src/kits/network/libnetservices/ |
H A D | UrlSynchronousRequest.cpp | 63 BUrlSynchronousRequest::HostnameResolved(BUrlRequest*, const char* ip) argument 65 PRINT(("SynchronousRequest::HostnameResolved(%s)\n", ip));
|