Lines Matching refs:ipv6
166 int ipv6; member
333 int ipv6) in radius_server_get_client() argument
339 if (ipv6) { in radius_server_get_client()
358 if (!ipv6 && (client->addr.s_addr & client->mask.s_addr) == in radius_server_get_client()
1702 if (data->ipv6) { in radius_server_receive_auth()
1716 if (!data->ipv6) { in radius_server_receive_auth()
1834 if (data->ipv6) { in radius_server_receive_acct()
1848 if (!data->ipv6) { in radius_server_receive_acct()
2036 radius_server_read_clients(const char *client_file, int ipv6) in radius_server_read_clients() argument
2095 (mask < 0 || mask > (ipv6 ? 128 : 32))) { in radius_server_read_clients()
2101 mask = ipv6 ? 128 : 32; in radius_server_read_clients()
2105 if (!ipv6 && inet_aton(buf, &addr) == 0) { in radius_server_read_clients()
2110 if (ipv6 && inet_pton(AF_INET6, buf, &addr6) <= 0) { in radius_server_read_clients()
2147 if (!ipv6) { in radius_server_read_clients()
2155 if (ipv6) { in radius_server_read_clients()
2204 if (conf->ipv6) { in radius_server_init()
2222 data->ipv6 = conf->ipv6; in radius_server_init()
2270 conf->ipv6); in radius_server_init()
2277 if (conf->ipv6) in radius_server_init()
2294 if (conf->ipv6) in radius_server_init()
2459 if (data->ipv6) { in radius_server_get_mib()
2468 if (!data->ipv6) { in radius_server_get_mib()