Home | History | Annotate | Download | only in extensions

Lines Matching refs:colon

49 	char *arg, *start, *end = NULL, *colon = NULL, *dash, *error;
59 /* Lets assume one colon is port information. Otherwise its an IPv6 address */
60 colon = strchr(arg, ':');
61 if (colon && strchr(colon+1, ':'))
62 colon = NULL;
72 colon = strchr(end + 1, ':');
75 if (colon) {
84 port = atoi(colon+1);
87 "Port `%s' not valid\n", colon+1);
89 error = strchr(colon+1, ':');
94 dash = strchr(colon, '-');
109 "Port range `%s' funky\n", colon+1);
113 /* Starts with colon or [] colon? No IP info...*/
114 if (colon == arg || colon == arg+2) {
118 *colon = '\0';
123 if (colon && dash && dash > colon)