RADIUS_T
Provides expressions to retrieve radius header information and radius Header and AVPs (attribute value pairs) from radius requests and responses.
Note: The radius implementation is RFC 2865 and 2866 compliant.
This topic lists the expressions that are provided by this class.
-
IS_CLIENTReturns true if this is a radius client connection.
Returns: bool_at
-
IS_SERVERReturns true if this is a radius server connection.
Returns: bool_at
-
NEW_ACCESSREJECTCreates Radius Access Reject message (Header only) based on Request header.
Returns: text_t
NEW_ANSWER (uint code)
Creates Radius message (Header only) based on Request header.
Parameters``:
code- Radius Message code
Returns: text_t
Creates new AVP based on given avp code and given Integer32 value.
Parameters``:
avpcode- AVP code
avpvalue- AVP value
Returns: text_t
Creates new AVP based on given avp code and given Interger64 value.
Parameters``:
avpcode- AVP code
avpvalue- AVP value
Returns: text_t
Creates new AVP based on given avp code and given Interger64 value.
Parameters``:
avpcode- AVP code
avpvalue- AVP value
Returns: text_t
Creates new AVP based on given avp code and given Interger64 value.
Parameters``:
avpcode- AVP code
avpvalue- AVP value
Returns: text_t
Creates new AVP based on given avp code and given Interger64 value.
Parameters``:
avpcode- AVP code
avpvalue- AVP value
Returns: text_t
Creates new AVP based on given avp code and given Interger64 value.
Parameters``:
avpcode- AVP code
avpvalue- AVP value
Returns: text_t
Creates new AVP based on given avp code and given IP address value. Example: RADIUS.NEW_AVP_IPADDRESS(8, 1.1.1.1)
Parameters``:
avpcode- AVP code
avpvalue- AVP value as octet string
Returns: text_t
Creates new AVP based on given avp code and given IPv6 address value. Example: RADIUS.NEW_AVP_IPV6ADDRESS(95, 127:1:1::1)
Parameters``:
avpcode- AVP code
avpvalue- AVP value as octet string
Returns: text_t
Creates new AVP based on given avp code and given IPv6 Subnet value. Example: RADIUS.NEW_AVP_IPV6SUBNET(97, 127::1/64)
Parameters``:
avpcode- AVP code
s- IPv6 Subnet
Returns: text_t
Creates new AVP based on given avp code and given value. Example: RADIUS.NEW_AVP(1, "Hemant") Example: RADIUS.NEW_AVP(97, RADIUS.REQ.AVP(97).VALUE(0))
Parameters``:
avpcode- AVP code
avpvalue- AVP value as octet string
Returns: text_t
Creates new AVP based on given avp code and given time value. Example: RADIUS.NEW_AVP(
, GMT May 10h 0m)
Parameters:`
avpcode- AVP code
t- Time
Returns: text_t
NEW_AVP_UNSIGNED32 (uint avpcode, uint avpvalue)
Creates new AVP based on given avp code and given Unsigned32 value.
Parameters``:
avpcode- AVP code
avpvalue- AVP value
Returns: text_t
Creates new AVP based on given avp code and given unsigned64 value.
Parameters``:
avpcode- AVP code
avpvalue- AVP value
Returns: text_t
Creates new AVP based on given avp code and given unsigned64 value.
Parameters``:
avpcode- AVP code
avpvalue- AVP value
Returns: text_t
Creates new AVP based on given avp code and given unsigned64 value.
Parameters``:
avpcode- AVP code
avpvalue- AVP value
Returns: text_t
Creates new AVP based on given avp code and given unsigned64 value.
Parameters``:
avpcode- AVP code
avpvalue- AVP value
Returns: text_t
Creates new AVP based on given avp code and given unsigned64 value.
Parameters``:
avpcode- AVP code
avpvalue- AVP value
Returns: text_t
Creates new Vendor-Specific AVP with given vendor id and given value.
Parameters``:
vendorid- Vendor ID
avpvalue- AVP value as octet string
Returns: text_t
-
REQRetrieves header information and AVPs from radius requests.
Returns: radius_req_t
-
RESRetrieves header information and AVPs from radius responses.
Returns: radius_res_t
`