Coda Distributed File System
|
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <sys/param.h>
#include <uv.h>
#include <gnutls/gnutls.h>
#include "codatunnel.private.h"
Classes | |
struct | minicb_udp_req |
struct | minicb_tcp_req |
struct | send_to_tls_req |
struct | async_tls_parms_t |
Macros | |
#define | MTR_MAXBUFS 6 |
#define | GNUTLSERROR(op, retcode) |
#define | CERT_POLL_INTERVAL 30000 /* check server.crt every 30 seconds */ |
#define | GNUTLSERROR(op, retcode) |
Typedefs | |
typedef struct minicb_udp_req | minicb_udp_req_t |
typedef struct minicb_tcp_req | minicb_tcp_req_t |
typedef struct send_to_tls_req | send_to_tls_req_t |
typedef unsigned int | gnutls_init_flags_t |
Enumerations | |
enum | peercheck_t { IGNORE , VERIFY } |
Functions | |
void | drain_outbound_queues (dest_t *d) |
void | outbound_worker_cb (uv_async_t *async) |
void | async_send_codatunnel (uv_async_t *async) |
void | codatunneld (int codatunnel_sockfd, const char *tcp_bindaddr, const char *udp_bindaddr, const char *bind_service, int onlytcp, const char *sslcertdir) |
void | hexdump (char *desc, void *addr, int len) |
#define CERT_POLL_INTERVAL 30000 /* check server.crt every 30 seconds */ |
#define MTR_MAXBUFS 6 |
typedef unsigned int gnutls_init_flags_t |
typedef struct minicb_tcp_req minicb_tcp_req_t |
typedef struct minicb_udp_req minicb_udp_req_t |
typedef struct send_to_tls_req send_to_tls_req_t |
enum peercheck_t |
void async_send_codatunnel | ( | uv_async_t * | async | ) |
void codatunneld | ( | int | codatunnel_sockfd, |
const char * | tcp_bindaddr, | ||
const char * | udp_bindaddr, | ||
const char * | bind_service, | ||
int | onlytcp, | ||
const char * | sslcertdir | ||
) |
void drain_outbound_queues | ( | dest_t * | d | ) |
void hexdump | ( | char * | desc, |
void * | addr, | ||
int | len | ||
) |
void outbound_worker_cb | ( | uv_async_t * | async | ) |