RTEMS CPU Kit with SuperCore
Data Structures | Macros | Functions | Variables
getnetbydns.c File Reference
#include <sys/param.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <arpa/nameser.h>
#include <stdio.h>
#include <netdb.h>
#include <resolv.h>
#include <ctype.h>
#include <errno.h>
#include <string.h>
#include <unistd.h>
#include <syslog.h>
#include "res_config.h"
Include dependency graph for getnetbydns.c:

Data Structures

union  querybuf
 
union  align
 

Macros

#define BYADDR   0
 
#define BYNAME   1
 
#define MAXALIASES   35
 
#define MAXPACKET   1024
 

Functions

struct netent_getnetbydnsaddr (register unsigned long net, register int net_type)
 
struct netent_getnetbydnsname (register const char *net)
 
void _setnetdnsent (int stayopen)
 
void _endnetdnsent (void)
 

Variables

int h_errno