Coda Distributed File System
Functions
compat.c File Reference
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <stdio.h>
#include <string.h>
#include <errno.h>
Include dependency graph for compat.c:

Functions

int inet_aton (const char *str, struct in_addr *out)
 
char * inet_ntoa (struct in_addr in)
 
int inet_pton (int af, const char *str, void *dst)
 
const char * inet_ntop (int af, const void *src, char *dst, size_t cnt)
 

Function Documentation

◆ inet_aton()

int inet_aton ( const char *  str,
struct in_addr *  out 
)

◆ inet_ntoa()

char * inet_ntoa ( struct in_addr  in)

◆ inet_ntop()

const char * inet_ntop ( int  af,
const void *  src,
char *  dst,
size_t  cnt 
)

◆ inet_pton()

int inet_pton ( int  af,
const char *  str,
void *  dst 
)