tag | line | file | source code |
portptr | 162 | net/ipv4/ip_fw.c | extern inline int port_match(unsigned short *portptr,int nports,unsigned short port,int range_flag) |
portptr | 168 | net/ipv4/ip_fw.c | if ( portptr[0] <= port && port <= portptr[1] ) |
portptr | 173 | net/ipv4/ip_fw.c | portptr += 2; |
portptr | 177 | net/ipv4/ip_fw.c | if ( *portptr++ == port ) |
portptr | 197 | net/ipv4/ip_masq.c | __u16 *portptr; |
portptr | 202 | net/ipv4/ip_masq.c | portptr = (__u16 *)&(((char *)iph)[iph->ihl*4]); |
portptr | 205 | net/ipv4/ip_masq.c | s_port = portptr[0]; |
portptr | 207 | net/ipv4/ip_masq.c | d_port = portptr[1]; |
portptr | 228 | net/ipv4/ip_masq.c | __u16 *portptr; |
portptr | 233 | net/ipv4/ip_masq.c | portptr = (__u16 *)&(((char *)iph)[iph->ihl*4]); |
portptr | 236 | net/ipv4/ip_masq.c | s_port = portptr[0]; |
portptr | 238 | net/ipv4/ip_masq.c | d_port = portptr[1]; |
portptr | 431 | net/ipv4/ip_masq.c | __u16 *portptr; |
portptr | 447 | net/ipv4/ip_masq.c | portptr = (__u16 *)&(((char *)iph)[iph->ihl*4]); |
portptr | 451 | net/ipv4/ip_masq.c | ntohl(iph->saddr), ntohs(portptr[0]), |
portptr | 452 | net/ipv4/ip_masq.c | ntohl(iph->daddr), ntohs(portptr[1])); |
portptr | 466 | net/ipv4/ip_masq.c | iph->saddr, portptr[0], |
portptr | 467 | net/ipv4/ip_masq.c | iph->daddr, portptr[1], |
portptr | 477 | net/ipv4/ip_masq.c | size = skb->len - ((unsigned char *)portptr - skb->h.raw); |
portptr | 482 | net/ipv4/ip_masq.c | portptr[0] = ms->mport; |
portptr | 495 | net/ipv4/ip_masq.c | portptr = (__u16 *)&(((char *)iph)[iph->ihl*4]); |
portptr | 496 | net/ipv4/ip_masq.c | size = skb->len - ((unsigned char *)portptr-skb->h.raw); |
portptr | 506 | net/ipv4/ip_masq.c | recalc_check((struct udphdr *)portptr,iph->saddr,iph->daddr,size); |
portptr | 511 | net/ipv4/ip_masq.c | th = (struct tcphdr *)portptr; |
portptr | 553 | net/ipv4/ip_masq.c | __u16 *portptr; |
portptr | 571 | net/ipv4/ip_masq.c | portptr = (__u16 *)&(((char *)iph)[iph->ihl*4]); |
portptr | 572 | net/ipv4/ip_masq.c | if (ntohs(portptr[1]) < PORT_MASQ_BEGIN || |
portptr | 573 | net/ipv4/ip_masq.c | ntohs(portptr[1]) > PORT_MASQ_END) |
portptr | 579 | net/ipv4/ip_masq.c | ntohl(iph->saddr), ntohs(portptr[0]), |
portptr | 580 | net/ipv4/ip_masq.c | ntohl(iph->daddr), ntohs(portptr[1])); |
portptr | 598 | net/ipv4/ip_masq.c | ms->dport = portptr[0]; |
portptr | 612 | net/ipv4/ip_masq.c | size = skb->len - ((unsigned char *)portptr - skb->h.raw); |
portptr | 614 | net/ipv4/ip_masq.c | portptr[1] = ms->sport; |
portptr | 629 | net/ipv4/ip_masq.c | portptr = (__u16 *)&(((char *)iph)[iph->ihl*4]); |
portptr | 630 | net/ipv4/ip_masq.c | size = skb->len - ((unsigned char *)portptr-skb->h.raw); |
portptr | 643 | net/ipv4/ip_masq.c | recalc_check((struct udphdr *)portptr,iph->saddr,iph->daddr,size); |
portptr | 650 | net/ipv4/ip_masq.c | skb->csum = csum_partial((void *)(((struct tcphdr *)portptr) + 1), |
portptr | 652 | net/ipv4/ip_masq.c | tcp_send_check((struct tcphdr *)portptr,iph->saddr,iph->daddr,size,skb); |
portptr | 654 | net/ipv4/ip_masq.c | th = (struct tcphdr *)portptr; |
portptr | 665 | net/ipv4/ip_masq.c | printk("I-routed to %lX:%X\n",ntohl(iph->daddr),ntohs(portptr[1])); |