/asus-wl-520gu-7.0.1.45/src/router/rc/ |
H A D | firewall_ex_noipt.c | 241 char *iprange_ex2_conv(char *ip_name, int idx, unsigned int *srcip, unsigned int *srcmask) argument 284 *srcip = ntohl(inet_addr(startip)); 309 char *filter_conv(char *proto, char *flag, char *srcip, char *srcport, char *dstip, char *dstport) argument 313 //printf("filter : %s,%s,%s,%s,%s,%s\n", proto, flag, srcip, srcport, dstip, dstport); 329 if (strcmp(srcip, "")!=0) 331 if (strchr(srcip , '-')) 332 sprintf(newstr, " --src-range %s", srcip); 334 sprintf(newstr, " -s %s", srcip); 520 char *proto, *flag, *srcip, *srcport, *dstip, *dstport; local 623 char *proto, *flag, *srcip, *srcpor local 1450 unsigned int srcip, srcmask; local [all...] |
H A D | firewall_ex.c | 311 char *filter_conv(char *proto, char *flag, char *srcip, char *srcport, char *dstip, char *dstport) argument 315 //printf("filter : %s,%s,%s,%s,%s,%s\n", proto, flag, srcip, srcport, dstip, dstport); 331 if (strcmp(srcip, "")!=0) 333 if (strchr(srcip , '-')) 334 sprintf(newstr, " --src-range %s", srcip); 336 sprintf(newstr, " -s %s", srcip); 842 char *proto, *flag, *srcip, *srcport, *dstip, *dstport; local 1129 srcip = iprange_ex_conv("filter_lw_srcip_x", i); 1133 setting=filter_conv(proto, flag, srcip, srcport, dstip, dstport); 1177 srcip [all...] |
/asus-wl-520gu-7.0.1.45/src/router/rc.orig/ |
H A D | firewall_ex_noipt.c | 241 char *iprange_ex2_conv(char *ip_name, int idx, unsigned int *srcip, unsigned int *srcmask) argument 284 *srcip = ntohl(inet_addr(startip)); 309 char *filter_conv(char *proto, char *flag, char *srcip, char *srcport, char *dstip, char *dstport) argument 313 //printf("filter : %s,%s,%s,%s,%s,%s\n", proto, flag, srcip, srcport, dstip, dstport); 329 if (strcmp(srcip, "")!=0) 331 if (strchr(srcip , '-')) 332 sprintf(newstr, " --src-range %s", srcip); 334 sprintf(newstr, " -s %s", srcip); 520 char *proto, *flag, *srcip, *srcport, *dstip, *dstport; local 623 char *proto, *flag, *srcip, *srcpor local 1450 unsigned int srcip, srcmask; local [all...] |
H A D | firewall_ex.c | 311 char *filter_conv(char *proto, char *flag, char *srcip, char *srcport, char *dstip, char *dstport) argument 315 //printf("filter : %s,%s,%s,%s,%s,%s\n", proto, flag, srcip, srcport, dstip, dstport); 331 if (strcmp(srcip, "")!=0) 333 if (strchr(srcip , '-')) 334 sprintf(newstr, " --src-range %s", srcip); 336 sprintf(newstr, " -s %s", srcip); 842 char *proto, *flag, *srcip, *srcport, *dstip, *dstport; local 1129 srcip = iprange_ex_conv("filter_lw_srcip_x", i); 1133 setting=filter_conv(proto, flag, srcip, srcport, dstip, dstport); 1177 srcip [all...] |
/asus-wl-520gu-7.0.1.45/src/cfe/cfe/net/ |
H A D | net_ip.c | 277 uint8_t srcip[IP_ADDR_LEN]; local 339 ebuf_get_bytes(buf,srcip,IP_ADDR_LEN); 371 res = (*(pdisp->cb))(pdisp->ref,buf,dstip,srcip);
|