#include <unistd.h>
#include <sys/time.h>
#include <sys/socket.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include "pcp_socket.h"
Go to the source code of this file.
|
#define | SA struct sockaddr |
|
|
char * | sock_ntop (const SA *, socklen_t) |
|
char * | sock_ntop_host (const SA *, socklen_t) |
|
char * | Sock_ntop (const SA *, socklen_t) |
|
char * | Sock_ntop_host (const SA *, socklen_t) |
|
int | Sockfd_to_family (int) |
|
int | sock_pton (const char *cp, struct sockaddr *sa) |
|
int | sock_pton_with_prefix (const char *cp, struct sockaddr *sa, int *int_prefix) |
|
struct sockaddr * | Sock_pton (const char *cp) |
|
void | err_dump (const char *,...) |
|
void | err_msg (const char *,...) |
|
void | err_quit (const char *,...) |
|
void | err_ret (const char *,...) |
|
void | err_sys (const char *,...) |
|
◆ SA
#define SA struct sockaddr |
Definition at line 42 of file unp.h.
◆ err_dump()
void err_dump |
( |
const char * |
, |
|
|
|
... |
|
) |
| |
◆ err_msg()
void err_msg |
( |
const char * |
, |
|
|
|
... |
|
) |
| |
◆ err_quit()
void err_quit |
( |
const char * |
, |
|
|
|
... |
|
) |
| |
◆ err_ret()
void err_ret |
( |
const char * |
, |
|
|
|
... |
|
) |
| |
◆ err_sys()
void err_sys |
( |
const char * |
, |
|
|
|
... |
|
) |
| |
◆ sock_ntop()
char * sock_ntop |
( |
const SA * |
, |
|
|
socklen_t |
|
|
) |
| |
◆ Sock_ntop()
char * Sock_ntop |
( |
const SA * |
, |
|
|
socklen_t |
|
|
) |
| |
◆ sock_ntop_host()
char * sock_ntop_host |
( |
const SA * |
, |
|
|
socklen_t |
|
|
) |
| |
◆ Sock_ntop_host()
char * Sock_ntop_host |
( |
const SA * |
, |
|
|
socklen_t |
|
|
) |
| |
◆ Sock_pton()
struct sockaddr * Sock_pton |
( |
const char * |
cp | ) |
|
◆ sock_pton()
int sock_pton |
( |
const char * |
cp, |
|
|
struct sockaddr * |
sa |
|
) |
| |
◆ sock_pton_with_prefix()
int sock_pton_with_prefix |
( |
const char * |
cp, |
|
|
struct sockaddr * |
sa, |
|
|
int * |
int_prefix |
|
) |
| |
◆ Sockfd_to_family()
int Sockfd_to_family |
( |
int |
| ) |
|