/* Adds new route to the route cache. The argument `index' is the
index value generated by silc_server_route_hash. */
-void silc_server_route_add(unsigned int index, unsigned int dest,
+void silc_server_route_add(uint32 index, unsigned int dest,
SilcServerEntry router)
{
silc_route_cache[index].dest = dest;
/* Checksk whether destination has a specific router. Returns the
router data if found, NULL otherwise. */
-SilcServerEntry silc_server_route_check(unsigned int dest,
- unsigned short port)
+SilcServerEntry silc_server_route_check(uint32 dest,
+ uint16 port)
{
- unsigned int index;
+ uint32 index;
index = silc_server_route_hash(dest, port);
SilcIdType id_type)
{
if (server->server_type == SILC_ROUTER) {
- unsigned int dest;
- unsigned short port;
+ uint32 dest;
+ uint16 port;
SilcServerEntry router = NULL;
switch(id_type) {