Home
last modified time | relevance | path

Searched refs:ntohl (Results 1 – 13 of 13) sorted by relevance

/lib/liblwip/src/include/ipv6/lwip/
Dip_addr.h84 (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));
Dinet.h58 u32_t ntohl(u32_t n);
/lib/liblwip/src/core/ipv6/
Dip6.c371 (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()
380 (ntohl(iphdr->src.addr[3]) >> 16) & 0xffff, in ip_debug_print()
381 ntohl(iphdr->src.addr[3]) & 0xffff)); in ip_debug_print()
384 (ntohl(iphdr->dest.addr[0]) >> 16) & 0xffff, in ip_debug_print()
385 ntohl(iphdr->dest.addr[0]) & 0xffff)); in ip_debug_print()
[all …]
/lib/liblwip/src/include/lwip/
Ddef.h73 #ifdef ntohl
74 #undef ntohl
80 #define ntohl(x) lwip_ntohl(x) macro
/lib/liblwip/src/core/
Dtcp_out.c610 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()
930 ntohl(seg->tcphdr->seqno) - pcb->lastack + seg->len > wnd)) { in tcp_output()
957 ntohl(seg->tcphdr->seqno) - pcb->lastack + seg->len, in tcp_output()
958 ntohl(seg->tcphdr->seqno), pcb->lastack)); in tcp_output()
963 ntohl(seg->tcphdr->seqno) - pcb->lastack + seg->len <= wnd) { in tcp_output()
980 ntohl(seg->tcphdr->seqno) + seg->len - in tcp_output()
982 ntohl(seg->tcphdr->seqno), pcb->lastack, i)); in tcp_output()
[all …]
Dtcp_in.c158 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()
1004ntohl(pcb->unacked->tcphdr->seqno) + TCP_TCPLEN(pcb->unacked): 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()
1013 ntohl(pcb->unacked->tcphdr->seqno) + in tcp_receive()
1056 TCP_SEQ_BETWEEN(ackno, ntohl(pcb->unsent->tcphdr->seqno) + in tcp_receive()
[all …]
Ddhcp.c300 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 …]
Dtcp.c1625 ntohl(tcphdr->seqno))); in tcp_debug_print()
1628 ntohl(tcphdr->ackno))); in tcp_debug_print()
Ddns.c806 pEntry->ttl = ntohl(ans.ttl); in dns_recv()
/lib/liblwip/src/netif/ppp/
Dvj.c101 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()
Dipcp.c377 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()
Dauth.c1206 addr = ntohl(addr); in bad_ip_adrs()
/lib/liblwip/src/core/ipv4/
Dautoip.c202 u32_t addr = ntohl(LWIP_AUTOIP_CREATE_SEED_ADDR(netif)); in autoip_create_addr()