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 | 88 | include/linux/ip.h | __u8 ihl:4, |
ihl | 92 | include/linux/ip.h | ihl:4; |
ihl | 94 | include/linux/ip.h | __u8 ihl:4, |
ihl | 98 | include/linux/ip.h | ihl:4; |
ihl | 100 | include/linux/ip.h | __u8 ihl:4, |
ihl | 104 | include/linux/ip.h | ihl:4; |
ihl | 152 | net/inet/icmp.c | 4 * iph->ihl); |
ihl | 339 | net/inet/ip.c | iph->ihl = 5; |
ihl | 374 | net/inet/ip.c | while (!done && len < iph->ihl*4) switch(*buff) { |
ihl | 554 | net/inet/ip.c | iph->check = ip_fast_csum((unsigned char *)iph, iph->ihl); |
ihl | 747 | net/inet/ip.c | ihlen = (iph->ihl * sizeof(unsigned long)); |
ihl | 882 | net/inet/ip.c | iph->tot_len = htons((iph->ihl * sizeof(unsigned long)) + count); |
ihl | 902 | net/inet/ip.c | int i, ihl, end; |
ihl | 954 | net/inet/ip.c | ihl = (iph->ihl * sizeof(unsigned long)); |
ihl | 955 | net/inet/ip.c | end = offset + ntohs(iph->tot_len) - ihl; |
ihl | 961 | net/inet/ip.c | ptr = skb->data + dev->hard_header_len + ihl; |
ihl | 1109 | net/inet/ip.c | hlen = (iph->ihl * sizeof(unsigned long)); |
ihl | 1491 | 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 | 1526 | net/inet/ip.c | if (iph->ihl != 5) |
ihl | 1645 | net/inet/ip.c | skb->h.raw += iph->ihl*4; |
ihl | 1714 | 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; |