| tag | line | file | source code |
| portptr | 149 | net/ipv4/ip_fw.c | extern inline int port_match(unsigned short *portptr,int nports,unsigned short port,int range_flag) |
| portptr | 155 | net/ipv4/ip_fw.c | if ( portptr[0] <= port && port <= portptr[1] ) |
| portptr | 160 | net/ipv4/ip_fw.c | portptr += 2; |
| portptr | 164 | net/ipv4/ip_fw.c | if ( *portptr++ == port ) |
| portptr | 740 | net/ipv4/ip_fw.c | unsigned short *portptr; |
| portptr | 755 | net/ipv4/ip_fw.c | portptr = (unsigned short *)&(((char *)iph)[iph->ihl*4]); |
| portptr | 761 | net/ipv4/ip_fw.c | ntohl(iph->saddr), ntohs(portptr[0]), |
| portptr | 762 | net/ipv4/ip_fw.c | ntohl(iph->daddr), ntohs(portptr[1])); |
| portptr | 768 | net/ipv4/ip_fw.c | portptr[0] == ms->sport && portptr[1] == ms->dport) |
| portptr | 791 | net/ipv4/ip_fw.c | ms->sport = portptr[0]; |
| portptr | 792 | net/ipv4/ip_fw.c | ms->dport = portptr[1]; |
| portptr | 799 | net/ipv4/ip_fw.c | size = skb->len - ((unsigned char *)portptr - skb->h.raw); |
| portptr | 801 | net/ipv4/ip_fw.c | portptr[0] = ms->mport; |
| portptr | 810 | net/ipv4/ip_fw.c | recalc_check((struct udphdr *)portptr,iph->saddr,iph->daddr,size); |
| portptr | 815 | net/ipv4/ip_fw.c | if (portptr[1]==htons(21)) |
| portptr | 820 | net/ipv4/ip_fw.c | portptr = (unsigned short *)&(((char *)iph)[iph->ihl*4]); |
| portptr | 821 | net/ipv4/ip_fw.c | size = skb->len - ((unsigned char *)portptr-skb->h.raw); |
| portptr | 823 | net/ipv4/ip_fw.c | th = (struct tcphdr *)portptr; |
| portptr | 857 | net/ipv4/ip_fw.c | unsigned short *portptr; |
| portptr | 864 | net/ipv4/ip_fw.c | portptr = (unsigned short *)&(((char *)iph)[iph->ihl*4]); |
| portptr | 865 | net/ipv4/ip_fw.c | if (ntohs(portptr[1]) < PORT_MASQ_BEGIN || |
| portptr | 866 | net/ipv4/ip_fw.c | ntohs(portptr[1]) > PORT_MASQ_END) |
| portptr | 872 | net/ipv4/ip_fw.c | ntohl(iph->saddr), ntohs(portptr[0]), |
| portptr | 873 | net/ipv4/ip_fw.c | ntohl(iph->daddr), ntohs(portptr[1])); |
| portptr | 889 | net/ipv4/ip_fw.c | portptr[0]==ms->dport && |
| portptr | 890 | net/ipv4/ip_fw.c | portptr[1]==ms->mport) |
| portptr | 892 | net/ipv4/ip_fw.c | int size = skb_ptr->len - ((unsigned char *)portptr - skb_ptr->h.raw); |
| portptr | 894 | net/ipv4/ip_fw.c | portptr[1] = ms->sport; |
| portptr | 900 | net/ipv4/ip_fw.c | recalc_check((struct udphdr *)portptr,iph->saddr,iph->daddr,size); |
| portptr | 912 | net/ipv4/ip_fw.c | tcp_send_check((struct tcphdr *)portptr,iph->saddr,iph->daddr,size,skb_ptr->sk); |
| portptr | 916 | net/ipv4/ip_fw.c | printk("I-routed to %lX:%X\n",ntohl(iph->daddr),ntohs(portptr[1])); |