Searched refs:targetname (Results 1 - 2 of 2) sorted by relevance

/asus-wl-520gu-7.0.1.45/src/router/iptables/
H A Diptables.c792 parse_target(const char *targetname) argument
796 if (strlen(targetname) < 1)
800 if (strlen(targetname)+1 > sizeof(ipt_chainlabel))
803 targetname, sizeof(ipt_chainlabel)-1);
805 for (ptr = targetname; *ptr; ptr++)
808 "Invalid target name `%s'", targetname);
809 return targetname;
H A Dip6tables.c851 parse_target(const char *targetname) argument
855 if (strlen(targetname) < 1)
859 if (strlen(targetname)+1 > sizeof(ip6t_chainlabel))
862 targetname, sizeof(ip6t_chainlabel)-1);
864 for (ptr = targetname; *ptr; ptr++)
867 "Invalid target name `%s'", targetname);
868 return targetname;

Completed in 48 milliseconds