add OPCODES

This commit is contained in:
AJ ONeal 2017-10-05 15:47:16 -06:00
父節點 b24345fe26
當前提交 0768e17bfa
共有 1 個文件被更改,包括 13 次插入0 次删除

13
dns.opcodes.js Normal file
查看文件

@ -0,0 +1,13 @@
(function (exports) {
'use strict';
var opcodes = exports.DNS_OPCODES = {
QUERY: 0x00 // 0
};
// and in reverse
Object.keys(opcodes).forEach(function (key) {
opcodes[opcodes[key]] = key;
});
}('undefined' !== typeof window ? window : exports));