Home
last modified time | relevance | path

Searched refs:LWIP_MIN (Results 1 – 14 of 14) sorted by relevance

/lk-master/external/lib/lwip/netif/ppp/
A Drandm.c130 n = LWIP_MIN(bufLen, RANDPOOLSZ); in avGenRand()
A Dmd5.c141 PPPDEBUG(LOG_INFO, ("MD5Update: %u:%.*H\n", inLen, LWIP_MIN(inLen, 20) * 2, inBuf)); in MD5Update()
A Dauth.c757 itime = LWIP_MIN(idle.xmit_idle, idle.recv_idle); in check_idle()
A Dppp_oe.c395 u16_t error_len = LWIP_MIN(len, sizeof(pppoe_error_tmp)-1); in pppoe_dispatch_disc_pkt()
A Dppp.c1671 pd, nb->len, LWIP_MIN(nb->len * 2, 40), nb->payload)); in pppInput()
A Dlcp.c1660 ppp_send_config(f->unit, LWIP_MIN(ao->mru, (ho->neg_mru? ho->mru: PPP_MRU)), in lcp_up()
/lk-master/external/lib/lwip/include/lwip/
A Ddef.h44 #define LWIP_MIN(x , y) (((x) < (y)) ? (x) : (y)) macro
A Dopt.h994 #define TCP_SNDLOWAT LWIP_MIN(LWIP_MAX(((TCP_SND_BUF)/2), (2 * TCP_MSS) + 1), (T…
/lk-master/external/lib/lwip/core/
A Dpbuf.c255 p->len = LWIP_MIN(length, PBUF_POOL_BUFSIZE_ALIGNED - LWIP_MEM_ALIGN_SIZE(offset)); in pbuf_alloc()
289 q->len = LWIP_MIN((u16_t)rem_len, PBUF_POOL_BUFSIZE_ALIGNED); in pbuf_alloc()
A Dtcp_out.c251 alloc = LWIP_MIN(max_length, LWIP_MEM_ALIGN_SIZE(length + TCP_OVERSIZE)); in tcp_pbuf_prealloc()
373 u16_t mss_local = LWIP_MIN(pcb->mss, pcb->snd_wnd_max/2); in tcp_write()
918 wnd = LWIP_MIN(pcb->snd_wnd, pcb->cwnd); in tcp_output()
A Dtcp.c583 if (TCP_SEQ_GEQ(new_right_edge, pcb->rcv_ann_right_edge + LWIP_MIN((TCP_WND / 2), pcb->mss))) { in tcp_update_rcv_ann_wnd()
864 eff_wnd = LWIP_MIN(pcb->cwnd, pcb->snd_wnd); in tcp_slowtmr()
1598 sendmss = LWIP_MIN(sendmss, mss_s); in tcp_eff_send_mss()
A Ddhcp.c1316 len = LWIP_MIN(namelen, available); in dhcp_option_hostname()
1415 decode_len = LWIP_MIN(len, 4 * DNS_MAX_SERVERS); in dhcp_parse_reply()
1455 copy_len = LWIP_MIN(decode_len, 4); in dhcp_parse_reply()
A Ddns.c905 namelen = LWIP_MIN(strlen(name), DNS_MAX_NAME_LENGTH-1); in dns_enqueue()
/lk-master/external/lib/lwip/api/
A Dsockets.c538 backlog = LWIP_MIN(LWIP_MAX(backlog, 0), 0xff); in lwip_listen()

Completed in 36 milliseconds