Home | History | Annotate | Download | only in extensions

Lines Matching refs:colon

52 	char *arg, *start, *end = NULL, *colon = NULL, *dash, *error;
62 /* Lets assume one colon is port information. Otherwise its an IPv6 address */
63 colon = strchr(arg, ':');
64 if (colon && strchr(colon+1, ':'))
65 colon = NULL;
75 colon = strchr(end + 1, ':');
78 if (colon) {
87 port = atoi(colon+1);
90 "Port `%s' not valid\n", colon+1);
92 error = strchr(colon+1, ':');
97 dash = strchr(colon, '-');
112 "Port range `%s' funky\n", colon+1);
116 /* Starts with colon or [] colon? No IP info...*/
117 if (colon == arg || colon == arg+2) {
121 *colon = '\0';
126 if (colon && dash && dash > colon)