Searched refs:ipstr (Results 1 – 6 of 6) sorted by relevance
| /freebsd-13.1/contrib/apr/network_io/unix/ |
| H A D | sockaddr.c | 1063 rc = apr_inet_pton(AF_INET6, ipstr, ipsub->sub); 1077 rc = apr_inet_pton(AF_INET, ipstr, ipsub->sub); 1084 return parse_network(ipsub, ipstr); 1093 static int looks_like_ip(const char *ipstr) argument 1095 if (strlen(ipstr) == 0) { 1099 if (strchr(ipstr, ':')) { 1105 while ((*ipstr == '.') || apr_isdigit(*ipstr)) 1106 ipstr++; 1107 return (*ipstr == '\0'); 1135 if (!looks_like_ip(ipstr)) { [all …]
|
| /freebsd-13.1/contrib/unbound/respip/ |
| H A D | respip.c | 121 log_warn("unexpected: duplicate address: %s", ipstr); in respip_sockaddr_find_or_create() 150 if(!netblockstrtoaddr(ipstr, 0, &addr, &addrlen, &net)) { in respip_find_or_create() 151 log_err("cannot parse netblock: '%s'", ipstr); in respip_find_or_create() 155 ipstr); in respip_find_or_create() 159 respip_tag_cfg(struct respip_set* set, const char* ipstr, in respip_tag_cfg() argument 164 if(!(node=respip_find_or_create(set, ipstr, 1))) in respip_tag_cfg() 168 ipstr); in respip_tag_cfg() 187 if(!(node=respip_find_or_create(set, ipstr, 1))) in respip_action_cfg() 191 ipstr); in respip_action_cfg() 329 node=respip_find_or_create(set, ipstr, 0); in respip_data_cfg() [all …]
|
| H A D | respip.h | 270 socklen_t addrlen, int net, int create, const char* ipstr);
|
| /freebsd-13.1/usr.sbin/ppp/ |
| H A D | iplist.c | 46 char ipstr[16]; in do_inet_aton() local 52 strncpy(ipstr, start, end-start); in do_inet_aton() 53 ipstr[end-start] = '\0'; in do_inet_aton() 54 return inet_aton(ipstr, ip); in do_inet_aton()
|
| /freebsd-13.1/contrib/pf/authpf/ |
| H A D | authpf.c | 754 char *fdpath = NULL, *userstr = NULL, *ipstr = NULL; in change_filter() local 776 if (asprintf(&ipstr, "user_ip=%s", ip_src) == -1) in change_filter() 792 pargv[9] = ipstr; in change_filter() 838 free(ipstr); in change_filter()
|
| /freebsd-13.1/contrib/apr/include/ |
| H A D | apr_network_io.h | 826 const char *ipstr,
|