/* Connection management */
-extern void rx_SetConnectionEpoch(struct rx_connection *conn, int epoch);
-extern int rx_GetConnectionEpoch(struct rx_connection *conn);
-extern void rx_SetConnectionId(struct rx_connection *conn, int id);
-extern int rx_GetConnectionId(struct rx_connection *conn);
+extern void rx_SetConnectionEpoch(struct rx_connection *conn, afs_uint32 epoch);
+extern afs_uint32 rx_GetConnectionEpoch(struct rx_connection *conn);
+extern void rx_SetConnectionId(struct rx_connection *conn, afs_uint32 id);
+extern afs_uint32 rx_GetConnectionId(struct rx_connection *conn);
extern void *rx_GetSecurityData(struct rx_connection *conn);
extern void rx_SetSecurityData(struct rx_connection *conn, void *data);
extern int rx_IsUsingPktCksum(struct rx_connection *conn);
-extern void rx_SetSecurityHeaderSize(struct rx_connection *conn, int size);
-extern int rx_GetSecurityHeaderSize(struct rx_connection *conn);
-extern void rx_SetSecurityMaxTrailerSize(struct rx_connection *conn, int size);
-extern int rx_GetSecurityMaxTrailerSize(struct rx_connection *conn);
+extern void rx_SetSecurityHeaderSize(struct rx_connection *conn, afs_uint32 size);
+extern afs_uint32 rx_GetSecurityHeaderSize(struct rx_connection *conn);
+extern void rx_SetSecurityMaxTrailerSize(struct rx_connection *conn, afs_uint32 size);
+extern afs_uint32 rx_GetSecurityMaxTrailerSize(struct rx_connection *conn);
extern void rx_SetMsgsizeRetryErr(struct rx_connection *conn, int err);
extern int rx_IsServerConn(struct rx_connection *conn);
extern int rx_IsClientConn(struct rx_connection *conn);
#include "rx_conn.h"
void
-rx_SetConnectionEpoch(struct rx_connection *conn, afs_int32 epoch) {
+rx_SetConnectionEpoch(struct rx_connection *conn, afs_uint32 epoch) {
conn->epoch = epoch;
}
-int
+afs_uint32
rx_GetConnectionEpoch(struct rx_connection *conn) {
return conn->epoch;
}
void
-rx_SetConnectionId(struct rx_connection *conn, int cid) {
+rx_SetConnectionId(struct rx_connection *conn, afs_uint32 cid) {
conn->cid = cid;
}
-int
+afs_uint32
rx_GetConnectionId(struct rx_connection *conn) {
return conn->cid;
}
}
void
-rx_SetSecurityHeaderSize(struct rx_connection *conn, int size)
+rx_SetSecurityHeaderSize(struct rx_connection *conn, afs_uint32 size)
{
conn->securityHeaderSize = size;
}
-int
+afs_uint32
rx_GetSecurityHeaderSize(struct rx_connection *conn)
{
return conn->securityHeaderSize;
}
void
-rx_SetSecurityMaxTrailerSize(struct rx_connection *conn, int size)
+rx_SetSecurityMaxTrailerSize(struct rx_connection *conn, afs_uint32 size)
{
conn->securityMaxTrailerSize = size;
}
-int
+afs_uint32
rx_GetSecurityMaxTrailerSize(struct rx_connection *conn)
{
return conn->securityMaxTrailerSize;
EXT afs_int32 rxi_totalMin GLOBALSINIT(0); /* Sum(minProcs) forall services */
EXT afs_int32 rxi_minDeficit GLOBALSINIT(0); /* number of procs needed to handle all minProcs */
-EXT int rx_nextCid; /* Next connection call id */
-EXT int rx_epoch; /* Initialization time of rx */
+EXT afs_uint32 rx_nextCid; /* Next connection call id */
+EXT afs_uint32 rx_epoch; /* Initialization time of rx */
#ifdef RX_ENABLE_LOCKS
EXT afs_kcondvar_t rx_waitingForPackets_cv;
#endif