/asus-wl-520gu-7.0.1.45/src/linux/linux/net/ipv4/netfilter/ |
H A D | ip_nat_proto_tcp.c | 5 #include <linux/tcp.h> 20 port = tuple->src.u.tcp.port; 22 port = tuple->dst.u.tcp.port; 24 return ntohs(port) >= ntohs(min->tcp.port) 25 && ntohs(port) <= ntohs(max->tcp.port); 38 portptr = &tuple->src.u.tcp.port; 40 portptr = &tuple->dst.u.tcp.port; 63 min = ntohs(range->min.tcp.port); 64 range_size = ntohs(range->max.tcp.port) - min + 1; 101 manip->u.tcp [all...] |
H A D | ip_conntrack_proto_tcp.c | 9 #include <linux/tcp.h> 12 #include <net/tcp.h> 22 /* Protects conntrack->proto.tcp */ 101 tuple->src.u.tcp.port = hdr->source; 102 tuple->dst.u.tcp.port = hdr->dest; 110 tuple->src.u.tcp.port = orig->dst.u.tcp.port; 111 tuple->dst.u.tcp.port = orig->src.u.tcp.port; 120 ntohs(tuple->src.u.tcp [all...] |
H A D | ipt_tcpmss.c | 4 #include <net/tcp.h> 14 const struct tcphdr *tcp, 20 const u_int8_t *opt = (u_int8_t *)tcp; 23 if (tcp->doff * 4 > datalen) { 28 for (i = sizeof(struct tcphdr); i < tcp->doff * 4; ) { 30 && ((tcp->doff * 4 - i) >= TCPOLEN_MSS) 67 if (strcmp(m->u.kernel.match->name, "tcp") == 0 85 /* Must specify -p tcp */ 13 mssoption_match(u_int16_t min, u_int16_t max, const struct tcphdr *tcp, u_int16_t datalen, int invert, int *hotdrop) argument
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/net/ipv4/netfilter.noQoS/ |
H A D | ip_nat_proto_tcp.c | 5 #include <linux/tcp.h> 20 port = tuple->src.u.tcp.port; 22 port = tuple->dst.u.tcp.port; 24 return ntohs(port) >= ntohs(min->tcp.port) 25 && ntohs(port) <= ntohs(max->tcp.port); 38 portptr = &tuple->src.u.tcp.port; 40 portptr = &tuple->dst.u.tcp.port; 63 min = ntohs(range->min.tcp.port); 64 range_size = ntohs(range->max.tcp.port) - min + 1; 101 manip->u.tcp [all...] |
H A D | ip_conntrack_proto_tcp.c | 9 #include <linux/tcp.h> 12 #include <net/tcp.h> 20 /* Protects conntrack->proto.tcp */ 99 tuple->src.u.tcp.port = hdr->source; 100 tuple->dst.u.tcp.port = hdr->dest; 108 tuple->src.u.tcp.port = orig->dst.u.tcp.port; 109 tuple->dst.u.tcp.port = orig->src.u.tcp.port; 118 ntohs(tuple->src.u.tcp [all...] |
H A D | ipt_tcpmss.c | 4 #include <net/tcp.h> 14 const struct tcphdr *tcp, 20 const u_int8_t *opt = (u_int8_t *)tcp; 23 if (tcp->doff * 4 > datalen) { 28 for (i = sizeof(struct tcphdr); i < tcp->doff * 4; ) { 30 && ((tcp->doff * 4 - i) >= TCPOLEN_MSS) 67 if (strcmp(m->u.kernel.match->name, "tcp") == 0 85 /* Must specify -p tcp */ 13 mssoption_match(u_int16_t min, u_int16_t max, const struct tcphdr *tcp, u_int16_t datalen, int invert, int *hotdrop) argument
|
/asus-wl-520gu-7.0.1.45/src/router/rp-pppoe/ |
H A D | firewall | 63 ipchains -A input -i $EXTIF -p tcp -d $ANY 113 -j REJECT 66 #ipchains -A input -l -i $EXTIF -p tcp -d $ANY 25 -y -j ACCEPT 67 #ipchains -A input -i $EXTIF -p tcp -d $ANY 25 -j ACCEPT 71 #ipchains -A input -l -i $EXTIF -p tcp -d $ANY 23 -y -j ACCEPT 72 #ipchains -A input -i $EXTIF -p tcp -d $ANY 23 -j ACCEPT 75 ipchains -A input -l -i $EXTIF -p tcp -y -j DENY 79 ipchains -A input -l -i $EXTIF -d $ANY 0:1023 -p tcp -j DENY 87 ipchains -A forward -s $INTERNAL 1024: -d $ANY 80 -p tcp -b -j MASQ 88 ipchains -A forward -s $INTERNAL 1024: -d $ANY 443 -p tcp -b -j MASQ 91 ipchains -A forward -s $INTERNAL 1024: -d $ANY 119 -p tcp [all...] |
H A D | firewall-masq | 25 ipchains -A input -l -i $EXTIF -d $ANY 0:1023 -p tcp -j DENY
|
H A D | firewall-standalone | 25 ipchains -A input -l -i $EXTIF -d $ANY 0:1023 -p tcp -j DENY
|
/asus-wl-520gu-7.0.1.45/src/router/iptables/extensions/ |
H A D | libipt_ECN.c | 28 " --ecn-tcp-remove Remove all ECN bits from TCP header\n", 35 { "ecn-tcp-remove", 0, 0, 'F' }, 36 { "ecn-tcp-cwr", 1, 0, 'G' }, 37 { "ecn-tcp-ece", 1, 0, 'H' }, 55 "ECN target: Only use --ecn-tcp-remove ONCE!"); 57 einfo->proto.tcp.ece = 0; 58 einfo->proto.tcp.cwr = 0; 64 "ECN target: Only use --ecn-tcp-cwr ONCE!"); 69 einfo->proto.tcp.cwr = result; 75 "ECN target: Only use --ecn-tcp [all...] |
H A D | libipt_MASQUERADE.c | 55 mr->range[0].min.tcp.port 56 = mr->range[0].max.tcp.port 69 mr->range[0].min.tcp.port = htons(port); 70 mr->range[0].max.tcp.port = htons(maxport); 126 printf("%hu", ntohs(r->min.tcp.port)); 127 if (r->max.tcp.port != r->min.tcp.port) 128 printf("-%hu", ntohs(r->max.tcp.port)); 142 printf("--to-ports %hu", ntohs(r->min.tcp.port)); 143 if (r->max.tcp [all...] |
H A D | libipt_REDIRECT.c | 55 mr->range[0].min.tcp.port 56 = mr->range[0].max.tcp.port 69 mr->range[0].min.tcp.port = htons(port); 70 mr->range[0].max.tcp.port = htons(maxport); 126 printf("%hu", ntohs(r->min.tcp.port)); 127 if (r->max.tcp.port != r->min.tcp.port) 128 printf("-%hu", ntohs(r->max.tcp.port)); 143 printf("%hu", ntohs(r->min.tcp.port)); 144 if (r->max.tcp [all...] |
H A D | libip6t_tcp.c | 16 " --tcp-flags [!] mask comp match when TCP flags & mask == comp\n" 19 " (equivalent to --tcp-flags SYN,RST,ACK SYN)\n" 26 " --tcp-option [!] number match if TCP option set\n\n", 36 { "tcp-flags", 1, 0, '4' }, 37 { "tcp-option", 1, 0, '5' }, 46 if ((service = getservbyname(name, "tcp")) != NULL) 208 "Only one of `--syn' or `--tcp-flags' " 218 "Only one of `--syn' or `--tcp-flags' " 225 "--tcp-flags requires two args."); 237 "Only one `--tcp 352 const struct ip6t_tcp *tcp = (struct ip6t_tcp *)match->data; local 428 struct ip6tables_match tcp variable in typeref:struct:ip6tables_match [all...] |
H A D | libipt_tcp.c | 16 " --tcp-flags [!] mask comp match when TCP flags & mask == comp\n" 19 " (equivalent to --tcp-flags SYN,RST,ACK SYN)\n" 26 " --tcp-option [!] number match if TCP option set\n\n", 36 { "tcp-flags", 1, 0, '4' }, 37 { "tcp-option", 1, 0, '5' }, 46 if ((service = getservbyname(name, "tcp")) != NULL) 208 "Only one of `--syn' or `--tcp-flags' " 218 "Only one of `--syn' or `--tcp-flags' " 225 "--tcp-flags requires two args."); 237 "Only one `--tcp 352 const struct ipt_tcp *tcp = (struct ipt_tcp *)match->data; local 427 struct iptables_match tcp variable in typeref:struct:iptables_match [all...] |
H A D | libipt_DNAT.c | 90 range.min.tcp.port 91 = range.max.tcp.port 104 range.min.tcp.port = htons(port); 105 range.max.tcp.port = htons(maxport); 191 printf("%hu", ntohs(r->min.tcp.port)); 192 if (r->max.tcp.port != r->min.tcp.port) 193 printf("-%hu", ntohs(r->max.tcp.port));
|
H A D | libipt_SNAT.c | 90 range.min.tcp.port 91 = range.max.tcp.port 104 range.min.tcp.port = htons(port); 105 range.max.tcp.port = htons(maxport); 191 printf("%hu", ntohs(r->min.tcp.port)); 192 if (r->max.tcp.port != r->min.tcp.port) 193 printf("-%hu", ntohs(r->max.tcp.port));
|
/asus-wl-520gu-7.0.1.45/src/router/iptables/include/libiptc/ |
H A D | ipt_kernel_headers.h | 12 #include <netinet/tcp.h> 22 #include <linux/tcp.h>
|
/asus-wl-520gu-7.0.1.45/src/router/iproute2/reference/linux/netfilter_ipv4/ |
H A D | ipt_ECN.h | 27 } tcp; member in union:ipt_ECN_info::__anon11310
|
H A D | ipt_ecn.h | 29 } tcp; member in union:ipt_ecn_info::__anon11312
|
/asus-wl-520gu-7.0.1.45/src/router/iptables/include/linux/netfilter_ipv4/ |
H A D | ipt_ECN.h | 27 } tcp; member in union:ipt_ECN_info::__anon11783
|
H A D | ipt_ecn.h | 29 } tcp; member in union:ipt_ecn_info::__anon11786
|
/asus-wl-520gu-7.0.1.45/src/linux/linux/include/linux/netfilter_ipv4/ |
H A D | ipt_ECN.h | 27 } tcp; member in union:ipt_ECN_info::__anon6896
|
H A D | ipt_ecn.h | 29 } tcp; member in union:ipt_ecn_info::__anon6898
|
/asus-wl-520gu-7.0.1.45/src/tools/upnp/include/ |
H A D | linux_osl.h | 19 #include <netinet/tcp.h>
|
/asus-wl-520gu-7.0.1.45/src/router/netconf/ |
H A D | netconf_linux.c | 221 struct ipt_tcp *tcp = NULL; local 224 if (strncmp(match->u.user.name, "tcp", IPT_FUNCTION_MAXNAMELEN) != 0) 227 tcp = (struct ipt_tcp *) &match->data[0]; 231 if (tcp) { 234 fw->match.src.ports[0] = htons(tcp->spts[0]); 235 fw->match.src.ports[1] = htons(tcp->spts[1]); 236 fw->match.dst.ports[0] = htons(tcp->dpts[0]); 237 fw->match.dst.ports[1] = htons(tcp->dpts[1]); 238 fw->match.flags |= (tcp->invflags & IPT_TCP_INV_SRCPT) ? NETCONF_INV_SRCPT : 0; 239 fw->match.flags |= (tcp 477 struct ipt_tcp *tcp = NULL; local 851 struct ipt_tcp *tcp; local 1401 struct ipt_tcp tcp; local [all...] |