|
Coda Distributed File System
|
#include <stdio.h>#include <unistd.h>#include <stdlib.h>#include <string.h>#include <sys/types.h>#include <sys/socket.h>#include <netinet/in.h>#include <sys/time.h>#include <sys/file.h>#include <sys/ioctl.h>#include <errno.h>#include <assert.h>#include <rpc2/se.h>#include <rpc2/secure.h>#include "cbuf.h"#include "codatunnel/wrapper.h"#include "rpc2.private.h"#include "trace.h"
Macros | |
| #define | MSG_CONFIRM 0 |
Functions | |
| void | rpc2_XmitPacket (RPC2_PacketBuffer *pb, struct RPC2_addrinfo *addr, int confirm) |
| struct security_association * | rpc2_GetSA (uint32_t spi) |
| long | rpc2_RecvPacket (IN long whichSocket, OUT RPC2_PacketBuffer *whichBuff) |
| long | rpc2_InitRetry (IN long HowManyRetries, IN struct timeval *Beta0) |
| int | RPC2_SetTimeout (RPC2_Handle whichConn, struct timeval timeout) |
| long | rpc2_CancelRetry (struct CEntry *Conn, struct SL_Entry *Sle) |
| long | rpc2_SendReliably (struct CEntry *Conn, struct SL_Entry *Sle, RPC2_PacketBuffer *Packet, struct timeval *TimeOut) |
| void | rpc2_htonp (RPC2_PacketBuffer *p) |
| void | rpc2_ntohp (RPC2_PacketBuffer *p) |
| void | rpc2_InitPacket (RPC2_PacketBuffer *pb, struct CEntry *ce, long bodylen) |
Variables | |
| int(* | Fail_SendPredicate )() = NULL |
| int(*)(*) | Fail_RecvPredicate () = NULL |
| #define MSG_CONFIRM 0 |
| struct security_association * rpc2_GetSA | ( | uint32_t | spi | ) |
| void rpc2_htonp | ( | RPC2_PacketBuffer * | p | ) |
| void rpc2_InitPacket | ( | RPC2_PacketBuffer * | pb, |
| struct CEntry * | ce, | ||
| long | bodylen | ||
| ) |
| void rpc2_ntohp | ( | RPC2_PacketBuffer * | p | ) |
| long rpc2_RecvPacket | ( | IN long | whichSocket, |
| OUT RPC2_PacketBuffer * | whichBuff | ||
| ) |
| long rpc2_SendReliably | ( | struct CEntry * | Conn, |
| struct SL_Entry * | Sle, | ||
| RPC2_PacketBuffer * | Packet, | ||
| struct timeval * | TimeOut | ||
| ) |
| int RPC2_SetTimeout | ( | RPC2_Handle | whichConn, |
| struct timeval | timeout | ||
| ) |
| void rpc2_XmitPacket | ( | RPC2_PacketBuffer * | pb, |
| struct RPC2_addrinfo * | addr, | ||
| int | confirm | ||
| ) |
| int(*)(*) Fail_RecvPredicate() | ( | ) | = NULL |
| int(* Fail_SendPredicate) () | ( | ) | = NULL |