Home
last modified time | relevance | path

Searched refs:IPH_HL (Results 1 – 9 of 9) sorted by relevance

/external/syslinux/core/lwip/src/netif/ppp/
Dvj.c142 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()
/external/syslinux/core/lwip/src/core/
Dudp.c102 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);
Dtcp_in.c109 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()
/external/syslinux/core/lwip/src/core/ipv4/
Dip_frag.c341 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()
Dicmp.c92 hlen = IPH_HL(iphdr) * 4; in icmp_input()
Dip.c268 iphdr_hlen = IPH_HL(iphdr);
828 IPH_HL(iphdr),
Digmp.c401 if (pbuf_header(p, -(s16_t)(IPH_HL(iphdr) * 4)) || (p->len < IGMP_MINLEN)) { in igmp_input()
/external/syslinux/core/lwip/src/include/ipv4/lwip/
Dip.h145 #define IPH_HL(hdr) ((ntohs((hdr)->_v_hl_tos) >> 8) & 0x0f) macro
/external/syslinux/core/lwip/src/netif/
Dundiif.c306 (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()