| /lib/liblwip/test/unit/etharp/ |
| D | test_etharp.c | 104 etharphdr->shwaddr.addr[k] = test_ethaddr2.addr[k]; in create_arp_response() 105 etharphdr->dhwaddr.addr[k] = test_ethaddr.addr[k]; in create_arp_response() 107 ethhdr->dest.addr[k] = test_ethaddr.addr[k]; in create_arp_response() 108 ethhdr->src.addr[k] = test_ethaddr2.addr[k]; in create_arp_response()
|
| /lib/liblwip/src/netif/ppp/ |
| D | ppp_oe.c | 156 MEMCPY(&sc->sc_dest, ethbroadcast.addr, sizeof(sc->sc_dest)); in pppoe_create() 508 MEMCPY(&sc->sc_dest, ethhdr->src.addr, sizeof(sc->sc_dest.addr)); in pppoe_dispatch_disc_pkt() 571 MEMCPY(shost, ((struct eth_hdr *)pb->payload)->src.addr, sizeof(shost)); in pppoe_data_input() 651 MEMCPY(ethhdr->dest.addr, sc->sc_dest.addr, sizeof(ethhdr->dest.addr)); in pppoe_output() 652 …MEMCPY(ethhdr->src.addr, ((struct eth_addr *)sc->sc_ethif->hwaddr)->addr, sizeof(ethhdr->src.addr)… in pppoe_output() 657 …sc->sc_dest.addr[0], sc->sc_dest.addr[1], sc->sc_dest.addr[2], sc->sc_dest.addr[3], sc->sc_dest.ad… in pppoe_output() 779 MEMCPY(&sc->sc_dest, ethbroadcast.addr, sizeof(sc->sc_dest)); in pppoe_timeout() 857 MEMCPY(&sc->sc_dest, ethbroadcast.addr, sizeof(sc->sc_dest)); in pppoe_do_disconnect() 883 MEMCPY(&sc->sc_dest, ethbroadcast.addr, sizeof(sc->sc_dest)); in pppoe_abort_connect() 962 MEMCPY(ethhdr->dest.addr, dest, sizeof(ethhdr->dest.addr)); in pppoe_send_padt() [all …]
|
| D | auth.c | 357 char *addr = *argv; 358 int l = strlen(addr); 366 BCOPY(addr, wp->word, l); 1177 auth_ip_addr(int unit, u32_t addr) in auth_ip_addr() argument 1179 return ip_addr_check(addr, addresses[unit]); in auth_ip_addr() 1183 ip_addr_check(u32_t addr, struct wordlist *addrs) in ip_addr_check() argument 1186 if (bad_ip_adrs(addr)) { in ip_addr_check() 1204 bad_ip_adrs(u32_t addr) in bad_ip_adrs() argument 1206 addr = ntohl(addr); in bad_ip_adrs() 1207 return (addr >> IN_CLASSA_NSHIFT) == IN_LOOPBACKNET in bad_ip_adrs() [all …]
|
| /sys/amd64/ |
| D | debug.c | 171 uint64_t addr = Debug_StrToInt(argv[1]); in Debug_SetBreakpoint() local 176 write_dr0(addr); in Debug_SetBreakpoint() 179 write_dr1(addr); in Debug_SetBreakpoint() 182 write_dr2(addr); in Debug_SetBreakpoint() 185 write_dr3(addr); in Debug_SetBreakpoint()
|
| D | lapic.c | 116 LAPIC_StartAP(uint8_t apicid, uint32_t addr) in LAPIC_StartAP() argument 123 cmosStartup[1] = addr >> 4; in LAPIC_StartAP() 135 LAPIC_Write(LAPIC_ICR_LO, LAPIC_ICR_STARTUP | (addr >> 12)); in LAPIC_StartAP() 138 LAPIC_Write(LAPIC_ICR_LO, LAPIC_ICR_STARTUP | (addr >> 12)); in LAPIC_StartAP()
|
| /sys/kern/ |
| D | debug.c | 81 Debug_GetValue(uintptr_t addr, int size, bool isSigned) in Debug_GetValue() argument 86 uint8_t *val = (uint8_t *)addr; in Debug_GetValue() 93 uint16_t *val = (uint16_t *)addr; in Debug_GetValue() 100 uint32_t *val = (uint32_t *)addr; in Debug_GetValue() 107 uint64_t *val = (uint64_t *)addr; in Debug_GetValue()
|
| D | syscall.c | 178 Syscall_MMap(uint64_t addr, uint64_t len, uint64_t prot) in Syscall_MMap() argument 183 status = PMap_AllocMap(cur->space, addr, len, PTE_W); in Syscall_MMap() 189 return addr; in Syscall_MMap() 194 Syscall_MUnmap(uint64_t addr, uint64_t len) in Syscall_MUnmap() argument 204 PMap_Unmap(cur->space, addr, len /= PGSIZE); in Syscall_MUnmap() 211 Syscall_MProtect(uint64_t addr, uint64_t len, uint64_t prot) in Syscall_MProtect() argument 219 Syscall_Read(uint64_t fd, uint64_t addr, uint64_t off, uint64_t length) in Syscall_Read() argument 228 status = (handle->read)(handle, (void *)addr, off, length); in Syscall_Read() 237 Syscall_Write(uint64_t fd, uint64_t addr, uint64_t off, uint64_t length) in Syscall_Write() argument 246 status = (handle->write)(handle, (void *)addr, off, length); in Syscall_Write()
|
| /lib/liblwip/src/include/lwip/ |
| D | api.h | 221 err_t netconn_getaddr(struct netconn *conn, ip_addr_t *addr, 226 err_t netconn_bind(struct netconn *conn, ip_addr_t *addr, u16_t port); 227 err_t netconn_connect(struct netconn *conn, ip_addr_t *addr, u16_t port); 236 ip_addr_t *addr, u16_t port); 250 err_t netconn_gethostbyname(const char *name, ip_addr_t *addr);
|
| D | mem.h | 116 #define LWIP_MEM_ALIGN(addr) ((void *)(((mem_ptr_t)(addr) + MEM_ALIGNMENT - 1) & ~(mem_ptr_t)(MEM_A… argument
|
| D | raw.h | 61 ip_addr_t *addr);
|
| D | api_msg.h | 139 ip_addr_t *addr; member
|
| D | udp.h | 88 ip_addr_t *addr, u16_t port);
|
| /sys/amd64/include/ |
| D | multiboot.h | 122 uint32_t addr; member 132 uint32_t addr; member 226 uint64_t addr; member
|
| D | amd64op.h | 104 static INLINE void wrmsr(uint32_t addr, uint64_t val) in wrmsr() argument 111 : "a" (eax), "c" (addr), "d" (edx)); in wrmsr() 114 static INLINE uint64_t rdmsr(uint32_t addr) in rdmsr() argument 120 : "c" (addr)); in rdmsr()
|
| D | lapic.h | 11 void LAPIC_StartAP(uint8_t apicid, uint32_t addr);
|
| /lib/liblwip/src/include/netif/ |
| D | etharp.h | 60 PACK_STRUCT_FIELD(u8_t addr[ETHARP_HWADDR_LEN]); 212 #define eth_addr_cmp(addr1, addr2) (memcmp((addr1)->addr, (addr2)->addr, ETHARP_HWADDR_LEN) == 0)
|
| /lib/liblwip/src/core/ipv4/ |
| D | igmp.c | 138 static struct igmp_group *igmp_lookup_group(struct netif *ifp, ip_addr_t *addr); 290 igmp_lookfor_group(struct netif *ifp, ip_addr_t *addr) in igmp_lookfor_group() argument 295 if ((group->netif == ifp) && (ip_addr_cmp(&(group->group_address), addr))) { in igmp_lookfor_group() 316 igmp_lookup_group(struct netif *ifp, ip_addr_t *addr) in igmp_lookup_group() argument 321 group = igmp_lookfor_group(ifp, addr); in igmp_lookup_group() 331 ip_addr_set(&(group->group_address), addr); in igmp_lookup_group() 342 ip_addr_debug_print(IGMP_DEBUG, addr); in igmp_lookup_group()
|
| D | ip.c | 168 u32_t addr = ip4_addr_get_u32(ip_current_dest_addr()); in ip_canforward() local 174 if ((p->flags & PBUF_FLAG_LLMCAST) && !IP_MULTICAST(addr)) { in ip_canforward() 179 if (IP_EXPERIMENTAL(addr)) { in ip_canforward() 182 if (IP_CLASSA(addr)) { in ip_canforward() 183 u32_t net = addr & IP_CLASSA_NET; in ip_canforward()
|
| /lib/liblwip/src/core/ipv6/ |
| D | inet6.c | 106 acc += ((u16_t *)src->addr)[i] & 0xffff; in inet_chksum_pseudo() 107 acc += ((u16_t *)dest->addr)[i] & 0xffff; in inet_chksum_pseudo()
|
| /lib/liblwip/src/api/ |
| D | api_msg.c | 79 ip_addr_t *addr) in recv_raw() argument 85 LWIP_UNUSED_ARG(addr); in recv_raw() 115 ip_addr_copy(buf->addr, *ip_current_src_addr()); in recv_raw() 145 ip_addr_t *addr, u16_t port) argument 178 ip_addr_set(&buf->addr, addr); 1130 if (ip_addr_isany(&msg->msg.b->addr)) { 1133 msg->err = raw_sendto(msg->conn->pcb.raw, msg->msg.b->p, &msg->msg.b->addr); 1140 if (ip_addr_isany(&msg->msg.b->addr)) { 1145 &msg->msg.b->addr, msg->msg.b->port, 1149 if (ip_addr_isany(&msg->msg.b->addr)) { [all …]
|
| D | sockets.c | 312 lwip_accept(int s, struct sockaddr *addr, socklen_t *addrlen) in lwip_accept() argument 362 if (NULL != addr) { in lwip_accept() 373 MEMCPY(addr, &sin, *addrlen); in lwip_accept() 565 ip_addr_t *addr; in lwip_recvfrom() local 672 addr = &fromaddr; in lwip_recvfrom() 673 netconn_getaddr(sock->conn, addr, &port, 0); in lwip_recvfrom() 675 addr = netbuf_fromaddr((struct netbuf *)buf); in lwip_recvfrom() 683 inet_addr_from_ipaddr(&sin.sin_addr, addr); in lwip_recvfrom() 692 ip_addr_debug_print(SOCKETS_DEBUG, addr); in lwip_recvfrom() 697 addr = &fromaddr; in lwip_recvfrom() [all …]
|
| /sys/include/ |
| D | kdebug.h | 24 uint64_t Debug_GetValue(uintptr_t addr, int size, bool isSigned);
|
| /lib/liblwip/src/include/ipv6/lwip/ |
| D | inet.h | 50 s8_t inet_aton(const char *cp, struct in_addr *addr);
|
| /lib/liblwip/src/include/ipv4/lwip/ |
| D | igmp.h | 94 struct igmp_group *igmp_lookfor_group(struct netif *ifp, ip_addr_t *addr);
|
| /lib/liblwip/src/core/ |
| D | dhcp.c | 160 static void dhcp_recv(void *arg, struct udp_pcb *pcb, struct pbuf *p, ip_addr_t *addr, u16_t port); 803 void dhcp_arp_reply(struct netif *netif, ip_addr_t *addr) in dhcp_arp_reply() argument 810 ip4_addr_get_u32(addr))); in dhcp_arp_reply() 813 if (ip_addr_cmp(addr, &netif->dhcp->offered_ip_addr)) { in dhcp_arp_reply() 1038 dhcp_option_long(dhcp, ntohl(dhcp->offered_ip_addr.addr)); in dhcp_renew() 1043 dhcp_option_long(dhcp, ntohl(dhcp->server_ip_addr.addr)); in dhcp_renew() 1096 dhcp_option_long(dhcp, ntohl(dhcp->offered_ip_addr.addr)); in dhcp_rebind() 1099 dhcp_option_long(dhcp, ntohl(dhcp->server_ip_addr.addr)); in dhcp_rebind() 1537 dhcp_recv(void *arg, struct udp_pcb *pcb, struct pbuf *p, ip_addr_t *addr, u16_t port) in dhcp_recv() argument 1545 ip4_addr1_16(addr), ip4_addr2_16(addr), ip4_addr3_16(addr), ip4_addr4_16(addr), port)); in dhcp_recv() [all …]
|