Home
last modified time | relevance | path

Searched refs:lwip_ntohl (Results 1 – 18 of 18) sorted by relevance

/third_party/lwip/src/include/lwip/prot/
Dip6.h97 #define IP6H_V(hdr) ((lwip_ntohl((hdr)->_v_tc_fl) >> 28) & 0x0f)
98 #define IP6H_TC(hdr) ((lwip_ntohl((hdr)->_v_tc_fl) >> 20) & 0xff)
99 #define IP6H_FL(hdr) (lwip_ntohl((hdr)->_v_tc_fl) & 0x000fffff)
227 #define IP6_FRAG_ID(hdr) (lwip_ntohl((hdr)->_identification))
/third_party/lwip/src/include/lwip/
Ddef.h89 #define lwip_ntohl(x) ((u32_t)(x)) macro
103 #define lwip_ntohl(x) lwip_htonl(x)
122 #define ntohl(x) lwip_ntohl(x)
/third_party/lwip/src/netif/ppp/
Dvj.c98 u32_t tmp_ = lwip_ntohl(f) + ((cp[1] << 8) | cp[2]); \
102 u32_t tmp_ = lwip_ntohl(f) + (u32_t)*cp++; \
320 if ((deltaL = lwip_ntohl(th->ackno) - lwip_ntohl(oth->ackno)) != 0) { in vj_compress_tcp()
329 if ((deltaL = lwip_ntohl(th->seqno) - lwip_ntohl(oth->seqno)) != 0) { in vj_compress_tcp()
550 tmp = lwip_ntohl(th->ackno) + i; in vj_uncompress_tcp()
552 tmp = lwip_ntohl(th->seqno) + i; in vj_uncompress_tcp()
559 tmp = lwip_ntohl(th->seqno) + lwip_ntohs(IPH_LEN(&cs->cs_ip)) - cs->cs_hlen; in vj_uncompress_tcp()
Dipcp.c817 l = lwip_ntohl(val1); \ in ipcp_addci()
819 l = lwip_ntohl(val2); \ in ipcp_addci()
850 l = lwip_ntohl(val); \ in ipcp_addci()
864 l = lwip_ntohl(addr); \ in ipcp_addci()
879 l = lwip_ntohl(addr); \ in ipcp_addci()
1576 tl = lwip_ntohl(wo->hisaddr); in ipcp_reqci()
1599 tl = lwip_ntohl(wo->ouraddr); in ipcp_reqci()
1632 tl = lwip_ntohl(wo->hisaddr); in ipcp_reqci()
1663 tl = lwip_ntohl(ao->dnsaddr[d]); in ipcp_reqci()
1685 tl = lwip_ntohl(ao->winsaddr[d]); in ipcp_reqci()
[all …]
Dauth.c2127 ah = lwip_ntohl(a);
2153 a = lwip_htonl((lwip_ntohl(a) & mask) + offset);
2237 addr = lwip_ntohl(addr);
Dipv6cp.c1096 eui64_setlo32(wo->ourid, lwip_ntohl(ipcp_wantoptions[0].ouraddr));
1107 eui64_setlo32(wo->hisid, lwip_ntohl(ipcp_wantoptions[0].hisaddr));
Dmultilink.c472 addr = lwip_ntohl(addr);
Dutils.c270 ip = lwip_ntohl(ip); in ppp_vslprintf()
/third_party/lwip/src/core/
Dtcp_out.c690 lwip_ntohl(seg->tcphdr->seqno), in tcp_write()
691 lwip_ntohl(seg->tcphdr->seqno) + TCP_TCPLEN(seg))); in tcp_write()
914 …seg = tcp_create_segment(pcb, p, remainder_flags, lwip_ntohl(useg->tcphdr->seqno) + split, optflag… in tcp_split_unsent_seg()
1095 lwip_ntohl(seg->tcphdr->seqno), in tcp_enqueue_flags()
1096 lwip_ntohl(seg->tcphdr->seqno) + TCP_TCPLEN(seg), in tcp_enqueue_flags()
1286 lwip_ntohl(seg->tcphdr->seqno) - pcb->lastack + seg->len, in tcp_output()
1287 lwip_ntohl(seg->tcphdr->seqno), pcb->lastack)); in tcp_output()
1305 if (lwip_ntohl(seg->tcphdr->seqno) - pcb->lastack + seg->len > wnd) { in tcp_output()
1333 lwip_ntohl(seg->tcphdr->seqno) - pcb->lastack + seg->len <= wnd) { in tcp_output()
1350 lwip_ntohl(seg->tcphdr->seqno) + seg->len - in tcp_output()
[all …]
Dtcp_in.c230 seqno = tcphdr->seqno = lwip_ntohl(tcphdr->seqno);
231 ackno = tcphdr->ackno = lwip_ntohl(tcphdr->ackno);
856 pcb->snd_nxt, lwip_ntohl(pcb->unacked->tcphdr->seqno)));
1098 TCP_SEQ_LEQ(lwip_ntohl(seg_list->tcphdr->seqno) +
1101 lwip_ntohl(seg_list->tcphdr->seqno),
1102 lwip_ntohl(seg_list->tcphdr->seqno) + TCP_TCPLEN(seg_list),
1278 lwip_ntohl(pcb->unacked->tcphdr->seqno) : 0,
1280lwip_ntohl(pcb->unacked->tcphdr->seqno) + TCP_TCPLEN(pcb->unacked) : 0));
1325 (TCP_SEQ_LEQ(pcb->rto_end, lwip_ntohl(pcb->unsent->tcphdr->seqno)))) {
1328 } else if (TCP_SEQ_LEQ(pcb->rto_end, lwip_ntohl(pcb->unacked->tcphdr->seqno))) {
[all …]
Ddns.c1384 dns_correct_response(i, lwip_ntohl(ans.ttl)); in dns_recv()
1404 dns_correct_response(i, lwip_ntohl(ans.ttl)); in dns_recv()
Dtcp.c2413 lwip_ntohl(tcphdr->seqno))); in tcp_debug_print()
2416 lwip_ntohl(tcphdr->ackno))); in tcp_debug_print()
/third_party/lwip/src/apps/sntp/
Dsntp.c170 SNTP_SEC_FRAC_TO_S64(lwip_ntohl((t).sec), lwip_ntohl((t).frac))
291 sec = (s32_t)lwip_ntohl(timestamps->xmit.sec); in sntp_process()
292 frac = lwip_ntohl(timestamps->xmit.frac); in sntp_process()
/third_party/lwip/src/core/ipv4/
Ddhcp.c391 …options_out_len = dhcp_option_long(options_out_len, msg_out->options, lwip_ntohl(ip4_addr_get_u32(… in dhcp_select()
394 …options_out_len = dhcp_option_long(options_out_len, msg_out->options, lwip_ntohl(ip4_addr_get_u32(… in dhcp_select()
950 …options_out_len = dhcp_option_long(options_out_len, msg_out->options, lwip_ntohl(ip4_addr_get_u32(… in dhcp_decline()
1280 …options_out_len = dhcp_option_long(options_out_len, msg_out->options, lwip_ntohl(ip4_addr_get_u32(… in dhcp_reboot()
1356 …options_out_len = dhcp_option_long(options_out_len, msg_out->options, lwip_ntohl(ip4_addr_get_u32(… in dhcp_release_and_stop()
1678 value = lwip_ntohl(value); in dhcp_parse_reply()
1800 if (lwip_ntohl(reply_msg->xid) != dhcp->xid) { in dhcp_recv()
1802 …nsaction id mismatch reply_msg->xid(%"X32_F")!=dhcp->xid(%"X32_F")\n", lwip_ntohl(reply_msg->xid),… in dhcp_recv()
Dautoip.c177 u32_t addr = lwip_ntohl(LWIP_AUTOIP_CREATE_SEED_ADDR(netif)); in autoip_create_addr()
/third_party/lwip/src/netif/
Dlowpan6_common.c70 …if ((ip6addr->addr[3] & PP_HTONL(0x0000ffff)) == lwip_ntohl((mac_addr->addr[0] << 8) | mac_addr->… in lowpan6_get_address_mode()
75 …if ((ip6addr->addr[2] == lwip_ntohl(((mac_addr->addr[0] ^ 2) << 24) | (mac_addr->addr[1] << 16) | … in lowpan6_get_address_mode()
76 …(ip6addr->addr[3] == lwip_ntohl((mac_addr->addr[4] << 24) | (mac_addr->addr[5] << 16) | mac_addr->… in lowpan6_get_address_mode()
/third_party/lwip/test/unit/tcp/
Dtest_tcp.c127 …ip_addr_set_ip4_u32_val(src_addr, lwip_htonl(lwip_ntohl(ip_addr_get_ip4_u32(&lpcb->local_ip)) + 1)… in START_TEST()
/third_party/lwip/src/apps/mdns/
Dmdns.c1151 answer->ttl = lwip_ntohl(ttl); in mdns_read_answer()