Searched refs:ipstr (Results 1 – 6 of 6) sorted by relevance
| /freebsd-12.1/contrib/apr/network_io/unix/ |
| H A D | sockaddr.c | 956 rc = apr_inet_pton(AF_INET6, ipstr, ipsub->sub); 970 rc = apr_inet_pton(AF_INET, ipstr, ipsub->sub); 977 return parse_network(ipsub, ipstr); 986 static int looks_like_ip(const char *ipstr) argument 988 if (strchr(ipstr, ':')) { 994 while ((*ipstr == '.') || apr_isdigit(*ipstr)) 995 ipstr++; 996 return (*ipstr == '\0'); 1012 APR_DECLARE(apr_status_t) apr_ipsubnet_create(apr_ipsubnet_t **ipsub, const char *ipstr, argument 1024 if (!looks_like_ip(ipstr)) { [all …]
|
| /freebsd-12.1/contrib/unbound/respip/ |
| H A D | respip.c | 120 log_warn("unexpected: duplicate address: %s", ipstr); in respip_sockaddr_find_or_create() 149 if(!netblockstrtoaddr(ipstr, 0, &addr, &addrlen, &net)) { in respip_find_or_create() 150 log_err("cannot parse netblock: '%s'", ipstr); in respip_find_or_create() 154 ipstr); in respip_find_or_create() 158 respip_tag_cfg(struct respip_set* set, const char* ipstr, in respip_tag_cfg() argument 163 if(!(node=respip_find_or_create(set, ipstr, 1))) in respip_tag_cfg() 167 ipstr); in respip_tag_cfg() 186 if(!(node=respip_find_or_create(set, ipstr, 1))) in respip_action_cfg() 190 ipstr); in respip_action_cfg() 328 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-12.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-12.1/contrib/pf/authpf/ |
| H A D | authpf.c | 753 char *fdpath = NULL, *userstr = NULL, *ipstr = NULL; in change_filter() local 775 if (asprintf(&ipstr, "user_ip=%s", ip_src) == -1) in change_filter() 791 pargv[9] = ipstr; in change_filter() 837 free(ipstr); in change_filter()
|
| /freebsd-12.1/contrib/apr/include/ |
| H A D | apr_network_io.h | 759 const char *ipstr,
|