RTEMS CPU Kit with SuperCore
Macros | Functions | Variables
res_debug.c File Reference
#include <inttypes.h>
#include <sys/types.h>
#include <sys/param.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <arpa/nameser.h>
#include <ctype.h>
#include <errno.h>
#include <math.h>
#include <netdb.h>
#include <resolv.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <time.h>
Include dependency graph for res_debug.c:

Macros

#define SPRINTF(x)   sprintf x
 

Functions

void fp_resstat (struct __res_state *statp, FILE *file)
 
void p_query (const u_char *msg)
 
void fp_query (const u_char *msg, FILE *file)
 
void fp_nquery (const u_char *msg, int len, FILE *file)
 
const u_char * p_cdnname (const u_char *cp, const u_char *msg, int len, FILE *file)
 
const u_char * p_cdname (const u_char *cp, const u_char *msg, FILE *file)
 
const u_char * p_fqnname (const u_char *cp, const u_char *msg, int msglen, char *name, int namelen)
 
const u_char * p_fqname (const u_char *cp, const u_char *msg, FILE *file)
 
int sym_ston (const struct res_sym *syms, const char *name, int *success)
 
const char * sym_ntos (const struct res_sym *syms, int number, int *success)
 
const char * sym_ntop (const struct res_sym *syms, int number, int *success)
 
const char * p_type (int type)
 
const char * p_section (int section, int opcode)
 
const char * p_class (int class)
 
const char * p_option (u_long option)
 
const char * p_time (u_int32_t value)
 
int loc_aton (const char *ascii, u_char *binary)
 
const char * loc_ntoa (const u_char *binary, char *ascii)
 
int dn_count_labels (const char *name)
 
char * p_secstodate (u_long secs)
 

Variables

const char * _res_opcodes []
 
const char * _res_resultcodes []
 
const char * _res_sectioncodes []
 
const struct res_sym __p_class_syms []
 
const struct res_sym __p_default_section_syms []
 
const struct res_sym __p_update_section_syms []
 
const struct res_sym __p_type_syms []
 

Variable Documentation

◆ __p_class_syms

const struct res_sym __p_class_syms[]
Initial value:
= {
{C_IN, "IN", NULL},
{C_CHAOS, "CHAOS", NULL},
{C_HS, "HS", NULL},
{C_HS, "HESIOD", NULL},
{C_ANY, "ANY", NULL},
{C_NONE, "NONE", NULL},
{C_IN, (char *)0, NULL}
}

◆ __p_default_section_syms

const struct res_sym __p_default_section_syms[]
Initial value:
= {
{ns_s_qd, "QUERY", NULL},
{ns_s_an, "ANSWER", NULL},
{ns_s_ns, "AUTHORITY", NULL},
{ns_s_ar, "ADDITIONAL", NULL},
{0, (char *)0, NULL}
}

◆ __p_update_section_syms

const struct res_sym __p_update_section_syms[]
Initial value:
= {
{S_ZONE, "ZONE", NULL},
{S_PREREQ, "PREREQUISITE", NULL},
{S_UPDATE, "UPDATE", NULL},
{S_ADDT, "ADDITIONAL", NULL},
{0, (char *)0, NULL}
}