Searched refs:IPH_HL (Results 1 – 9 of 9) sorted by relevance
142 register u_short hlen = IPH_HL(ip); in vj_compress_tcp()180 || *(long *)th != ((long *)&cs->cs_ip)[IPH_HL(&cs->cs_ip)]) { in vj_compress_tcp()201 && *(long *)th == ((long *)&cs->cs_ip)[IPH_HL(&cs->cs_ip)]) { in vj_compress_tcp()434 hlen = IPH_HL(ip) << 2; in vj_uncompress_uncomp()502 hlen = IPH_HL(&cs->cs_ip) << 2; in vj_uncompress_tcp()
102 if (p->tot_len < (IPH_HL(iphdr) * 4 + UDP_HLEN) || pbuf_header(p, -(s16_t)(IPH_HL(iphdr) * 4))) {305 pbuf_header(p, (s16_t)((IPH_HL(iphdr) * 4) + UDP_HLEN));313 pbuf_header(q, -(s16_t)((IPH_HL(iphdr) * 4) + UDP_HLEN));323 pbuf_header(p, -(s16_t)((IPH_HL(iphdr) * 4) + UDP_HLEN));345 pbuf_header(p, (IPH_HL(iphdr) * 4) + UDP_HLEN);
109 tcphdr = (struct tcp_hdr *)((u8_t *)p->payload + IPH_HL(iphdr) * 4); in tcp_input()116 if (pbuf_header(p, -((s16_t)(IPH_HL(iphdr) * 4))) || (p->tot_len < sizeof(struct tcp_hdr))) { in tcp_input()
341 len = ntohs(IPH_LEN(fraghdr)) - IPH_HL(fraghdr) * 4; in ip_reass_chain_frag_into_datagram_and_validate()491 if ((IPH_HL(fraghdr) * 4) != IP_HLEN) { in ip_reass()498 len = ntohs(IPH_LEN(fraghdr)) - IPH_HL(fraghdr) * 4; in ip_reass()
92 hlen = IPH_HL(iphdr) * 4; in icmp_input()
268 iphdr_hlen = IPH_HL(iphdr);828 IPH_HL(iphdr),
401 if (pbuf_header(p, -(s16_t)(IPH_HL(iphdr) * 4)) || (p->len < IGMP_MINLEN)) { in igmp_input()
145 #define IPH_HL(hdr) ((ntohs((hdr)->_v_hl_tos) >> 8) & 0x0f) macro
306 (IPH_HL(iphdr) << 2), in snprintf_ip_hdr()322 icmphdr = (struct icmp_echo_hdr *)((void *)iphdr + (IPH_HL(iphdr) << 2)); in snprintf_icmp_hdr()347 tcphdr = (struct tcp_hdr *)((void *)iphdr + (IPH_HL(iphdr) << 2)); in snprintf_tcp_hdr()373 udphdr = (struct udp_hdr *)((void *)iphdr + (IPH_HL(iphdr) << 2)); in snprintf_udp_hdr()