tag | line | file | source code |
ihl | 244 | drivers/net/slhc.c | th = (struct tcphdr *)(((unsigned char *)ip) + ip->ihl*4); |
ihl | 245 | drivers/net/slhc.c | hlen = ip->ihl*4 + th->doff*4; |
ihl | 331 | drivers/net/slhc.c | || ip->version != cs->cs_ip.version || ip->ihl != cs->cs_ip.ihl |
ihl | 336 | drivers/net/slhc.c | || (ip->ihl > 5 && memcmp(ip+1,cs->cs_ipopt,((ip->ihl)-5)*4) != 0) |
ihl | 461 | drivers/net/slhc.c | if (ip->ihl > 5) |
ihl | 462 | drivers/net/slhc.c | memcpy(cs->cs_ipopt, ip+1, ((ip->ihl) - 5) * 4); |
ihl | 531 | drivers/net/slhc.c | hdrlen = ip->ihl * 4 + thp->doff * 4; |
ihl | 611 | drivers/net/slhc.c | if (ip->ihl > 5) { |
ihl | 612 | drivers/net/slhc.c | memcpy(cp, cs->cs_ipopt, ((ip->ihl) - 5) * 4); |
ihl | 613 | drivers/net/slhc.c | cp += ((ip->ihl) - 5) * 4; |
ihl | 665 | drivers/net/slhc.c | thp = (struct tcphdr *)(((unsigned char *)ip) + ip->ihl*4); |
ihl | 676 | drivers/net/slhc.c | if (ip->ihl > 5) |
ihl | 677 | drivers/net/slhc.c | memcpy(cs->cs_ipopt, ip+1, ((ip->ihl) - 5) * 4); |
ihl | 680 | drivers/net/slhc.c | cs->cs_hsize = ip->ihl*2 + thp->doff*2; |
ihl | 88 | drivers/net/slip.c | th = (struct tcphdr *) (ptr + ip->ihl * 4); |
ihl | 104 | drivers/net/slip.c | dlen, ip->ihl, ip->version, ip->ttl, ip->protocol); |
ihl | 66 | include/linux/ip.h | unsigned char ihl:4, |
ihl | 83 | net/inet/ip.c | ip->ihl, ip->version, ip->tos, ntohs(ip->tot_len)); |
ihl | 94 | net/inet/ip.c | len = ntohs(ip->tot_len) - (4 * ip->ihl); |
ihl | 265 | net/inet/ip.c | iph->ihl = 5; |
ihl | 300 | net/inet/ip.c | while (!done && len < iph->ihl*4) switch(*buff) { |
ihl | 499 | net/inet/ip.c | return ip_fast_csum((unsigned char *)iph, iph->ihl); |
ihl | 507 | net/inet/ip.c | iph->check = ip_fast_csum((unsigned char *)iph, iph->ihl); |
ihl | 675 | net/inet/ip.c | ihlen = (iph->ihl * sizeof(unsigned long)); |
ihl | 798 | net/inet/ip.c | iph->tot_len = htons((iph->ihl * sizeof(unsigned long)) + count); |
ihl | 812 | net/inet/ip.c | int i, ihl, end; |
ihl | 849 | net/inet/ip.c | ihl = (iph->ihl * sizeof(unsigned long)); |
ihl | 850 | net/inet/ip.c | end = offset + ntohs(iph->tot_len) - ihl; |
ihl | 853 | net/inet/ip.c | ptr = ((unsigned char *) (skb + 1)) + dev->hard_header_len + ihl; |
ihl | 969 | net/inet/ip.c | hlen = (iph->ihl * sizeof(unsigned long)); |
ihl | 1198 | 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 | 1207 | net/inet/ip.c | if (iph->ihl != 5) { /* Fast path for the typical optionless IP packet. */ |
ihl | 1269 | net/inet/ip.c | skb->h.raw += iph->ihl*4; |
ihl | 1308 | net/inet/ip.c | (ntohs(iph->tot_len) - (iph->ihl * 4)), |
ihl | 202 | net/inet/tcp.c | header+=4*iph->ihl; |
ihl | 102 | net/inet/udp.c | header += 4*ip->ihl; |