Searched refs:LWIP_MIN (Results 1 – 14 of 14) sorted by relevance
/lk-master/external/lib/lwip/netif/ppp/ |
A D | randm.c | 130 n = LWIP_MIN(bufLen, RANDPOOLSZ); in avGenRand()
|
A D | md5.c | 141 PPPDEBUG(LOG_INFO, ("MD5Update: %u:%.*H\n", inLen, LWIP_MIN(inLen, 20) * 2, inBuf)); in MD5Update()
|
A D | auth.c | 757 itime = LWIP_MIN(idle.xmit_idle, idle.recv_idle); in check_idle()
|
A D | ppp_oe.c | 395 u16_t error_len = LWIP_MIN(len, sizeof(pppoe_error_tmp)-1); in pppoe_dispatch_disc_pkt()
|
A D | ppp.c | 1671 pd, nb->len, LWIP_MIN(nb->len * 2, 40), nb->payload)); in pppInput()
|
A D | lcp.c | 1660 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 D | def.h | 44 #define LWIP_MIN(x , y) (((x) < (y)) ? (x) : (y)) macro
|
A D | opt.h | 994 #define TCP_SNDLOWAT LWIP_MIN(LWIP_MAX(((TCP_SND_BUF)/2), (2 * TCP_MSS) + 1), (T…
|
/lk-master/external/lib/lwip/core/ |
A D | pbuf.c | 255 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 D | tcp_out.c | 251 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 D | tcp.c | 583 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 D | dhcp.c | 1316 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 D | dns.c | 905 namelen = LWIP_MIN(strlen(name), DNS_MAX_NAME_LENGTH-1); in dns_enqueue()
|
/lk-master/external/lib/lwip/api/ |
A D | sockets.c | 538 backlog = LWIP_MIN(LWIP_MAX(backlog, 0), 0xff); in lwip_listen()
|
Completed in 29 milliseconds