Searched refs:portptr (Results 1 - 7 of 7) sorted by relevance

/asus-wl-520gu-7.0.1.45/src/linux/linux/net/ipv4/netfilter/
H A Dip_nat_proto_tcp.c34 static u_int16_t port = 0, *portptr; local
38 portptr = &tuple->src.u.tcp.port;
40 portptr = &tuple->dst.u.tcp.port;
49 if (ntohs(*portptr) < 1024) {
51 if (ntohs(*portptr)<512) {
68 *portptr = htons(min + port % range_size);
83 u_int16_t *portptr; local
88 portptr = &hdr->source;
92 portptr = &hdr->dest;
100 ip_nat_cheat_check(*portptr
[all...]
H A Dip_nat_proto_udp.c35 static u_int16_t port = 0, *portptr; local
39 portptr = &tuple->src.u.udp.port;
41 portptr = &tuple->dst.u.udp.port;
49 if (ntohs(*portptr) < 1024) {
51 if (ntohs(*portptr)<512) {
68 *portptr = htons(min + port % range_size);
82 u_int16_t *portptr; local
87 portptr = &hdr->source;
91 portptr = &hdr->dest;
95 ip_nat_cheat_check(*portptr
[all...]
H A Dipfwadm_core.c189 extern inline int port_match(unsigned short *portptr,int nports,unsigned short port,int range_flag) argument
195 if ( portptr[0] <= port && port <= portptr[1] )
200 portptr += 2;
204 if ( *portptr++ == port )
/asus-wl-520gu-7.0.1.45/src/linux/linux/net/ipv4/netfilter.noQoS/
H A Dip_nat_proto_tcp.c34 static u_int16_t port = 0, *portptr; local
38 portptr = &tuple->src.u.tcp.port;
40 portptr = &tuple->dst.u.tcp.port;
49 if (ntohs(*portptr) < 1024) {
51 if (ntohs(*portptr)<512) {
68 *portptr = htons(min + port % range_size);
83 u_int16_t *portptr; local
88 portptr = &hdr->source;
92 portptr = &hdr->dest;
100 ip_nat_cheat_check(*portptr
[all...]
H A Dip_nat_proto_udp.c35 static u_int16_t port = 0, *portptr; local
39 portptr = &tuple->src.u.udp.port;
41 portptr = &tuple->dst.u.udp.port;
49 if (ntohs(*portptr) < 1024) {
51 if (ntohs(*portptr)<512) {
68 *portptr = htons(min + port % range_size);
82 u_int16_t *portptr; local
87 portptr = &hdr->source;
91 portptr = &hdr->dest;
95 ip_nat_cheat_check(*portptr
[all...]
H A Dipfwadm_core.c189 extern inline int port_match(unsigned short *portptr,int nports,unsigned short port,int range_flag) argument
195 if ( portptr[0] <= port && port <= portptr[1] )
200 portptr += 2;
204 if ( *portptr++ == port )
/asus-wl-520gu-7.0.1.45/src/linux/linux/drivers/net/wan/8253x/
H A D8253xini.c2122 SAB_PORT *portptr; local
2256 for(portno = 0, portptr = AuraPortRoot; portptr != NULL; ++portno, portptr = portptr->next)
2258 portptr->line = portno; /* set up the line number == minor dev associated with port */
2259 portptr->sigmode = sab8253x_default_sp502_mode;
2264 for(portno = 0, portptr = AuraPortRoot; portptr != NULL; ++portno, portptr
2405 SAB_PORT *portptr; local
[all...]

Completed in 115 milliseconds