Lines Matching refs:chklen
334 u16_t chklen = lwip_ntohs(udphdr->len); in udp_input() local
335 if (chklen < sizeof(struct udp_hdr)) { in udp_input()
336 if (chklen == 0) { in udp_input()
339 chklen = p->tot_len; in udp_input()
347 p->tot_len, chklen, in udp_input()
776 u16_t chklen, chklen_hdr; in udp_sendto_if_src_chksum() local
779 chklen_hdr = chklen = pcb->chksum_len_tx; in udp_sendto_if_src_chksum()
780 if ((chklen < sizeof(struct udp_hdr)) || (chklen > q->tot_len)) { in udp_sendto_if_src_chksum()
781 if (chklen != 0) { in udp_sendto_if_src_chksum()
782 … LWIP_DEBUGF(UDP_DEBUG, ("udp_send: UDP LITE pcb->chksum_len is illegal: %"U16_F"\n", chklen)); in udp_sendto_if_src_chksum()
791 chklen = q->tot_len; in udp_sendto_if_src_chksum()
799 chklen = UDP_HLEN; in udp_sendto_if_src_chksum()
803 q->tot_len, chklen, src_ip, dst_ip); in udp_sendto_if_src_chksum()