tag | line | file | source code |
ihl | 267 | drivers/net/slhc.c | th = (struct tcphdr *)(((unsigned char *)ip) + ip->ihl*4); |
ihl | 268 | drivers/net/slhc.c | hlen = ip->ihl*4 + th->doff*4; |
ihl | 351 | drivers/net/slhc.c | || ip->version != cs->cs_ip.version || ip->ihl != cs->cs_ip.ihl |
ihl | 356 | drivers/net/slhc.c | || (ip->ihl > 5 && memcmp(ip+1,cs->cs_ipopt,((ip->ihl)-5)*4) != 0) |
ihl | 476 | drivers/net/slhc.c | if (ip->ihl > 5) |
ihl | 477 | drivers/net/slhc.c | memcpy(cs->cs_ipopt, ip+1, ((ip->ihl) - 5) * 4); |
ihl | 543 | drivers/net/slhc.c | hdrlen = ip->ihl * 4 + thp->doff * 4; |
ihl | 616 | drivers/net/slhc.c | if (ip->ihl > 5) { |
ihl | 617 | drivers/net/slhc.c | memcpy(cp, cs->cs_ipopt, ((ip->ihl) - 5) * 4); |
ihl | 618 | drivers/net/slhc.c | cp += ((ip->ihl) - 5) * 4; |
ihl | 621 | drivers/net/slhc.c | ((struct iphdr *)icp)->check = ip_fast_csum(icp, ((struct iphdr*)icp)->ihl); |
ihl | 664 | drivers/net/slhc.c | if (ip_fast_csum(icp, ip->ihl)) { |
ihl | 669 | drivers/net/slhc.c | thp = (struct tcphdr *)(((unsigned char *)ip) + ip->ihl*4); |
ihl | 680 | drivers/net/slhc.c | if (ip->ihl > 5) |
ihl | 681 | drivers/net/slhc.c | memcpy(cs->cs_ipopt, ip+1, ((ip->ihl) - 5) * 4); |
ihl | 684 | drivers/net/slhc.c | cs->cs_hsize = ip->ihl*2 + thp->doff*2; |
ihl | 76 | include/linux/ip.h | __u8 ihl:4, |
ihl | 80 | include/linux/ip.h | ihl:4; |
ihl | 152 | net/inet/icmp.c | 4 * iph->ihl); |
ihl | 340 | net/inet/ip.c | iph->ihl = 5; |
ihl | 375 | net/inet/ip.c | while (!done && len < iph->ihl*4) switch(*buff) { |
ihl | 555 | net/inet/ip.c | iph->check = ip_fast_csum((unsigned char *)iph, iph->ihl); |
ihl | 748 | net/inet/ip.c | ihlen = (iph->ihl * sizeof(unsigned long)); |
ihl | 883 | net/inet/ip.c | iph->tot_len = htons((iph->ihl * sizeof(unsigned long)) + count); |
ihl | 903 | net/inet/ip.c | int i, ihl, end; |
ihl | 955 | net/inet/ip.c | ihl = (iph->ihl * sizeof(unsigned long)); |
ihl | 956 | net/inet/ip.c | end = offset + ntohs(iph->tot_len) - ihl; |
ihl | 962 | net/inet/ip.c | ptr = skb->data + dev->hard_header_len + ihl; |
ihl | 1110 | net/inet/ip.c | hlen = (iph->ihl * sizeof(unsigned long)); |
ihl | 1492 | 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 | 1527 | net/inet/ip.c | if (iph->ihl != 5) |
ihl | 1646 | net/inet/ip.c | skb->h.raw += iph->ihl*4; |
ihl | 1715 | net/inet/ip.c | (ntohs(iph->tot_len) - (iph->ihl * 4)), |
ihl | 152 | net/inet/ip_fw.c | struct tcphdr *tcp=(struct tcphdr *)((unsigned long *)ip+ip->ihl); |
ihl | 153 | net/inet/ip_fw.c | struct udphdr *udp=(struct udphdr *)((unsigned long *)ip+ip->ihl); |
ihl | 851 | net/inet/ip_fw.c | if ( ip->ihl != sizeof(struct iphdr) / sizeof(int)) |
ihl | 854 | net/inet/ip_fw.c | printf("ip_fw_ctl: ip->ihl=%d, want %d\n",ip->ihl, |
ihl | 434 | net/inet/tcp.c | th = (struct tcphdr *)(((char *)iph) + (iph->ihl << 2)); |
ihl | 760 | net/inet/tcp.c | header+=4*iph->ihl; |
ihl | 3077 | net/inet/tcp.c | th = (struct tcphdr *)(((char *)iph) +(iph->ihl << 2)); |
ihl | 106 | net/inet/udp.c | header += 4*ip->ihl; |