Searched refs:ihl (Results 101 - 125 of 150) sorted by relevance
123456
/asus-wl-520gu-7.0.1.45/src/linux/linux/net/ipv4/netfilter/ |
H A D | ip_conntrack_core.c | 144 else if (iph->ihl * 4 + 8 > len) 153 ret = protocol->pkt_to_tuple((u_int32_t *)iph + iph->ihl, 154 len - 4*iph->ihl, 522 hdr = (struct icmphdr *)((u_int32_t *)iph + iph->ihl); 524 datalen = skb->len - iph->ihl*4 - sizeof(*hdr); 526 if (skb->len < iph->ihl * 4 + sizeof(*hdr) + sizeof(*iph)) { 553 if (inner->ihl * 4 + 8 > datalen 556 inner->protocol, inner->ihl, 8,
|
H A D | ip_conntrack_ftp.c | 222 struct tcphdr *tcph = (void *)iph + iph->ihl * 4; 224 unsigned int tcplen = len - iph->ihl * 4;
|
H A D | ipchains_core.c | 431 for (opti = 0; opti < (ip->ihl - sizeof(struct iphdr) / 4); opti++) 582 struct tcphdr *tcp=(struct tcphdr *)((__u32 *)ip+ip->ihl); 583 struct udphdr *udp=(struct udphdr *)((__u32 *)ip+ip->ihl); 584 struct icmphdr *icmp=(struct icmphdr *)((__u32 *)ip+ip->ihl); 643 if (ntohs(ip->tot_len) < (ip->ihl<<2)+size_req) { 1328 if (ip->ihl != sizeof(struct iphdr) / sizeof(int)) { 1329 duprintf("ip_fw_ctl: ip->ihl=%d, want %d\n", 1330 ip->ihl, 1689 if (((struct iphdr *)phdr)->ihl * 4 < sizeof(struct iphdr)
|
H A D | ip_nat_proto_gre.c | 123 struct gre_hdr *greh = (struct gre_hdr *)((u_int32_t *)iph+iph->ihl);
|
H A D | ip_nat_tftp.c | 56 struct udphdr *udph = (void *)iph + iph->ihl * 4;
|
H A D | ip_conntrack_pptp.c | 507 struct tcphdr *tcph = (void *) iph + iph->ihl * 4; 508 u_int32_t tcplen = len - iph->ihl * 4;
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/net/ipv4/netfilter.noQoS/ |
H A D | ip_conntrack_core.c | 133 else if (iph->ihl * 4 + 8 > len) 142 ret = protocol->pkt_to_tuple((u_int32_t *)iph + iph->ihl, 143 len - 4*iph->ihl, 508 hdr = (struct icmphdr *)((u_int32_t *)iph + iph->ihl); 510 datalen = skb->len - iph->ihl*4 - sizeof(*hdr); 512 if (skb->len < iph->ihl * 4 + sizeof(*hdr) + sizeof(*iph)) { 539 if (inner->ihl * 4 + 8 > datalen 542 inner->protocol, inner->ihl, 8,
|
H A D | ip_conntrack_ftp.c | 222 struct tcphdr *tcph = (void *)iph + iph->ihl * 4; 224 unsigned int tcplen = len - iph->ihl * 4;
|
H A D | ip_conntrack_pptp.c | 422 struct tcphdr *tcph = (void *) iph + iph->ihl * 4; 423 u_int32_t tcplen = len - iph->ihl * 4;
|
H A D | ip_nat_pptp.c | 336 struct tcphdr *tcph = (void *) iph + iph->ihl*4; 337 unsigned int datalen = (*pskb)->len - iph->ihl*4 - tcph->doff*4;
|
H A D | ipchains_core.c | 431 for (opti = 0; opti < (ip->ihl - sizeof(struct iphdr) / 4); opti++) 582 struct tcphdr *tcp=(struct tcphdr *)((__u32 *)ip+ip->ihl); 583 struct udphdr *udp=(struct udphdr *)((__u32 *)ip+ip->ihl); 584 struct icmphdr *icmp=(struct icmphdr *)((__u32 *)ip+ip->ihl); 643 if (ntohs(ip->tot_len) < (ip->ihl<<2)+size_req) { 1328 if (ip->ihl != sizeof(struct iphdr) / sizeof(int)) { 1329 duprintf("ip_fw_ctl: ip->ihl=%d, want %d\n", 1330 ip->ihl, 1689 if (((struct iphdr *)phdr)->ihl * 4 < sizeof(struct iphdr)
|
H A D | ip_nat_proto_gre.c | 111 struct gre_hdr *greh = (struct gre_hdr *)((u_int32_t *)iph+iph->ihl);
|
H A D | ip_nat_tftp.c | 56 struct udphdr *udph = (void *)iph + iph->ihl * 4;
|
H A D | ip_conntrack_standalone.c | 221 || (*pskb)->nh.iph->ihl * 4 < sizeof(struct iphdr)) {
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/net/ipv4/ |
H A D | icmp.c | 444 skb_in->nh.raw + (iph->ihl<<2) 567 if (iph->ihl<5) { 637 if (!pskb_may_pull(skb, iph->ihl*4+8))
|
H A D | ipmr.c | 135 p.iph.ihl = 5; 530 int ihl = pkt->nh.iph->ihl<<2; local 548 Duplicate old header, fix ihl, length etc. 558 skb->nh.iph->ihl = sizeof(struct iphdr) >> 2; 568 skb->nh.iph = (struct iphdr *)skb_put(skb, ihl); 569 memcpy(skb->data,pkt->data,ihl); 1092 iph->ihl = 5; 1566 skb->nh.iph->ihl = sizeof(struct iphdr)>>2;
|
H A D | ipconfig.c | 672 h->ihl = 5; 678 h->check = ip_fast_csum((unsigned char *) h, h->ihl); 816 h->ihl != 5 || 818 ip_fast_csum((char *) h, h->ihl) != 0 ||
|
H A D | ipip.c | 350 int hlen = iph->ihl<<2; 637 iph->ihl = sizeof(struct iphdr)>>2; 706 p.iph.ihl != 5 || (p.iph.frag_off&htons(~IP_DF))) 872 iph->ihl = 5;
|
H A D | raw.c | 218 u8 *payload = skb->data + (iph->ihl << 2); 300 iph->check = ip_fast_csum((unsigned char *)iph, iph->ihl);
|
/asus-wl-520gu-7.0.1.45/src/router/busybox/ |
H A D | ping.c | 231 pkt = (struct icmp *) (packet + (iphdr->ihl << 2)); /* skip ip hdr */ 363 hlen = iphdr->ihl << 2;
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/net/core/ |
H A D | profile.c | 229 whitehole_iph.ihl = 5;
|
H A D | netfilter.c | 187 struct tcphdr *tcp=(struct tcphdr *)((__u32 *)ip+ip->ihl); 200 for (opti = 0; opti < (ip->ihl - sizeof(struct iphdr) / 4); opti++)
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/net/ipv6/ |
H A D | sit.c | 292 int hlen = iph->ihl<<2; 589 iph->ihl = sizeof(struct iphdr)>>2; 662 p.iph.ihl != 5 || (p.iph.frag_off&htons(~IP_DF))) 829 iph->ihl = 5;
|
/asus-wl-520gu-7.0.1.45/src/router/udhcpd/ |
H A D | clientpacket.c | 217 packet.ip.ihl != sizeof(packet.ip) >> 2 || packet.udp.dest != htons(CLIENT_PORT) ||
|
H A D | packet.c | 155 packet.ip.ihl = sizeof(packet.ip) >> 2;
|
Completed in 102 milliseconds
123456