2 * Copyright 2000, International Business Machines Corporation and others.
5 * This software has been released under the terms of the IBM Public
6 * License. For details, see the LICENSE file in the top-level source
7 * directory or online at http://www.openafs.org/dl/license10.html
10 #ifndef _RX_INTERNAL_H_
11 #define _RX_INTERNAL_H_
17 int rxi_IsConnInteresting(struct rx_connection *aconn);
20 extern void rxi_Delay(int seconds);
21 extern void rxi_InitializeThreadSupport(void);
22 extern void rxi_Sleep(void *addr);
23 extern void rxi_Wakeup(void *addr);
24 extern int rxi_Recvmsg(osi_socket socket, struct msghdr *msg_p, int flags);
25 extern int rxi_Sendmsg(osi_socket socket, struct msghdr *msg_p, int flags);
28 extern void rxi_FreePacket(struct rx_packet *p);
29 extern int rxi_AllocDataBuf(struct rx_packet *p, int nb, int class);
30 extern void rxi_MorePackets(int apackets);
31 extern afs_int32 rx_SlowGetInt32(struct rx_packet *packet, size_t offset);
32 extern afs_int32 rx_SlowPutInt32(struct rx_packet *packet, size_t offset, afs_int32 data);
33 extern afs_int32 rx_SlowWritePacket(struct rx_packet *packet, int offset,
35 extern void rxi_SendPacket(struct rx_connection * conn, struct rx_packet *p,
37 extern afs_int32 rx_SlowReadPacket(struct rx_packet *packet,
38 u_int offset, int resid, char *out);
39 extern void rxi_FreeAllPackets(void);
42 extern osi_socket rxi_GetUDPSocket(u_short port);
43 extern void rxi_InitPeerParams(struct rx_peer *pp);
47 extern struct rxevent *rxevent_Post(struct clock *when, void (*func)(),
48 void *arg, void *arg1);
51 #endif /* AFS_NT40_ENV */
52 #endif /* _RX_INTERNAL_H_ */