forked from fiorix/go-diameter
-
Notifications
You must be signed in to change notification settings - Fork 1
/
codes.go
42 lines (40 loc) · 1.23 KB
/
codes.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
// Copyright 2013-2015 go-diameter authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
package diam
// Diameter codes for the Result-Code AVP.
const (
MultiRoundAuth = 1001
Success = 2001
LimitedSuccess = 2002
CommandUnsupported = 3001
UnableToDeliver = 3002
RealmNotServed = 3003
TooBusy = 3004
LoopDetected = 3005
RedirectIndication = 3006
ApplicationUnsupported = 3007
InvalidHDRBits = 3008
InvalidAVPBits = 3009
UnknownPeer = 3010
AuthenticationRejected = 4001
OutOfSpace = 4002
ElectionLost = 4003
AVPUnsupported = 5001
UnknownSessionID = 5002
AuthorizationRejected = 5003
InvalidAVPValue = 5004
MissingAVP = 5005
ResourcesExceeded = 5006
ContradictingAVPs = 5007
AVPNotAllowed = 5008
AVPOccursTooManyTimes = 5009
NoCommonApplication = 5010
UnsupportedVersion = 5011
UnableToComply = 5012
InvalidBitInHeader = 5013
InvalidAVPLenght = 5014
InvalidMessageLength = 5015
InvalidAVPBitCombo = 5016
NoCommonSecurity = 5017
)