diff options
author | JINMEI Tatuya <jinmei@isc.org> | 2010-09-21 13:38:58 +0200 |
---|---|---|
committer | JINMEI Tatuya <jinmei@isc.org> | 2010-09-21 13:38:58 +0200 |
commit | 8b8bfbe1ed9577be89ca6be3cc6ba2187172d255 (patch) | |
tree | a8651db490d46460679ae06f5d9a549c100fab28 /src/lib/dns/edns.cc | |
parent | - completed documentation of the EDNS class (diff) | |
download | kea-8b8bfbe1ed9577be89ca6be3cc6ba2187172d255.tar.xz kea-8b8bfbe1ed9577be89ca6be3cc6ba2187172d255.zip |
added some more descriptive comments
git-svn-id: svn://bind10.isc.org/svn/bind10/branches/trac311@2999 e5f2f494-b856-4b98-b285-d166d9295462
Diffstat (limited to 'src/lib/dns/edns.cc')
-rw-r--r-- | src/lib/dns/edns.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/dns/edns.cc b/src/lib/dns/edns.cc index ff6aec65e6..d0c14cb74a 100644 --- a/src/lib/dns/edns.cc +++ b/src/lib/dns/edns.cc @@ -53,10 +53,11 @@ namespace { // <= VERSION_SHIFT (16 bits) // <= EXTRCODE_SHIFT (24 bits) //EXTFLAG_DO:0 0 0 ....................... 0 1 0 0 0 0.....................0 +//VER_MASK: 0 0 0 ........0 1 1 1 1 1 1 1 1 0 0 ..........................0 -const uint32_t VERSION_MASK = 0x00ff0000; const unsigned int VERSION_SHIFT = 16; const unsigned int EXTRCODE_SHIFT = 24; +const uint32_t VERSION_MASK = 0x00ff0000; const uint32_t EXTFLAG_DO = 0x00008000; } |