|
nfs-ganesha 1.4
|
#include "ganesha_rpc.h"#include "config_parsing.h"#include "nfs_stat.h"#include "nfs_ip_stats.h"#include <stdlib.h>#include <string.h>#include <arpa/inet.h>#include "../MainNFSD/nfs_init.h"#include "nfs23.h"Go to the source code of this file.
| #define CMP | ( | a, | |
| b, | |||
| n, | |||
| msg | |||
| ) |
do { \ if (strncmp(a, b, n) != 0) { \ printf(msg "\n"); \ exit(1); \ } \ } while(0)
Definition at line 27 of file test_nfs_ip_stats.c.
| #define EQUALS | ( | a, | |
| b, | |||
| msg, | |||
| args... | |||
| ) |
do { \ if (a != b) { \ printf(msg "\n", ## args); \ exit(1); \ } \ } while(0)
Definition at line 20 of file test_nfs_ip_stats.c.
| #define MOUNT_PROGRAM 100005 |
Definition at line 12 of file test_nfs_ip_stats.c.
| void create_ipv4 | ( | char * | ip, |
| int | port, | ||
| struct sockaddr_in * | addr | ||
| ) |
Definition at line 46 of file test_nfs_ip_stats.c.
| void create_ipv6 | ( | char * | ip, |
| int | port, | ||
| struct sockaddr_in6 * | addr | ||
| ) |
Definition at line 54 of file test_nfs_ip_stats.c.
| void create_svc_req | ( | struct svc_req * | req, |
| rpcvers_t | ver, | ||
| rpcprog_t | prog, | ||
| rpcproc_t | proc | ||
| ) |
Definition at line 62 of file test_nfs_ip_stats.c.
| void init | ( | ) |
Definition at line 87 of file test_nfs_ip_stats.c.
| int main | ( | void | ) |
Definition at line 323 of file test_nfs_ip_stats.c.
| void nfs_set_ip_stats_param_default | ( | ) |
Definition at line 70 of file test_nfs_ip_stats.c.
| void* rpc_tcp_socket_manager_thread | ( | void * | Arg | ) |
Definition at line 41 of file test_nfs_ip_stats.c.
| void test_add | ( | ) |
Definition at line 144 of file test_nfs_ip_stats.c.
| void test_add_6 | ( | ) |
Definition at line 250 of file test_nfs_ip_stats.c.
| void test_get | ( | ) |
Definition at line 184 of file test_nfs_ip_stats.c.
| void test_get_6 | ( | ) |
Definition at line 290 of file test_nfs_ip_stats.c.
| void test_incr | ( | ) |
Definition at line 159 of file test_nfs_ip_stats.c.
| void test_incr_6 | ( | ) |
Definition at line 265 of file test_nfs_ip_stats.c.
| void test_not_found | ( | ) |
Definition at line 111 of file test_nfs_ip_stats.c.
| void test_not_found_6 | ( | ) |
Definition at line 217 of file test_nfs_ip_stats.c.
| void test_not_found_bc | ( | ) |
Definition at line 119 of file test_nfs_ip_stats.c.
| void test_not_found_bc_6 | ( | ) |
Definition at line 225 of file test_nfs_ip_stats.c.
| void test_not_found_c | ( | ) |
Definition at line 127 of file test_nfs_ip_stats.c.
| void test_not_found_c_6 | ( | ) |
Definition at line 233 of file test_nfs_ip_stats.c.
| void test_not_found_none | ( | ) |
Definition at line 135 of file test_nfs_ip_stats.c.
| void test_not_found_none_6 | ( | ) |
Definition at line 241 of file test_nfs_ip_stats.c.
| void test_remove | ( | ) |
Definition at line 199 of file test_nfs_ip_stats.c.
| void test_remove_6 | ( | ) |
Definition at line 305 of file test_nfs_ip_stats.c.
Definition at line 18 of file test_nfs_ip_stats.c.
Definition at line 15 of file test_nfs_ip_stats.c.
Definition at line 34 of file test_nfs_ip_stats.c.
Definition at line 35 of file test_nfs_ip_stats.c.
Definition at line 36 of file test_nfs_ip_stats.c.
Definition at line 37 of file test_nfs_ip_stats.c.
Definition at line 38 of file test_nfs_ip_stats.c.
Definition at line 39 of file test_nfs_ip_stats.c.
Definition at line 16 of file test_nfs_ip_stats.c.
Definition at line 17 of file test_nfs_ip_stats.c.
| hash_table_t* stats[1] |
Definition at line 14 of file test_nfs_ip_stats.c.
1.7.3