radius-util.cc File Reference
#include "squid.h"
#include "auth/basic/RADIUS/radius-util.h"
#include "md5.h"
#include <cctype>
#include <csignal>
#include <ctime>
Include dependency graph for radius-util.cc:

Go to the source code of this file.

Functions

static int good_ipaddr (char *addr)
 
static uint32_t ipstr2long (char *ip_str)
 
uint32_t get_ipaddr (char *host)
 

Variables

char util_sccsid []
 

Function Documentation

uint32_t get_ipaddr ( char *  host)

Definition at line 143 of file radius-util.cc.

References gethostbyname(), good_ipaddr(), ipstr2long(), and NULL.

Referenced by main().

static int good_ipaddr ( char *  addr)
static

Definition at line 70 of file radius-util.cc.

References addr.

Referenced by get_ipaddr().

static uint32_t ipstr2long ( char *  ip_str)
static

Definition at line 102 of file radius-util.cc.

References buf, and i.

Referenced by get_ipaddr().

Variable Documentation

char util_sccsid[]
Initial value:
=
"@(#)util.c 1.5 Copyright 1992 Livingston Enterprises Inc\n"
" 2.1 Copyright 1997 Cistron Internet Services B.V."

Definition at line 43 of file radius-util.cc.

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors