{
struct rx_connection *rxconn = rx_ConnectionOf(rxcall);
struct rx_peer *rxpeer = rx_PeerOf(rxconn);
- struct afscp_server *server = afscp_AnyServerByAddr(rxpeer->host);
+ struct afscp_server *server = afscp_AnyServerByAddr(rx_HostOf(rxpeer));
struct afscp_callback *cb;
struct afscp_venusfid f;
struct AFSFid *fid;
{
struct rx_connection *rxconn = rx_ConnectionOf(rxcall);
struct rx_peer *rxpeer = rx_PeerOf(rxconn);
- struct afscp_server *server = afscp_AnyServerByAddr(rxpeer->host);
+ struct afscp_server *server = afscp_AnyServerByAddr(rx_HostOf(rxpeer));
struct afscp_callback *cb;
struct afscp_venusfid f;
int i;
{
struct rx_connection *rxconn = rx_ConnectionOf(rxcall);
struct rx_peer *rxpeer = rx_PeerOf(rxconn);
- struct afscp_server *server = afscp_AnyServerByAddr(rxpeer->host);
+ struct afscp_server *server = afscp_AnyServerByAddr(rx_HostOf(rxpeer));
struct afscp_callback *cb;
struct afscp_venusfid f;
int i;
return ret;
}
+/* takes server in host byte order */
struct afscp_server *
afscp_ServerByAddr(struct afscp_cell *thecell, afs_uint32 addr)
{
return ret;
}
+/* takes server in host byte order */
struct afscp_server *
afscp_AnyServerByAddr(afs_uint32 addr)
{