Allocate non-code memory using mono_domain_alloc0 in mono_create_jit_trampoline_from_...
[mono.git] / mcs / class / System / Mono.Dns / DnsRCode.cs
1 //
2 // Mono.Dns.DnsRCode
3 //
4 // Authors:
5 //      Gonzalo Paniagua Javier (gonzalo.mono@gmail.com)
6 //
7 // Copyright 2011 Gonzalo Paniagua Javier
8 //
9 // Licensed under the Apache License, Version 2.0 (the "License");
10 // you may not use this file except in compliance with the License.
11 // You may obtain a copy of the License at
12 //
13 // http://www.apache.org/licenses/LICENSE-2.0
14 //
15 // Unless required by applicable law or agreed to in writing, software
16 // distributed under the License is distributed on an "AS IS" BASIS,
17 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18 // See the License for the specific language governing permissions and
19 // limitations under the License.
20 //
21 namespace Mono.Dns {
22         enum DnsRCode : ushort {
23                 NoError = 0,
24                 FormErr = 1,
25                 ServFail = 2,
26                 NXDomain = 3,
27                 NotImp = 4,
28                 Refused = 5,
29                 YXDomain = 6,
30                 YXRRSet = 7,
31                 NXRRSet = 8,
32                 NotAuth = 9,
33                 NotZone = 10,
34                 BadVers = 16,
35                 BadSig = 16,
36                 BadKey = 17,
37                 BadTime = 18,
38                 BadMode = 19,
39                 BadName = 20,
40                 BadAlg = 21,
41                 BadTrunc = 22,
42         }
43 }
44