Documentation ¶
Index ¶
Constants ¶
View Source
const (
ErrorCause_Type radius.Type = 101
)
View Source
const (
ServiceType_Value_AuthorizeOnly ServiceType = 17
)
Variables ¶
View Source
var ErrorCause_Strings = map[ErrorCause]string{ ErrorCause_Value_ResidualContextRemoved: "Residual-Context-Removed", ErrorCause_Value_InvalidEAPPacket: "Invalid-EAP-Packet", ErrorCause_Value_UnsupportedAttribute: "Unsupported-Attribute", ErrorCause_Value_MissingAttribute: "Missing-Attribute", ErrorCause_Value_NASIdentificationMismatch: "NAS-Identification-Mismatch", ErrorCause_Value_InvalidRequest: "Invalid-Request", ErrorCause_Value_UnsupportedService: "Unsupported-Service", ErrorCause_Value_UnsupportedExtension: "Unsupported-Extension", ErrorCause_Value_AdministrativelyProhibited: "Administratively-Prohibited", ErrorCause_Value_ProxyRequestNotRoutable: "Proxy-Request-Not-Routable", ErrorCause_Value_SessionContextNotFound: "Session-Context-Not-Found", ErrorCause_Value_SessionContextNotRemovable: "Session-Context-Not-Removable", ErrorCause_Value_ProxyProcessingError: "Proxy-Processing-Error", ErrorCause_Value_ResourcesUnavailable: "Resources-Unavailable", ErrorCause_Value_RequestInitiated: "Request-Initiated", }
Functions ¶
func ErrorCause_Add ¶
func ErrorCause_Add(p *radius.Packet, value ErrorCause) (err error)
func ErrorCause_Del ¶
func ErrorCause_Set ¶
func ErrorCause_Set(p *radius.Packet, value ErrorCause) (err error)
Types ¶
type ErrorCause ¶
type ErrorCause uint32
const ( ErrorCause_Value_ResidualContextRemoved ErrorCause = 201 ErrorCause_Value_InvalidEAPPacket ErrorCause = 202 ErrorCause_Value_UnsupportedAttribute ErrorCause = 401 ErrorCause_Value_MissingAttribute ErrorCause = 402 ErrorCause_Value_NASIdentificationMismatch ErrorCause = 403 ErrorCause_Value_InvalidRequest ErrorCause = 404 ErrorCause_Value_UnsupportedService ErrorCause = 405 ErrorCause_Value_UnsupportedExtension ErrorCause = 406 ErrorCause_Value_AdministrativelyProhibited ErrorCause = 501 ErrorCause_Value_ProxyRequestNotRoutable ErrorCause = 502 ErrorCause_Value_SessionContextNotFound ErrorCause = 503 ErrorCause_Value_SessionContextNotRemovable ErrorCause = 504 ErrorCause_Value_ProxyProcessingError ErrorCause = 505 ErrorCause_Value_RequestInitiated ErrorCause = 507 )
func ErrorCause_Get ¶
func ErrorCause_Get(p *radius.Packet) (value ErrorCause)
func ErrorCause_Gets ¶
func ErrorCause_Gets(p *radius.Packet) (values []ErrorCause, err error)
func ErrorCause_Lookup ¶
func ErrorCause_Lookup(p *radius.Packet) (value ErrorCause, err error)
func (ErrorCause) String ¶
func (a ErrorCause) String() string
Click to show internal directories.
Click to hide internal directories.