tag | line | file | source code |
ihl | 246 | drivers/net/slhc.c | th = (struct tcphdr *)(((unsigned char *)ip) + ip->ihl*4); |
ihl | 247 | drivers/net/slhc.c | hlen = ip->ihl*4 + th->doff*4; |
ihl | 330 | drivers/net/slhc.c | || ip->version != cs->cs_ip.version || ip->ihl != cs->cs_ip.ihl |
ihl | 335 | drivers/net/slhc.c | || (ip->ihl > 5 && memcmp(ip+1,cs->cs_ipopt,((ip->ihl)-5)*4) != 0) |
ihl | 455 | drivers/net/slhc.c | if (ip->ihl > 5) |
ihl | 456 | drivers/net/slhc.c | memcpy(cs->cs_ipopt, ip+1, ((ip->ihl) - 5) * 4); |
ihl | 522 | drivers/net/slhc.c | hdrlen = ip->ihl * 4 + thp->doff * 4; |
ihl | 595 | drivers/net/slhc.c | if (ip->ihl > 5) { |
ihl | 596 | drivers/net/slhc.c | memcpy(cp, cs->cs_ipopt, ((ip->ihl) - 5) * 4); |
ihl | 597 | drivers/net/slhc.c | cp += ((ip->ihl) - 5) * 4; |
ihl | 648 | drivers/net/slhc.c | thp = (struct tcphdr *)(((unsigned char *)ip) + ip->ihl*4); |
ihl | 659 | drivers/net/slhc.c | if (ip->ihl > 5) |
ihl | 660 | drivers/net/slhc.c | memcpy(cs->cs_ipopt, ip+1, ((ip->ihl) - 5) * 4); |
ihl | 663 | drivers/net/slhc.c | cs->cs_hsize = ip->ihl*2 + thp->doff*2; |
ihl | 76 | include/linux/ip.h | unsigned char ihl:4, |
ihl | 81 | include/linux/ip.h | ihl:4; |
ihl | 298 | net/inet/ip.c | iph->ihl = 5; |
ihl | 332 | net/inet/ip.c | while (!done && len < iph->ihl*4) switch(*buff) { |
ihl | 540 | net/inet/ip.c | return ip_fast_csum((unsigned char *)iph, iph->ihl); |
ihl | 550 | net/inet/ip.c | iph->check = ip_fast_csum((unsigned char *)iph, iph->ihl); |
ihl | 743 | net/inet/ip.c | ihlen = (iph->ihl * sizeof(unsigned long)); |
ihl | 878 | net/inet/ip.c | iph->tot_len = htons((iph->ihl * sizeof(unsigned long)) + count); |
ihl | 898 | net/inet/ip.c | int i, ihl, end; |
ihl | 950 | net/inet/ip.c | ihl = (iph->ihl * sizeof(unsigned long)); |
ihl | 951 | net/inet/ip.c | end = offset + ntohs(iph->tot_len) - ihl; |
ihl | 957 | net/inet/ip.c | ptr = skb->data + dev->hard_header_len + ihl; |
ihl | 1106 | net/inet/ip.c | hlen = (iph->ihl * sizeof(unsigned long)); |
ihl | 1457 | net/inet/ip.c | if (skb->len<sizeof(struct iphdr) || iph->ihl<5 || iph->version != 4 || ip_fast_csum((unsigned char *)iph, iph->ihl) !=0) |
ihl | 1476 | net/inet/ip.c | if (iph->ihl != 5) |
ihl | 1556 | net/inet/ip.c | skb->h.raw += iph->ihl*4; |
ihl | 1613 | net/inet/ip.c | (ntohs(iph->tot_len) - (iph->ihl * 4)), |
ihl | 1844 | net/inet/ip.c | th = (struct tcphdr *)(((char *)iph) + (iph->ihl << 2)); |
ihl | 115 | net/inet/raw.c | skb->len = len + skb->ip_hdr->ihl*sizeof(long); |
ihl | 247 | net/inet/tcp.c | header+=4*iph->ihl; |
ihl | 2260 | net/inet/tcp.c | th = (struct tcphdr *)(((char *)iph) +(iph->ihl << 2)); |
ihl | 102 | net/inet/udp.c | header += 4*ip->ihl; |