Searched refs:iphdr_hlen (Results 1 – 1 of 1) sorted by relevance
246 u16_t iphdr_hlen; local268 iphdr_hlen = IPH_HL(iphdr);270 iphdr_hlen *= 4;275 if ((iphdr_hlen > p->len) || (iphdr_len > p->tot_len)) {276 if (iphdr_hlen > p->len) {279 iphdr_hlen, p->len));296 if (inet_chksum(iphdr, iphdr_hlen) != 0) {299 ("Checksum (0x%"X16_F") failed, IP packet dropped.\n", inet_chksum(iphdr, iphdr_hlen)));388 struct udp_hdr *udphdr = (struct udp_hdr *)((u8_t *)iphdr + iphdr_hlen);464 if((iphdr_hlen > IP_HLEN) && (IPH_PROTO(iphdr) != IP_PROTO_IGMP)) {[all …]