rfc2866

package
v0.0.0-...-849811e Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 10, 2023 License: MPL-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AcctStatusType_Type     radius.Type = 40
	AcctDelayTime_Type      radius.Type = 41
	AcctInputOctets_Type    radius.Type = 42
	AcctOutputOctets_Type   radius.Type = 43
	AcctSessionID_Type      radius.Type = 44
	AcctAuthentic_Type      radius.Type = 45
	AcctSessionTime_Type    radius.Type = 46
	AcctInputPackets_Type   radius.Type = 47
	AcctOutputPackets_Type  radius.Type = 48
	AcctTerminateCause_Type radius.Type = 49
	AcctMultiSessionID_Type radius.Type = 50
	AcctLinkCount_Type      radius.Type = 51
)

Variables

View Source
var AcctDelayTime_Strings = map[AcctDelayTime]string{}
View Source
var AcctInputOctets_Strings = map[AcctInputOctets]string{}
View Source
var AcctInputPackets_Strings = map[AcctInputPackets]string{}
View Source
var AcctLinkCount_Strings = map[AcctLinkCount]string{}
View Source
var AcctOutputOctets_Strings = map[AcctOutputOctets]string{}
View Source
var AcctOutputPackets_Strings = map[AcctOutputPackets]string{}
View Source
var AcctSessionTime_Strings = map[AcctSessionTime]string{}

Functions

func AcctAuthentic_Add

func AcctAuthentic_Add(p *radius.Packet, value AcctAuthentic) (err error)

func AcctAuthentic_Del

func AcctAuthentic_Del(p *radius.Packet)

func AcctAuthentic_Set

func AcctAuthentic_Set(p *radius.Packet, value AcctAuthentic) (err error)

func AcctDelayTime_Add

func AcctDelayTime_Add(p *radius.Packet, value AcctDelayTime) (err error)

func AcctDelayTime_Del

func AcctDelayTime_Del(p *radius.Packet)

func AcctDelayTime_Set

func AcctDelayTime_Set(p *radius.Packet, value AcctDelayTime) (err error)

func AcctInputOctets_Add

func AcctInputOctets_Add(p *radius.Packet, value AcctInputOctets) (err error)

func AcctInputOctets_Del

func AcctInputOctets_Del(p *radius.Packet)

func AcctInputOctets_Set

func AcctInputOctets_Set(p *radius.Packet, value AcctInputOctets) (err error)

func AcctInputPackets_Add

func AcctInputPackets_Add(p *radius.Packet, value AcctInputPackets) (err error)

func AcctInputPackets_Del

func AcctInputPackets_Del(p *radius.Packet)

func AcctInputPackets_Set

func AcctInputPackets_Set(p *radius.Packet, value AcctInputPackets) (err error)

func AcctLinkCount_Add

func AcctLinkCount_Add(p *radius.Packet, value AcctLinkCount) (err error)

func AcctLinkCount_Del

func AcctLinkCount_Del(p *radius.Packet)

func AcctLinkCount_Set

func AcctLinkCount_Set(p *radius.Packet, value AcctLinkCount) (err error)

func AcctMultiSessionID_Add

func AcctMultiSessionID_Add(p *radius.Packet, value []byte) (err error)

func AcctMultiSessionID_AddString

func AcctMultiSessionID_AddString(p *radius.Packet, value string) (err error)

func AcctMultiSessionID_Del

func AcctMultiSessionID_Del(p *radius.Packet)

func AcctMultiSessionID_Get

func AcctMultiSessionID_Get(p *radius.Packet) (value []byte)

func AcctMultiSessionID_GetString

func AcctMultiSessionID_GetString(p *radius.Packet) (value string)

func AcctMultiSessionID_GetStrings

func AcctMultiSessionID_GetStrings(p *radius.Packet) (values []string, err error)

func AcctMultiSessionID_Gets

func AcctMultiSessionID_Gets(p *radius.Packet) (values [][]byte, err error)

func AcctMultiSessionID_Lookup

func AcctMultiSessionID_Lookup(p *radius.Packet) (value []byte, err error)

func AcctMultiSessionID_LookupString

func AcctMultiSessionID_LookupString(p *radius.Packet) (value string, err error)

func AcctMultiSessionID_Set

func AcctMultiSessionID_Set(p *radius.Packet, value []byte) (err error)

func AcctMultiSessionID_SetString

func AcctMultiSessionID_SetString(p *radius.Packet, value string) (err error)

func AcctOutputOctets_Add

func AcctOutputOctets_Add(p *radius.Packet, value AcctOutputOctets) (err error)

func AcctOutputOctets_Del

func AcctOutputOctets_Del(p *radius.Packet)

func AcctOutputOctets_Set

func AcctOutputOctets_Set(p *radius.Packet, value AcctOutputOctets) (err error)

func AcctOutputPackets_Add

func AcctOutputPackets_Add(p *radius.Packet, value AcctOutputPackets) (err error)

func AcctOutputPackets_Del

func AcctOutputPackets_Del(p *radius.Packet)

func AcctOutputPackets_Set

func AcctOutputPackets_Set(p *radius.Packet, value AcctOutputPackets) (err error)

func AcctSessionID_Add

func AcctSessionID_Add(p *radius.Packet, value []byte) (err error)

func AcctSessionID_AddString

func AcctSessionID_AddString(p *radius.Packet, value string) (err error)

func AcctSessionID_Del

func AcctSessionID_Del(p *radius.Packet)

func AcctSessionID_Get

func AcctSessionID_Get(p *radius.Packet) (value []byte)

func AcctSessionID_GetString

func AcctSessionID_GetString(p *radius.Packet) (value string)

func AcctSessionID_GetStrings

func AcctSessionID_GetStrings(p *radius.Packet) (values []string, err error)

func AcctSessionID_Gets

func AcctSessionID_Gets(p *radius.Packet) (values [][]byte, err error)

func AcctSessionID_Lookup

func AcctSessionID_Lookup(p *radius.Packet) (value []byte, err error)

func AcctSessionID_LookupString

func AcctSessionID_LookupString(p *radius.Packet) (value string, err error)

func AcctSessionID_Set

func AcctSessionID_Set(p *radius.Packet, value []byte) (err error)

func AcctSessionID_SetString

func AcctSessionID_SetString(p *radius.Packet, value string) (err error)

func AcctSessionTime_Add

func AcctSessionTime_Add(p *radius.Packet, value AcctSessionTime) (err error)

func AcctSessionTime_Del

func AcctSessionTime_Del(p *radius.Packet)

func AcctSessionTime_Set

func AcctSessionTime_Set(p *radius.Packet, value AcctSessionTime) (err error)

func AcctStatusType_Add

func AcctStatusType_Add(p *radius.Packet, value AcctStatusType) (err error)

func AcctStatusType_Del

func AcctStatusType_Del(p *radius.Packet)

func AcctStatusType_Set

func AcctStatusType_Set(p *radius.Packet, value AcctStatusType) (err error)

func AcctTerminateCause_Add

func AcctTerminateCause_Add(p *radius.Packet, value AcctTerminateCause) (err error)

func AcctTerminateCause_Del

func AcctTerminateCause_Del(p *radius.Packet)

func AcctTerminateCause_Set

func AcctTerminateCause_Set(p *radius.Packet, value AcctTerminateCause) (err error)

Types

type AcctAuthentic

type AcctAuthentic uint32
const (
	AcctAuthentic_Value_RADIUS   AcctAuthentic = 1
	AcctAuthentic_Value_Local    AcctAuthentic = 2
	AcctAuthentic_Value_Remote   AcctAuthentic = 3
	AcctAuthentic_Value_Diameter AcctAuthentic = 4
)

func AcctAuthentic_Get

func AcctAuthentic_Get(p *radius.Packet) (value AcctAuthentic)

func AcctAuthentic_Gets

func AcctAuthentic_Gets(p *radius.Packet) (values []AcctAuthentic, err error)

func AcctAuthentic_Lookup

func AcctAuthentic_Lookup(p *radius.Packet) (value AcctAuthentic, err error)

func (AcctAuthentic) String

func (a AcctAuthentic) String() string

type AcctDelayTime

type AcctDelayTime uint32

func AcctDelayTime_Get

func AcctDelayTime_Get(p *radius.Packet) (value AcctDelayTime)

func AcctDelayTime_Gets

func AcctDelayTime_Gets(p *radius.Packet) (values []AcctDelayTime, err error)

func AcctDelayTime_Lookup

func AcctDelayTime_Lookup(p *radius.Packet) (value AcctDelayTime, err error)

func (AcctDelayTime) String

func (a AcctDelayTime) String() string

type AcctInputOctets

type AcctInputOctets uint32

func AcctInputOctets_Get

func AcctInputOctets_Get(p *radius.Packet) (value AcctInputOctets)

func AcctInputOctets_Gets

func AcctInputOctets_Gets(p *radius.Packet) (values []AcctInputOctets, err error)

func AcctInputOctets_Lookup

func AcctInputOctets_Lookup(p *radius.Packet) (value AcctInputOctets, err error)

func (AcctInputOctets) String

func (a AcctInputOctets) String() string

type AcctInputPackets

type AcctInputPackets uint32

func AcctInputPackets_Get

func AcctInputPackets_Get(p *radius.Packet) (value AcctInputPackets)

func AcctInputPackets_Gets

func AcctInputPackets_Gets(p *radius.Packet) (values []AcctInputPackets, err error)

func AcctInputPackets_Lookup

func AcctInputPackets_Lookup(p *radius.Packet) (value AcctInputPackets, err error)

func (AcctInputPackets) String

func (a AcctInputPackets) String() string

type AcctLinkCount

type AcctLinkCount uint32

func AcctLinkCount_Get

func AcctLinkCount_Get(p *radius.Packet) (value AcctLinkCount)

func AcctLinkCount_Gets

func AcctLinkCount_Gets(p *radius.Packet) (values []AcctLinkCount, err error)

func AcctLinkCount_Lookup

func AcctLinkCount_Lookup(p *radius.Packet) (value AcctLinkCount, err error)

func (AcctLinkCount) String

func (a AcctLinkCount) String() string

type AcctOutputOctets

type AcctOutputOctets uint32

func AcctOutputOctets_Get

func AcctOutputOctets_Get(p *radius.Packet) (value AcctOutputOctets)

func AcctOutputOctets_Gets

func AcctOutputOctets_Gets(p *radius.Packet) (values []AcctOutputOctets, err error)

func AcctOutputOctets_Lookup

func AcctOutputOctets_Lookup(p *radius.Packet) (value AcctOutputOctets, err error)

func (AcctOutputOctets) String

func (a AcctOutputOctets) String() string

type AcctOutputPackets

type AcctOutputPackets uint32

func AcctOutputPackets_Get

func AcctOutputPackets_Get(p *radius.Packet) (value AcctOutputPackets)

func AcctOutputPackets_Gets

func AcctOutputPackets_Gets(p *radius.Packet) (values []AcctOutputPackets, err error)

func AcctOutputPackets_Lookup

func AcctOutputPackets_Lookup(p *radius.Packet) (value AcctOutputPackets, err error)

func (AcctOutputPackets) String

func (a AcctOutputPackets) String() string

type AcctSessionTime

type AcctSessionTime uint32

func AcctSessionTime_Get

func AcctSessionTime_Get(p *radius.Packet) (value AcctSessionTime)

func AcctSessionTime_Gets

func AcctSessionTime_Gets(p *radius.Packet) (values []AcctSessionTime, err error)

func AcctSessionTime_Lookup

func AcctSessionTime_Lookup(p *radius.Packet) (value AcctSessionTime, err error)

func (AcctSessionTime) String

func (a AcctSessionTime) String() string

type AcctStatusType

type AcctStatusType uint32
const (
	AcctStatusType_Value_Start         AcctStatusType = 1
	AcctStatusType_Value_Stop          AcctStatusType = 2
	AcctStatusType_Value_InterimUpdate AcctStatusType = 3
	AcctStatusType_Value_AccountingOn  AcctStatusType = 7
	AcctStatusType_Value_AccountingOff AcctStatusType = 8
	AcctStatusType_Value_Failed        AcctStatusType = 15
)

func AcctStatusType_Get

func AcctStatusType_Get(p *radius.Packet) (value AcctStatusType)

func AcctStatusType_Gets

func AcctStatusType_Gets(p *radius.Packet) (values []AcctStatusType, err error)

func AcctStatusType_Lookup

func AcctStatusType_Lookup(p *radius.Packet) (value AcctStatusType, err error)

func (AcctStatusType) String

func (a AcctStatusType) String() string

type AcctTerminateCause

type AcctTerminateCause uint32
const (
	AcctTerminateCause_Value_UserRequest        AcctTerminateCause = 1
	AcctTerminateCause_Value_LostCarrier        AcctTerminateCause = 2
	AcctTerminateCause_Value_LostService        AcctTerminateCause = 3
	AcctTerminateCause_Value_IdleTimeout        AcctTerminateCause = 4
	AcctTerminateCause_Value_SessionTimeout     AcctTerminateCause = 5
	AcctTerminateCause_Value_AdminReset         AcctTerminateCause = 6
	AcctTerminateCause_Value_AdminReboot        AcctTerminateCause = 7
	AcctTerminateCause_Value_PortError          AcctTerminateCause = 8
	AcctTerminateCause_Value_NASError           AcctTerminateCause = 9
	AcctTerminateCause_Value_NASRequest         AcctTerminateCause = 10
	AcctTerminateCause_Value_NASReboot          AcctTerminateCause = 11
	AcctTerminateCause_Value_PortUnneeded       AcctTerminateCause = 12
	AcctTerminateCause_Value_PortPreempted      AcctTerminateCause = 13
	AcctTerminateCause_Value_PortSuspended      AcctTerminateCause = 14
	AcctTerminateCause_Value_ServiceUnavailable AcctTerminateCause = 15
	AcctTerminateCause_Value_Callback           AcctTerminateCause = 16
	AcctTerminateCause_Value_UserError          AcctTerminateCause = 17
	AcctTerminateCause_Value_HostRequest        AcctTerminateCause = 18
)

func AcctTerminateCause_Get

func AcctTerminateCause_Get(p *radius.Packet) (value AcctTerminateCause)

func AcctTerminateCause_Gets

func AcctTerminateCause_Gets(p *radius.Packet) (values []AcctTerminateCause, err error)

func AcctTerminateCause_Lookup

func AcctTerminateCause_Lookup(p *radius.Packet) (value AcctTerminateCause, err error)

func (AcctTerminateCause) String

func (a AcctTerminateCause) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL