26RCSIDH(radclient_h, 
"$Id: e2745a18c8e431c5d8dbcc38fb3c6eb462ca7b86 $")
 
   32#include <freeradius-devel/util/dlist.h> 
   33#include <freeradius-devel/util/rb.h> 
   34#include <freeradius-devel/util/pair.h> 
   35#include <freeradius-devel/util/packet.h> 
   36#include <freeradius-devel/radius/defs.h> 
   41#define DEBUG(fmt, ...)         if (do_output && (fr_debug_lvl > 0)) fprintf(fr_log_fp, fmt "\n", ## __VA_ARGS__) 
   43#define DEBUG2(fmt, ...)        if (do_output && (fr_debug_lvl > 1)) fprintf(fr_log_fp, fmt "\n", ## __VA_ARGS__) 
   46#define ERROR(fmt, ...)         if (do_output) fr_perror("radclient: " fmt, ## __VA_ARGS__) 
   47#define WARN(fmt, ...)          if (do_output) fprintf(stderr, fmt "\n", ## __VA_ARGS__) 
   49#define RDEBUG_ENABLED()        (do_output && (fr_debug_lvl > 0)) 
   50#define RDEBUG_ENABLED2()       (do_output && (fr_debug_lvl > 1)) 
   52#define REDEBUG(fmt, ...)       if (do_output) fr_perror("(%" PRIu64 ") " fmt , request->num, ## __VA_ARGS__) 
   53#define RDEBUG(fmt, ...)        if (do_output && (fr_debug_lvl > 0)) fprintf(fr_log_fp, "(%" PRIu64 ") " fmt "\n", request->num, ## __VA_ARGS__) 
   54#define RDEBUG2(fmt, ...)       if (do_output && (fr_debug_lvl > 1)) fprintf(fr_log_fp, "(%" PRIu64 ") " fmt "\n", request->num, ## __VA_ARGS__) 
fr_radius_packet_code_t
RADIUS packet codes.
Entry in a doubly linked list.
uint64_t num
The number (within the file) of the request were reading.
fr_pair_t * password
Password.Cleartext.
uint64_t accepted
Requests to which we received a accept.
fr_packet_t * reply
The incoming response.
fr_pair_list_t request_pairs
char const  * coa_reply
file containing the CoA filter we want to match
uint64_t rejected
Requests to which we received a reject.
fr_rb_node_t node
rbtree node data for CoA
char const  * packets
The file containing the request packet.
uint64_t lost
Requests to which we received no response.
bool done
Whether the request is complete.
char const  * coa_filter
file containing the CoA filter we want to match
fr_pair_list_t filter
If the reply passes the filter, then the request passes.
uint64_t failed
Requests which failed a filter.
fr_pair_list_t reply_pairs
uint64_t passed
Requests which passed a filter.
fr_radius_packet_code_t filter_code
Expected code of the response packet.
rc_request_t * coa
CoA filter and reply.
fr_dlist_t entry
for linked list
char const  * name
Test name (as specified in the request).
char const  * filters
The file containing the definition of the packet we want to match.
fr_packet_t * packet
The outgoing request.
rc_file_pair_t * files
Request and response file names.
uint64_t error
Requests which received a Protocol-Error response.
Stores an attribute, a value and various bits of other data.