Lines Matching refs:chklen
354 u16_t chklen = lwip_ntohs(udphdr->len);
355 if (chklen < sizeof(struct udp_hdr)) {
356 if (chklen == 0) {
359 chklen = p->tot_len;
367 p->tot_len, chklen,
848 u16_t chklen, chklen_hdr;
851 chklen_hdr = chklen = pcb->chksum_len_tx;
852 if ((chklen < sizeof(struct udp_hdr)) || (chklen > q->tot_len)) {
853 if (chklen != 0) {
854 LWIP_DEBUGF(UDP_DEBUG, ("udp_send: UDP LITE pcb->chksum_len is illegal: %"U16_F"\n", chklen));
863 chklen = q->tot_len;
871 chklen = UDP_HLEN;
875 q->tot_len, chklen, src_ip, dst_ip);