Spaces:
Sleeping
Sleeping
/* Copyright 1998, 2011 by the Massachusetts Institute of Technology. | |
* | |
* Permission to use, copy, modify, and distribute this | |
* software and its documentation for any purpose and without | |
* fee is hereby granted, provided that the above copyright | |
* notice appear in all copies and that both that copyright | |
* notice and this permission notice appear in supporting | |
* documentation, and that the name of M.I.T. not be used in | |
* advertising or publicity pertaining to distribution of the | |
* software without specific, written prior permission. | |
* M.I.T. makes no representations about the suitability of | |
* this software for any purpose. It is provided "as is" | |
* without express or implied warranty. | |
*/ | |
/* | |
* NOTE TO INTEGRATORS: | |
* | |
* This header is made public due to legacy projects relying on it. | |
* Please do not use the macros within this header, or include this | |
* header in your project as it may be removed in the future. | |
*/ | |
/* | |
* Macro DNS__16BIT reads a network short (16 bit) given in network | |
* byte order, and returns its value as an unsigned short. | |
*/ | |
/* | |
* Macro DNS__32BIT reads a network long (32 bit) given in network | |
* byte order, and returns its value as an unsigned int. | |
*/ | |
/* we cannot use this approach on systems where we can't access 16/32 bit | |
data on un-aligned addresses */ | |
/* Macros for parsing a DNS header */ | |
/* Macros for constructing a DNS header */ | |
/* Macros for parsing the fixed part of a DNS question */ | |
/* Macros for constructing the fixed part of a DNS question */ | |
/* Macros for parsing the fixed part of a DNS resource record */ | |
/* Macros for constructing the fixed part of a DNS resource record */ | |