Home
last modified time | relevance | path

Searched refs:vianame (Results 1 – 4 of 4) sorted by relevance

/external/iptables/
Diptables.c863 void parse_interface(const char *arg, char *vianame, unsigned char *mask) in parse_interface() argument
869 memset(vianame, 0, IFNAMSIZ); in parse_interface()
876 strcpy(vianame, arg); in parse_interface()
877 if ((vialen == 0) || (vialen == 1 && vianame[0] == '+')) in parse_interface()
879 else if (vianame[vialen - 1] == '+') { in parse_interface()
887 for (i = 0; vianame[i]; i++) { in parse_interface()
888 if (vianame[i] == ':' || in parse_interface()
889 vianame[i] == '!' || in parse_interface()
890 vianame[i] == '*') { in parse_interface()
893 vianame); in parse_interface()
Dip6tables.c891 void parse_interface(const char *arg, char *vianame, unsigned char *mask) in parse_interface() argument
897 memset(vianame, 0, IFNAMSIZ); in parse_interface()
904 strcpy(vianame, arg); in parse_interface()
905 if ((vialen == 0) || (vialen == 1 && vianame[0] == '+')) in parse_interface()
907 else if (vianame[vialen - 1] == '+') { in parse_interface()
915 for (i = 0; vianame[i]; i++) { in parse_interface()
916 if (vianame[i] == ':' || in parse_interface()
917 vianame[i] == '!' || in parse_interface()
918 vianame[i] == '*') { in parse_interface()
921 vianame); in parse_interface()
/external/iptables/include/
Dip6tables.h172 extern void parse_interface(const char *arg, char *vianame, unsigned char *mask);
Diptables.h168 extern void parse_interface(const char *arg, char *vianame, unsigned char *mask);