RTEMS CPU Kit with SuperCore
Macros | Enumerations | Functions
getnetnamadr.c File Reference
#include <sys/param.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <netdb.h>
#include <stdio.h>
#include <ctype.h>
#include <errno.h>
#include <string.h>
Include dependency graph for getnetnamadr.c:

Macros

#define _PATH_NETCONF   "/etc/host.conf"
 
#define SERVICE_MAX   SERVICE_NIS
 

Enumerations

enum  service_type {
  SERVICE_NONE = 0, SERVICE_BIND, SERVICE_HOSTS, SERVICE_NIS,
  SERVICE_NONE = 0, SERVICE_BIND, SERVICE_TABLE, SERVICE_NIS
}
 

Functions

struct netentgetnetbyname (const char *name)
 
struct netentgetnetbyaddr (uint32_t addr, int af)
 
void setnetent (int stayopen)
 
void endnetent (void)