/asus-wl-520gu-7.0.1.45/src/linux/linux/net/ipv4/netfilter.noQoS/ |
H A D | ip_fw_compat_redir.c | 88 + iph->ihl); 128 + iph->ihl); 172 + iph->ihl); 175 if (skb->len < iph->ihl*4 + sizeof(*udph)) 193 + iph->ihl); 198 if (skb->len < iph->ihl*4 + sizeof(*tcph)) 246 + iph->ihl); 253 if (skb->len < iph->ihl*4 + sizeof(*tcph)) 274 + iph->ihl); 281 if (skb->len < iph->ihl* [all...] |
H A D | ipt_REJECT.c | 46 || oldskb->len < (oldskb->nh.iph->ihl<<2) + sizeof(struct tcphdr)) 49 otcph = (struct tcphdr *)((u_int32_t*)oldskb->nh.iph + oldskb->nh.iph->ihl); 50 otcplen = oldskb->len - oldskb->nh.iph->ihl*4; 78 tcph = (struct tcphdr *)((u_int32_t*)nskb->nh.iph + nskb->nh.iph->ihl); 90 skb_trim(nskb, nskb->nh.iph->ihl*4 + sizeof(struct tcphdr)); 129 nskb->nh.iph->ihl); 190 int datalen = skb_in->len - (iph->ihl<<2); 191 udph = (struct udphdr *)((char *)iph + (iph->ihl<<2)); 203 icmph = (struct icmphdr *)((char *)iph + (iph->ihl<<2)); 248 iph->ihl [all...] |
H A D | ipt_unclean.c | 117 if (datalen - 8 < inner->ihl*4 + 8) { 162 if ((arg >> 24) >= iph->ihl*4) { 396 u_int8_t *endhdr = (u_int8_t *)iph + iph->ihl * 4; 405 if (length < sizeof(struct iphdr) || length < iph->ihl * 4) { 411 protoh = (void *)iph + iph->ihl * 4; 412 datalen = length - iph->ihl * 4; 420 for (i = sizeof(struct iphdr); i < iph->ihl * 4; ) { 437 else if (i+1 >= iph->ihl * 4) { 510 if (offset && offset * 8 < MIN_LIKELY_MTU - iph->ihl * 4) { 512 MIN_LIKELY_MTU - iph->ihl * [all...] |
H A D | ip_conntrack_proto_tcp.c | 150 struct tcphdr *tcph = (struct tcphdr *)((u_int32_t *)iph + iph->ihl); 154 if (len < (iph->ihl + tcph->doff) * 4) { 212 struct tcphdr *tcph = (struct tcphdr *)((u_int32_t *)iph + iph->ihl); 233 struct tcphdr *tcph = (struct tcphdr *)((u_int32_t *)iph + iph->ihl); 236 datalen = (*pskb)->len - iph->ihl*4 - tcph->doff*4;
|
H A D | ipt_tcpmss.c | 56 const struct tcphdr *tcph = (void *)skb->nh.iph + skb->nh.iph->ihl*4; 59 skb->len - skb->nh.iph->ihl*4,
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/net/ipv4/netfilter/ |
H A D | ipt_REJECT.c | 46 || oldskb->len < (oldskb->nh.iph->ihl<<2) + sizeof(struct tcphdr)) 49 otcph = (struct tcphdr *)((u_int32_t*)oldskb->nh.iph + oldskb->nh.iph->ihl); 50 otcplen = oldskb->len - oldskb->nh.iph->ihl*4; 78 tcph = (struct tcphdr *)((u_int32_t*)nskb->nh.iph + nskb->nh.iph->ihl); 90 skb_trim(nskb, nskb->nh.iph->ihl*4 + sizeof(struct tcphdr)); 129 nskb->nh.iph->ihl); 190 int datalen = skb_in->len - (iph->ihl<<2); 191 udph = (struct udphdr *)((char *)iph + (iph->ihl<<2)); 203 icmph = (struct icmphdr *)((char *)iph + (iph->ihl<<2)); 248 iph->ihl [all...] |
H A D | ipt_unclean.c | 117 if (datalen - 8 < inner->ihl*4 + 8) { 162 if ((arg >> 24) >= iph->ihl*4) { 396 u_int8_t *endhdr = (u_int8_t *)iph + iph->ihl * 4; 405 if (length < sizeof(struct iphdr) || length < iph->ihl * 4) { 411 protoh = (void *)iph + iph->ihl * 4; 412 datalen = length - iph->ihl * 4; 420 for (i = sizeof(struct iphdr); i < iph->ihl * 4; ) { 437 else if (i+1 >= iph->ihl * 4) { 510 if (offset && offset * 8 < MIN_LIKELY_MTU - iph->ihl * 4) { 512 MIN_LIKELY_MTU - iph->ihl * [all...] |
H A D | ip_conntrack_proto_tcp.c | 157 struct tcphdr *tcph = (struct tcphdr *)((u_int32_t *)iph + iph->ihl); 161 if (len < (iph->ihl + tcph->doff) * 4) { 219 struct tcphdr *tcph = (struct tcphdr *)((u_int32_t *)iph + iph->ihl); 240 struct tcphdr *tcph = (struct tcphdr *)((u_int32_t *)iph + iph->ihl); 243 datalen = (*pskb)->len - iph->ihl*4 - tcph->doff*4;
|
H A D | ip_nat_starcraft.c | 62 struct tcphdr *tcph = (struct tcphdr *)((u_int32_t *)iph + iph->ihl); 63 u_int16_t paylen = (*pskb)->len - iph->ihl * 4 - tcph->doff * 4; 114 tcph = (struct tcphdr *)((u_int32_t *)iph + iph->ihl); 115 paylen = (*pskb)->len - iph->ihl * 4 - tcph->doff * 4; 151 struct udphdr *udph = (struct udphdr *)((u_int32_t *)iph + iph->ihl); 214 struct udphdr *udph = (struct udphdr *)((u_int32_t *)iph + iph->ihl);
|
H A D | ipt_tcpmss.c | 56 const struct tcphdr *tcph = (void *)skb->nh.iph + skb->nh.iph->ihl*4; 59 skb->len - skb->nh.iph->ihl*4,
|
H A D | ip_nat_helper.c | 81 struct tcphdr *tcph = (void *)iph + iph->ihl*4; 126 tcplen = (*skb)->len - iph->ihl*4; 128 newlen = iph->ihl*4 + newtcplen; 163 tcph = (void *)iph + iph->ihl*4; 211 struct udphdr *udph = (void *)iph + iph->ihl * 4; 215 udplen = (*skb)->len - iph->ihl*4; 217 newlen = iph->ihl*4 + newudplen; 252 udph = (void *)iph + iph->ihl*4; 276 udph->len = htons((*skb)->len - iph->ihl*4); 358 tcph = (void *)iph + iph->ihl* [all...] |
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/asm-sh/ |
H A D | checksum.h | 97 static __inline__ unsigned short ip_fast_csum(unsigned char * iph, unsigned int ihl) argument 115 /* Since the input registers which are loaded with iph and ihl 118 : "=r" (sum), "=r" (iph), "=r" (ihl), "=&r" (__dummy0), "=&z" (__dummy1) 119 : "1" (iph), "2" (ihl)
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/asm-sh/ |
H A D | checksum.h | 97 static __inline__ unsigned short ip_fast_csum(unsigned char * iph, unsigned int ihl) argument 115 /* Since the input registers which are loaded with iph and ihl 118 : "=r" (sum), "=r" (iph), "=r" (ihl), "=&r" (__dummy0), "=&z" (__dummy1) 119 : "1" (iph), "2" (ihl)
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/net/ipv4/ |
H A D | ip_nat_dumb.c | 61 iph->check = ip_fast_csum((unsigned char *)iph, iph->ihl); 70 cksum = (u16*)&((struct tcphdr*)(((char*)iph) + (iph->ihl<<2)))->check; 83 cksum = (u16*)&((struct udphdr*)(((char*)iph) + (iph->ihl<<2)))->check; 94 struct icmphdr *icmph = (struct icmphdr*)((char*)iph + (iph->ihl<<2));
|
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/asm-alpha/ |
H A D | checksum.h | 9 extern unsigned short ip_fast_csum(unsigned char * iph, unsigned int ihl);
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/asm-alpha/ |
H A D | checksum.h | 9 extern unsigned short ip_fast_csum(unsigned char * iph, unsigned int ihl);
|
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/asm-s390/ |
H A D | checksum.h | 109 ip_fast_csum(unsigned char *iph, unsigned int ihl) argument 115 rp.subreg.odd = (unsigned long) ihl*4;
|
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/asm-sparc64/ |
H A D | checksum.h | 78 /* ihl is always 5 or greater, almost always is 5, and iph is word aligned 82 unsigned int ihl) 116 : "r" (ihl), "1" (iph) 81 ip_fast_csum(__const__ unsigned char *iph, unsigned int ihl) argument
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/asm-s390/ |
H A D | checksum.h | 109 ip_fast_csum(unsigned char *iph, unsigned int ihl) argument 115 rp.subreg.odd = (unsigned long) ihl*4;
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/asm-sparc64/ |
H A D | checksum.h | 78 /* ihl is always 5 or greater, almost always is 5, and iph is word aligned 82 unsigned int ihl) 116 : "r" (ihl), "1" (iph) 81 ip_fast_csum(__const__ unsigned char *iph, unsigned int ihl) argument
|
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/linux/ |
H A D | ip.h | 118 __u8 ihl:4, member in struct:iphdr 122 ihl:4;
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/linux/ |
H A D | ip.h | 120 __u8 ihl:4, member in struct:iphdr 124 ihl:4;
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/arch/alpha/lib/ |
H A D | checksum.c | 148 unsigned short ip_fast_csum(unsigned char * iph, unsigned int ihl) argument 150 return ~do_csum(iph,ihl*4);
|
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/asm-sparc/ |
H A D | checksum.h | 124 /* ihl is always 5 or greater, almost always is 5, and iph is word aligned 128 unsigned int ihl) 159 : "r" (ihl), "1" (iph) 127 ip_fast_csum(__const__ unsigned char *iph, unsigned int ihl) argument
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/asm-sparc/ |
H A D | checksum.h | 124 /* ihl is always 5 or greater, almost always is 5, and iph is word aligned 128 unsigned int ihl) 159 : "r" (ihl), "1" (iph) 127 ip_fast_csum(__const__ unsigned char *iph, unsigned int ihl) argument
|