Module radius::core::rfc2867[][src]

Utility for rfc2867 packet.

This module handles the packet according to the following definition:

//! # -*- text -*-
# Copyright (C) 2020 The FreeRADIUS Server project and contributors
# This work is licensed under CC-BY version 4.0 https://creativecommons.org/licenses/by/4.0
# Version $Id$
#
#	Attributes and values defined in RFC 2867.
#	http://www.ietf.org/rfc/rfc2867.txt
#
#	$Id$
#
ATTRIBUTE	Acct-Tunnel-Connection			68	string
ATTRIBUTE	Acct-Tunnel-Packets-Lost		86	integer

VALUE	Acct-Status-Type		Tunnel-Start		9
VALUE	Acct-Status-Type		Tunnel-Stop		10
VALUE	Acct-Status-Type		Tunnel-Reject		11
VALUE	Acct-Status-Type		Tunnel-Link-Start	12
VALUE	Acct-Status-Type		Tunnel-Link-Stop	13
VALUE	Acct-Status-Type		Tunnel-Link-Reject	14

Constants

ACCT_STATUS_TYPE_TUNNEL_LINK_REJECT
ACCT_STATUS_TYPE_TUNNEL_LINK_START
ACCT_STATUS_TYPE_TUNNEL_LINK_STOP
ACCT_STATUS_TYPE_TUNNEL_REJECT
ACCT_STATUS_TYPE_TUNNEL_START
ACCT_STATUS_TYPE_TUNNEL_STOP
ACCT_TUNNEL_CONNECTION_TYPE
ACCT_TUNNEL_PACKETS_LOST_TYPE

Functions

add_acct_tunnel_connection

Add acct_tunnel_connection string value to a packet.

add_acct_tunnel_packets_lost

Add acct_tunnel_packets_lost integer value to a packet.

delete_acct_tunnel_connection

Delete all of acct_tunnel_connection values from a packet.

delete_acct_tunnel_packets_lost

Delete all of acct_tunnel_packets_lost values from a packet.

lookup_acct_tunnel_connection

Lookup a acct_tunnel_connection string value from a packet.

lookup_acct_tunnel_packets_lost

Lookup a acct_tunnel_packets_lost integer value from a packet.

lookup_all_acct_tunnel_connection

Lookup all of the acct_tunnel_connection string value from a packet.

lookup_all_acct_tunnel_packets_lost

Lookup all of the acct_tunnel_packets_lost integer value from a packet.