| /components/net/lwip/lwip-1.4.1/src/include/ipv6/lwip/ |
| A D | ip_addr.h | 84 (ntohl(ipaddr->addr[0]) >> 16) & 0xffff, \ 85 ntohl(ipaddr->addr[0]) & 0xffff, \ 86 (ntohl(ipaddr->addr[1]) >> 16) & 0xffff, \ 87 ntohl(ipaddr->addr[1]) & 0xffff, \ 88 (ntohl(ipaddr->addr[2]) >> 16) & 0xffff, \ 89 ntohl(ipaddr->addr[2]) & 0xffff, \ 90 (ntohl(ipaddr->addr[3]) >> 16) & 0xffff, \ 91 ntohl(ipaddr->addr[3]) & 0xffff));
|
| A D | inet.h | 58 u32_t ntohl(u32_t n);
|
| /components/net/lwip/lwip-1.4.1/src/core/ipv6/ |
| A D | ip6.c | 371 (ntohl(iphdr->src.addr[0]) >> 16) & 0xffff, in ip_debug_print() 372 ntohl(iphdr->src.addr[0]) & 0xffff)); in ip_debug_print() 374 (ntohl(iphdr->src.addr[1]) >> 16) & 0xffff, in ip_debug_print() 375 ntohl(iphdr->src.addr[1]) & 0xffff)); in ip_debug_print() 377 (ntohl(iphdr->src.addr[2]) >> 16) & 0xffff, in ip_debug_print() 378 ntohl(iphdr->src.addr[2]) & 0xffff)); in ip_debug_print() 381 ntohl(iphdr->src.addr[3]) & 0xffff)); in ip_debug_print() 385 ntohl(iphdr->dest.addr[0]) & 0xffff)); in ip_debug_print() 388 ntohl(iphdr->dest.addr[1]) & 0xffff)); in ip_debug_print() 391 ntohl(iphdr->dest.addr[2]) & 0xffff)); in ip_debug_print() [all …]
|
| /components/net/lwip-dhcpd/ |
| A D | dhcp_server.c | 255 DHCPD_SERVER_IPADDR0 = (ntohl(addr.addr) >> 24) & 0xFF; in dhcpd_thread_entry() 256 DHCPD_SERVER_IPADDR1 = (ntohl(addr.addr) >> 16) & 0xFF; in dhcpd_thread_entry() 257 DHCPD_SERVER_IPADDR2 = (ntohl(addr.addr) >> 8) & 0xFF; in dhcpd_thread_entry() 258 DHCPD_SERVER_IPADDR3 = (ntohl(addr.addr) >> 0) & 0xFF; in dhcpd_thread_entry() 484 *dhcp_opt++ = (ntohl(dns_addr.addr) >> 24) & 0xFF; in dhcpd_thread_entry() 485 *dhcp_opt++ = (ntohl(dns_addr.addr) >> 16) & 0xFF; in dhcpd_thread_entry() 486 *dhcp_opt++ = (ntohl(dns_addr.addr) >> 8) & 0xFF; in dhcpd_thread_entry() 487 *dhcp_opt++ = (ntohl(dns_addr.addr) >> 0) & 0xFF; in dhcpd_thread_entry()
|
| A D | dhcp_server_raw.c | 256 ipaddr = (ntohl(dhcpserver->current.addr) + 1); in dhcp_client_alloc() 257 if (ipaddr > ntohl(dhcpserver->end.addr)) in dhcp_client_alloc() 259 ipaddr = ntohl(dhcpserver->start.addr); in dhcp_client_alloc()
|
| /components/net/lwip/lwip-1.4.1/src/include/lwip/ |
| A D | def.h | 73 #ifdef ntohl 74 #undef ntohl 80 #define ntohl(x) lwip_ntohl(x) macro
|
| /components/net/lwip/lwip-1.4.1/src/core/ |
| A D | tcp_out.c | 610 ntohl(seg->tcphdr->seqno), in tcp_write() 611 ntohl(seg->tcphdr->seqno) + TCP_TCPLEN(seg))); in tcp_write() 783 ntohl(seg->tcphdr->seqno), in tcp_enqueue_flags() 784 ntohl(seg->tcphdr->seqno) + TCP_TCPLEN(seg), in tcp_enqueue_flags() 958 ntohl(seg->tcphdr->seqno), pcb->lastack)); in tcp_output() 994 snd_nxt = ntohl(seg->tcphdr->seqno) + TCP_TCPLEN(seg); in tcp_output() 1010 if (TCP_SEQ_LT(ntohl(seg->tcphdr->seqno), ntohl(useg->tcphdr->seqno))) { in tcp_output() 1014 TCP_SEQ_LT(ntohl((*cur_seg)->tcphdr->seqno), ntohl(seg->tcphdr->seqno))) { in tcp_output() 1107 pcb->rtseq = ntohl(seg->tcphdr->seqno); in tcp_output_segment() 1297 TCP_SEQ_LT(ntohl((*cur_seg)->tcphdr->seqno), ntohl(seg->tcphdr->seqno))) { in tcp_rexmit() [all …]
|
| A D | tcp_in.c | 158 seqno = tcphdr->seqno = ntohl(tcphdr->seqno); in tcp_input() 159 ackno = tcphdr->ackno = ntohl(tcphdr->ackno); in tcp_input() 630 pcb->snd_nxt, ntohl(pcb->unacked->tcphdr->seqno))); in tcp_process() 633 && ackno == ntohl(pcb->unacked->tcphdr->seqno) + 1) { in tcp_process() 1002 ntohl(pcb->unacked->tcphdr->seqno): 0, in tcp_receive() 1009 TCP_SEQ_LEQ(ntohl(pcb->unacked->tcphdr->seqno) + in tcp_receive() 1012 ntohl(pcb->unacked->tcphdr->seqno), in tcp_receive() 1056 TCP_SEQ_BETWEEN(ackno, ntohl(pcb->unsent->tcphdr->seqno) + in tcp_receive() 1059 … ntohl(pcb->unsent->tcphdr->seqno), ntohl(pcb->unsent->tcphdr->seqno) + in tcp_receive() 1594 pcb->ts_recent = ntohl(tsval); in tcp_parseopt() [all …]
|
| A D | dhcp.c | 300 dhcp_option_long(dhcp, ntohl(ip4_addr_get_u32(&dhcp->offered_ip_addr))); in dhcp_select() 303 dhcp_option_long(dhcp, ntohl(ip4_addr_get_u32(&dhcp->server_ip_addr))); in dhcp_select() 843 dhcp_option_long(dhcp, ntohl(ip4_addr_get_u32(&dhcp->offered_ip_addr))); in dhcp_decline() 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() 1141 dhcp_option_long(dhcp, ntohl(ip4_addr_get_u32(&dhcp->offered_ip_addr))); in dhcp_reboot() 1467 value = ntohl(value); in dhcp_parse_reply() 1574 if (ntohl(reply_msg->xid) != dhcp->xid) { in dhcp_recv() [all …]
|
| A D | tcp.c | 1625 ntohl(tcphdr->seqno))); in tcp_debug_print() 1628 ntohl(tcphdr->ackno))); in tcp_debug_print()
|
| A D | dns.c | 820 pEntry->ttl = ntohl(ans.ttl); in dns_recv()
|
| /components/net/lwip/lwip-1.4.1/src/netif/ppp/ |
| A D | vj.c | 101 u32_t tmp = ntohl(f) + ((cp[1] << 8) | cp[2]); \ 105 u32_t tmp = ntohl(f) + (u32_t)*cp++; \ 290 if ((deltaL = ntohl(th->ackno) - ntohl(oth->ackno)) != 0) { in vj_compress_tcp() 299 if ((deltaL = ntohl(th->seqno) - ntohl(oth->seqno)) != 0) { in vj_compress_tcp() 517 tmp = ntohl(th->ackno) + i; in vj_uncompress_tcp() 519 tmp = ntohl(th->seqno) + i; in vj_uncompress_tcp() 526 tmp = ntohl(th->seqno) + ntohs(IPH_LEN(&cs->cs_ip)) - cs->cs_hlen; in vj_uncompress_tcp()
|
| A D | ipcp.c | 377 l = ntohl(val1); \ in ipcp_addci() 380 l = ntohl(val2); \ in ipcp_addci() 395 l = ntohl(addr); \ in ipcp_addci() 944 tl = ntohl(wo->hisaddr); in ipcp_reqci() 968 tl = ntohl(wo->ouraddr); in ipcp_reqci() 1007 tl = ntohl(wo->hisaddr); in ipcp_reqci() 1043 tl = ntohl(ao->dnsaddr[d]); in ipcp_reqci() 1065 tl = ntohl(ao->winsaddr[d]); in ipcp_reqci() 1182 tl = ntohl(wo->hisaddr); in ipcp_reqci()
|
| A D | auth.c | 1206 addr = ntohl(addr); in bad_ip_adrs()
|
| /components/net/lwip/lwip-2.0.3/src/include/lwip/ |
| A D | def.h | 111 #define ntohl(x) lwip_ntohl(x) macro
|
| /components/net/lwip/lwip-2.1.2/src/include/lwip/ |
| A D | def.h | 122 #define ntohl(x) lwip_ntohl(x) macro
|
| /components/dfs/dfs_v1/filesystems/nfs/rpc/ |
| A D | xdr_mem.c | 105 *lp = (int32_t) ntohl((*((int32_t *) (xdrs->x_private)))); in xdrmem_getlong()
|
| A D | xdr.h | 255 #define IXDR_GET_INT32(buf) ((int32_t)ntohl((uint32_t)*(buf)++))
|
| /components/net/netdev/include/ |
| A D | netdev_ipaddr.h | 84 #define ntohl(x) (uint32_t)PP_NTOHL(x) macro
|
| /components/net/lwip/lwip-1.4.1/src/core/ipv4/ |
| A D | autoip.c | 202 u32_t addr = ntohl(LWIP_AUTOIP_CREATE_SEED_ADDR(netif)); in autoip_create_addr()
|