Home
last modified time | relevance | path

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

/lk-master/external/lib/lwip/include/ipv6/lwip/
A 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));
A Dinet.h58 u32_t ntohl(u32_t n);
/lk-master/external/lib/lwip/core/ipv6/
A 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()
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 …]
/lk-master/external/lib/lwip/include/lwip/
A Ddef.h73 #ifdef ntohl
74 #undef ntohl
80 #define ntohl(x) lwip_ntohl(x) macro
/lk-master/external/lib/lwip/core/
A 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()
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()
1291 TCP_SEQ_LT(ntohl((*cur_seg)->tcphdr->seqno), ntohl(seg->tcphdr->seqno))) { in tcp_rexmit()
[all …]
A 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()
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()
1059ntohl(pcb->unsent->tcphdr->seqno), ntohl(pcb->unsent->tcphdr->seqno) + in tcp_receive()
1594 pcb->ts_recent = ntohl(tsval); in tcp_parseopt()
[all …]
A 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 …]
A Dtcp.c1625 ntohl(tcphdr->seqno))); in tcp_debug_print()
1628 ntohl(tcphdr->ackno))); in tcp_debug_print()
A Ddns.c806 pEntry->ttl = ntohl(ans.ttl); in dns_recv()
/lk-master/external/lib/lwip/netif/ppp/
A 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()
A 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()
A Dauth.c1206 addr = ntohl(addr); in bad_ip_adrs()
/lk-master/external/platform/stellaris/ti-driverlib/driverlib/
A Dethernet.h101 #ifndef ntohl
102 #define ntohl(a) htonl((a)) macro
/lk-master/lib/libc/include/
A Dendian.h52 #define ntohl(n) BE32(n) macro
/lk-master/lib/minip/
A Dtcp.c165 …ntohs(header->source_port), ntohs(header->dest_port), ntohl(header->seq_num), ntohl(header->ack_nu… in dump_tcp_header()
371 header->seq_num = ntohl(header->seq_num); in tcp_input()
372 header->ack_num = ntohl(header->ack_num); in tcp_input()
/lk-master/external/lib/lwip/core/ipv4/
A Dautoip.c202 u32_t addr = ntohl(LWIP_AUTOIP_CREATE_SEED_ADDR(netif)); in autoip_create_addr()

Completed in 30 milliseconds