For internal use only.
This test program is used to test the operation of the socket address manipulation functions.
Definition in file t_sockaddr_fcns.c.
#include "event-test.h"
#include <netinet/in.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <sys/socket.h>
#include <sys/types.h>
#include <sys/un.h>
Include dependency graph for t_sockaddr_fcns.c:
Go to the source code of this file.
Functions | |
unsigned int | value (const char *str) |
Translate a string into a value. | |
int | main (int argc, char **argv) |
Socket address test program. |
|
For internal use only. This program is used for testing the event library's socket address manipulation routines. Definition at line 91 of file t_sockaddr_fcns.c. References AT_IPv4, AT_IPv6, AT_LOCAL, AT_NONE, ev_prog_name, ev_test_init, prog, sa_ipaddrbuf, sa_ipaddrbuf_set(), sa_ipaddrport, sa_ipaddrport_set(), sa_localaddr, sa_localaddr_set(), sa_type, sa_type_set(), SOCK_ADDRBUFV4_LEN, SOCK_ADDRBUFV6_LEN, SOCK_LOCALADDR_LEN, sockaddr_atop(), sockaddr_export(), sockaddr_import(), sockaddr_ptoa(), and value(). Here is the call graph for this function: ![]() |
|
For internal use only. This function translates the given string into a numeric value.
Definition at line 56 of file t_sockaddr_fcns.c. References AT_IPv4, AT_IPv6, AT_LOCAL, and AT_NONE. Referenced by main(). |