struct tapi_radius_attr_t

Overview

RADIUS attribute More…

#include <tapi_radius.h>

struct tapi_radius_attr_t {
    // fields

    tapi_radius_attr_type_t type;
    tapi_radius_type_t datatype;
    uint8_t len;
    uint32_t integer;
    char* string;
};

Detailed Documentation

RADIUS attribute

Fields

tapi_radius_attr_type_t type

Attribute type (identifier from the dictionary)

tapi_radius_type_t datatype

Datatype of attribute

uint8_t len

Length of value (in bytes) (not including trailing null for STRING and TEXT, 4 for INTEGER, ADDRESS, TIME)

uint32_t integer

Value for INTEGER, ADDDRESS, TIME

char* string

Pointer to value for STRING and TEXT