tag | line | file | source code |
ihl | 255 | drivers/net/slhc.c | th = (struct tcphdr *)(((unsigned char *)ip) + ip->ihl*4); |
ihl | 256 | drivers/net/slhc.c | hlen = ip->ihl*4 + th->doff*4; |
ihl | 339 | drivers/net/slhc.c | || ip->version != cs->cs_ip.version || ip->ihl != cs->cs_ip.ihl |
ihl | 344 | drivers/net/slhc.c | || (ip->ihl > 5 && memcmp(ip+1,cs->cs_ipopt,((ip->ihl)-5)*4) != 0) |
ihl | 464 | drivers/net/slhc.c | if (ip->ihl > 5) |
ihl | 465 | 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 | 604 | drivers/net/slhc.c | if (ip->ihl > 5) { |
ihl | 605 | drivers/net/slhc.c | memcpy(cp, cs->cs_ipopt, ((ip->ihl) - 5) * 4); |
ihl | 606 | drivers/net/slhc.c | cp += ((ip->ihl) - 5) * 4; |
ihl | 657 | drivers/net/slhc.c | thp = (struct tcphdr *)(((unsigned char *)ip) + ip->ihl*4); |
ihl | 668 | drivers/net/slhc.c | if (ip->ihl > 5) |
ihl | 669 | drivers/net/slhc.c | memcpy(cs->cs_ipopt, ip+1, ((ip->ihl) - 5) * 4); |
ihl | 672 | 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 | 301 | net/inet/ip.c | iph->ihl = 5; |
ihl | 335 | net/inet/ip.c | while (!done && len < iph->ihl*4) switch(*buff) { |
ihl | 543 | net/inet/ip.c | return ip_fast_csum((unsigned char *)iph, iph->ihl); |
ihl | 553 | net/inet/ip.c | iph->check = ip_fast_csum((unsigned char *)iph, iph->ihl); |
ihl | 746 | net/inet/ip.c | ihlen = (iph->ihl * sizeof(unsigned long)); |
ihl | 881 | net/inet/ip.c | iph->tot_len = htons((iph->ihl * sizeof(unsigned long)) + count); |
ihl | 901 | net/inet/ip.c | int i, ihl, end; |
ihl | 953 | net/inet/ip.c | ihl = (iph->ihl * sizeof(unsigned long)); |
ihl | 954 | net/inet/ip.c | end = offset + ntohs(iph->tot_len) - ihl; |
ihl | 960 | net/inet/ip.c | ptr = skb->data + dev->hard_header_len + ihl; |
ihl | 1108 | net/inet/ip.c | hlen = (iph->ihl * sizeof(unsigned long)); |
ihl | 1459 | 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 | 1478 | net/inet/ip.c | if (iph->ihl != 5) |
ihl | 1562 | net/inet/ip.c | skb->h.raw += iph->ihl*4; |
ihl | 1603 | net/inet/ip.c | (ntohs(iph->tot_len) - (iph->ihl * 4)), |
ihl | 1834 | net/inet/ip.c | th = (struct tcphdr *)(((char *)iph) + (iph->ihl << 2)); |
ihl | 119 | net/inet/raw.c | skb->len = len + skb->ip_hdr->ihl*sizeof(long); |
ihl | 314 | net/inet/tcp.c | header+=4*iph->ihl; |
ihl | 2470 | net/inet/tcp.c | th = (struct tcphdr *)(((char *)iph) +(iph->ihl << 2)); |
ihl | 104 | net/inet/udp.c | header += 4*ip->ihl; |