| tag | line | file | source code |
| portptr | 151 | net/ipv4/ip_fw.c | extern inline int port_match(unsigned short *portptr,int nports,unsigned short port,int range_flag) |
| portptr | 157 | net/ipv4/ip_fw.c | if ( portptr[0] <= port && port <= portptr[1] ) |
| portptr | 162 | net/ipv4/ip_fw.c | portptr += 2; |
| portptr | 166 | net/ipv4/ip_fw.c | if ( *portptr++ == port ) |
| portptr | 778 | net/ipv4/ip_fw.c | unsigned short *portptr; |
| portptr | 793 | net/ipv4/ip_fw.c | portptr = (unsigned short *)&(((char *)iph)[iph->ihl*4]); |
| portptr | 799 | net/ipv4/ip_fw.c | ntohl(iph->saddr), ntohs(portptr[0]), |
| portptr | 800 | net/ipv4/ip_fw.c | ntohl(iph->daddr), ntohs(portptr[1])); |
| portptr | 806 | net/ipv4/ip_fw.c | portptr[0] == ms->sport && portptr[1] == ms->dport) |
| portptr | 829 | net/ipv4/ip_fw.c | ms->sport = portptr[0]; |
| portptr | 830 | net/ipv4/ip_fw.c | ms->dport = portptr[1]; |
| portptr | 837 | net/ipv4/ip_fw.c | size = skb->len - ((unsigned char *)portptr - skb->h.raw); |
| portptr | 839 | net/ipv4/ip_fw.c | portptr[0] = ms->mport; |
| portptr | 848 | net/ipv4/ip_fw.c | recalc_check((struct udphdr *)portptr,iph->saddr,iph->daddr,size); |
| portptr | 853 | net/ipv4/ip_fw.c | if (portptr[1]==htons(21)) |
| portptr | 858 | net/ipv4/ip_fw.c | portptr = (unsigned short *)&(((char *)iph)[iph->ihl*4]); |
| portptr | 859 | net/ipv4/ip_fw.c | size = skb->len - ((unsigned char *)portptr-skb->h.raw); |
| portptr | 861 | net/ipv4/ip_fw.c | th = (struct tcphdr *)portptr; |
| portptr | 895 | net/ipv4/ip_fw.c | unsigned short *portptr; |
| portptr | 902 | net/ipv4/ip_fw.c | portptr = (unsigned short *)&(((char *)iph)[iph->ihl*4]); |
| portptr | 903 | net/ipv4/ip_fw.c | if (ntohs(portptr[1]) < PORT_MASQ_BEGIN || |
| portptr | 904 | net/ipv4/ip_fw.c | ntohs(portptr[1]) > PORT_MASQ_END) |
| portptr | 910 | net/ipv4/ip_fw.c | ntohl(iph->saddr), ntohs(portptr[0]), |
| portptr | 911 | net/ipv4/ip_fw.c | ntohl(iph->daddr), ntohs(portptr[1])); |
| portptr | 928 | net/ipv4/ip_fw.c | (ms->dport==htons(FTP_DPORT_TBD) || portptr[0]==ms->dport) && |
| portptr | 929 | net/ipv4/ip_fw.c | portptr[1]==ms->mport) |
| portptr | 932 | net/ipv4/ip_fw.c | int size = skb_ptr->len - ((unsigned char *)portptr - skb_ptr->h.raw); |
| portptr | 934 | net/ipv4/ip_fw.c | portptr[1] = ms->sport; |
| portptr | 938 | net/ipv4/ip_fw.c | ms->dport=portptr[0]; |
| portptr | 948 | net/ipv4/ip_fw.c | recalc_check((struct udphdr *)portptr,iph->saddr,iph->daddr,size); |
| portptr | 978 | net/ipv4/ip_fw.c | tcp_send_check((struct tcphdr *)portptr,iph->saddr,iph->daddr,size,skb_ptr->sk); |
| portptr | 982 | net/ipv4/ip_fw.c | printk("I-routed to %lX:%X\n",ntohl(iph->daddr),ntohs(portptr[1])); |