Project Alice
Loading...
Searching...
No Matches
sock_ntop.c File Reference
#include "default_config.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <netdb.h>
#include <errno.h>
#include <ctype.h>
#include "pcp_utils.h"
#include "unp.h"
Include dependency graph for sock_ntop.c:

Go to the source code of this file.

Functions

char * sock_ntop (const struct sockaddr *sa, socklen_t salen)
 
char * Sock_ntop (const struct sockaddr *sa, socklen_t salen)
 
int sock_pton (const char *cp, struct sockaddr *sa)
 
struct sockaddr * Sock_pton (const char *cp)
 
int sock_pton_with_prefix (const char *cp, struct sockaddr *sa, int *int_prefix)
 

Function Documentation

◆ sock_ntop()

char * sock_ntop ( const struct sockaddr *  sa,
socklen_t  salen 
)

Definition at line 58 of file sock_ntop.c.

Here is the caller graph for this function:

◆ Sock_ntop()

char * Sock_ntop ( const struct sockaddr *  sa,
socklen_t  salen 
)

Definition at line 109 of file sock_ntop.c.

Here is the call graph for this function:

◆ Sock_pton()

struct sockaddr * Sock_pton ( const char *  cp)

Definition at line 217 of file sock_ntop.c.

Here is the call graph for this function:

◆ sock_pton()

int sock_pton ( const char *  cp,
struct sockaddr *  sa 
)

Definition at line 119 of file sock_ntop.c.

Here is the caller graph for this function:

◆ sock_pton_with_prefix()

int sock_pton_with_prefix ( const char *  cp,
struct sockaddr *  sa,
int *  int_prefix 
)

Definition at line 228 of file sock_ntop.c.