dns-suite.js/dns.opcodes.js

14 lines
261 B
JavaScript
Raw Normal View History

2018-03-19 16:31:44 +00:00
// (function (exports) {
2017-10-05 21:47:16 +00:00
'use strict';
var opcodes = exports.DNS_OPCODES = {
QUERY: 0x00 // 0
};
// and in reverse
Object.keys(opcodes).forEach(function (key) {
opcodes[opcodes[key]] = key;
});
2018-03-19 16:31:44 +00:00
// }('undefined' !== typeof window ? window : exports));