All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
proto.c File Reference

functions common to protocol encoders/decoders. More...

#include <freeradius-devel/libradius.h>
+ Include dependency graph for proto.c:

Go to the source code of this file.

Functions

void fr_proto_print (char const *file, int line, char const *fmt,...)
 
void fr_proto_print_hex_data (char const *file, int line, char const *msg, uint8_t const *data, size_t data_len)
 
void fr_proto_tlv_stack_build (fr_dict_attr_t const **tlv_stack, fr_dict_attr_t const *da)
 
void fr_proto_tlv_stack_print (char const *file, int line, char const *func, fr_dict_attr_t const **tlv_stack, unsigned int depth)
 

Variables

static unsigned int proto_log_indent = 30
 
static char spaces [] = " "
 

Detailed Description

functions common to protocol encoders/decoders.

Id:
a313d95b530e324babccb45e4446dfa9dc964b9e

Definition in file proto.c.

Function Documentation

void fr_proto_print ( char const *  file,
int  line,
char const *  fmt,
  ... 
)

Definition at line 30 of file proto.c.

+ Here is the call graph for this function:

void fr_proto_print_hex_data ( char const *  file,
int  line,
char const *  msg,
uint8_t const *  data,
size_t  data_len 
)

Definition at line 49 of file proto.c.

+ Here is the call graph for this function:

void fr_proto_tlv_stack_build ( fr_dict_attr_t const **  tlv_stack,
fr_dict_attr_t const *  da 
)

Definition at line 94 of file proto.c.

+ Here is the caller graph for this function:

void fr_proto_tlv_stack_print ( char const *  file,
int  line,
char const *  func,
fr_dict_attr_t const **  tlv_stack,
unsigned int  depth 
)

Definition at line 69 of file proto.c.

+ Here is the call graph for this function:

Variable Documentation

unsigned int proto_log_indent = 30
static

Definition at line 27 of file proto.c.

char spaces[] = " "
static

Definition at line 28 of file proto.c.