Searched refs:dotted_quad (Results 1 - 4 of 4) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/openvpn-2.3.1/src/openvpn/
H A Dsocket.c280 openvpn_inet_aton (const char *dotted_quad, struct in_addr *addr) argument
285 if (sscanf (dotted_quad, "%u.%u.%u.%u", &a, &b, &c, &d) == 4)
293 if (string_class (dotted_quad, CC_DIGIT|CC_DOT, 0))
300 ip_addr_dotted_quad_safe (const char *dotted_quad) argument
303 if (!dotted_quad)
307 if (strlen (dotted_quad) > 15)
314 const char *p = dotted_quad;
337 return openvpn_inet_aton (dotted_quad, &a) == OIA_IP;
H A Dsocket.h424 int openvpn_inet_aton (const char *dotted_quad, struct in_addr *addr);
427 bool ip_addr_dotted_quad_safe (const char *dotted_quad);
H A Dmisc.c846 count_netmask_bits(const char *dotted_quad) argument
850 if (sscanf(dotted_quad, "%u.%u.%u.%u", &a, &b, &c, &d) != 4)
/netgear-R7000-V1.0.7.12_1.2.5/src/router/busybox-1.x/networking/
H A Difupdown.c158 static int count_netmask_bits(const char *dotted_quad) argument
163 // if (sscanf(dotted_quad, "%u.%u.%u.%u", &a, &b, &c, &d) != 4)
175 if (inet_aton(dotted_quad, &ip) == 0)

Completed in 109 milliseconds