|
nfs-ganesha 1.4
|
#include "config.h"#include <stdio.h>#include <sys/types.h>#include <stdlib.h>#include <netinet/in.h>#include <arpa/inet.h>#include "rpcal.h"Go to the source code of this file.
Defines | |
| #define | EQUALS(a, b, msg) |
| #define | CMP(a, b, n, msg) |
Functions | |
| int | fridgethr_get (pthread_t *pthrid, void *(*thrfunc)(void *), void *thrarg) |
| void * | rpc_tcp_socket_manager_thread (void *Arg) |
| void | Fatal (void) |
| int | DisplayLogComponentLevel (log_components_t component, char *function, log_levels_t level, char *format,...) |
| void | GetNameFunction (char *name, int len) |
| void | create_ipv4 (char *ip, int port, struct sockaddr_in *addr) |
| void | create_ipv6 (char *ip, int port, struct sockaddr_in6 *addr) |
| void | init () |
| void | ipv4check () |
| void | ipv6check () |
| void | ipv4print () |
| void | ipv6print () |
| void | ipv4cmp () |
| void | ipv6cmp () |
| int | main () |
Variables | |
| sockaddr_t | ipv4a |
| sockaddr_t | ipv4b |
| sockaddr_t | ipv4c |
| sockaddr_t | ipv6a |
| sockaddr_t | ipv6b |
| sockaddr_t | ipv6c |
| #define CMP | ( | a, | |
| b, | |||
| n, | |||
| msg | |||
| ) |
do { \ if (strncmp(a, b, n) != 0) { \ printf(msg "\n"); \ exit(1); \ } \ } while(0)
Definition at line 48 of file test_rpctools.c.
| #define EQUALS | ( | a, | |
| b, | |||
| msg | |||
| ) |
do { \ if (a != b) { \ printf(msg "\n"); \ exit(1); \ } \ } while(0)
Definition at line 41 of file test_rpctools.c.
| void create_ipv4 | ( | char * | ip, |
| int | port, | ||
| struct sockaddr_in * | addr | ||
| ) |
Definition at line 62 of file test_rpctools.c.
| void create_ipv6 | ( | char * | ip, |
| int | port, | ||
| struct sockaddr_in6 * | addr | ||
| ) |
Definition at line 70 of file test_rpctools.c.
| int DisplayLogComponentLevel | ( | log_components_t | component, |
| char * | function, | ||
| log_levels_t | level, | ||
| char * | format, | ||
| ... | |||
| ) |
Definition at line 29 of file test_rpctools.c.
| void Fatal | ( | void | ) |
Definition at line 24 of file test_rpctools.c.
| int fridgethr_get | ( | pthread_t * | pthrid, |
| void *(*)(void *) | thrfunc, | ||
| void * | thrarg | ||
| ) |
Definition at line 13 of file test_rpctools.c.
| void GetNameFunction | ( | char * | name, |
| int | len | ||
| ) |
Definition at line 37 of file test_rpctools.c.
| void init | ( | ) |
Definition at line 78 of file test_rpctools.c.
| void ipv4check | ( | ) |
Definition at line 90 of file test_rpctools.c.
| void ipv4cmp | ( | ) |
Definition at line 141 of file test_rpctools.c.
| void ipv4print | ( | ) |
Definition at line 111 of file test_rpctools.c.
| void ipv6check | ( | ) |
Definition at line 102 of file test_rpctools.c.
| void ipv6cmp | ( | ) |
Definition at line 148 of file test_rpctools.c.
| void ipv6print | ( | ) |
Definition at line 126 of file test_rpctools.c.
| int main | ( | void | ) |
Definition at line 155 of file test_rpctools.c.
| void* rpc_tcp_socket_manager_thread | ( | void * | Arg | ) |
Definition at line 18 of file test_rpctools.c.
Definition at line 55 of file test_rpctools.c.
Definition at line 56 of file test_rpctools.c.
Definition at line 57 of file test_rpctools.c.
Definition at line 58 of file test_rpctools.c.
Definition at line 59 of file test_rpctools.c.
Definition at line 60 of file test_rpctools.c.
1.7.3