|
Coda Distributed File System
|
#include <rpc2/rpc2.h>#include <rpc2/tcpftp.h>#include <assert.h>#include <errno.h>#include <fcntl.h>#include <limits.h>#include <stdint.h>#include <stdio.h>#include <stdlib.h>#include <string.h>#include <sys/socket.h>#include <sys/stat.h>#include <sys/time.h>#include <sys/types.h>#include "codatunneld.private.h"#include "rpc2.private.h"#include "codatunnel.private.h"
Classes | |
| struct | TCPFTP_Entry |
Macros | |
| #define | TCPFTP_MAGIC 0x54434650L /* "TCPF" */ |
| #define | TCPFTP_CLIENT 1 |
| #define | TCPFTP_SERVER 2 |
| #define | TCPFTP_ROLE_SOURCE 0 |
| #define | TCPFTP_ROLE_SINK 1 |
Functions | |
| uint64_t | tcpftp_reglen (const struct SFTP_Descriptor *d, int role, uint64_t size) |
| int | tcpftp_register_local (struct TcpFtpState *st, const struct sockaddr *peer, socklen_t plen, struct SFTP_Descriptor *d, int role, uint64_t in_cookie, uint64_t *out_cookie) |
| long | tcpftp_finalize (struct TcpFtpState *st, struct SFTP_Descriptor *d, uint64_t cookie, int nowait) |
| long | TCPFTP_Activate (void) |
| #define TCPFTP_CLIENT 1 |
| #define TCPFTP_MAGIC 0x54434650L /* "TCPF" */ |
| #define TCPFTP_ROLE_SINK 1 |
| #define TCPFTP_ROLE_SOURCE 0 |
| #define TCPFTP_SERVER 2 |
| long TCPFTP_Activate | ( | void | ) |
| long tcpftp_finalize | ( | struct TcpFtpState * | st, |
| struct SFTP_Descriptor * | d, | ||
| uint64_t | cookie, | ||
| int | nowait | ||
| ) |
| int tcpftp_register_local | ( | struct TcpFtpState * | st, |
| const struct sockaddr * | peer, | ||
| socklen_t | plen, | ||
| struct SFTP_Descriptor * | d, | ||
| int | role, | ||
| uint64_t | in_cookie, | ||
| uint64_t * | out_cookie | ||
| ) |
| uint64_t tcpftp_reglen | ( | const struct SFTP_Descriptor * | d, |
| int | role, | ||
| uint64_t | size | ||
| ) |