add OPCODES
This commit is contained in:
		
							parent
							
								
									b24345fe26
								
							
						
					
					
						commit
						0768e17bfa
					
				
							
								
								
									
										13
									
								
								dns.opcodes.js
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										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)); | ||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user