Changed the name of the rimeaddr module to linkaddr

This commit is contained in:
Adam Dunkels 2013-12-12 23:58:52 +01:00
parent 765e9acded
commit 45265249fc
180 changed files with 930 additions and 930 deletions

View file

@ -71,7 +71,7 @@ PROCESS(netdb_process, "NetDB");
AUTOSTART_PROCESSES(&netdb_process);
static struct mesh_conn mesh;
static rimeaddr_t reply_addr;
static linkaddr_t reply_addr;
static uint8_t buffer_offset;
static char buffer[MAX_BUFFER_SIZE];
/*---------------------------------------------------------------------------*/
@ -263,7 +263,7 @@ timedout(struct mesh_conn *c)
}
static void
received(struct mesh_conn *c, const rimeaddr_t *from, uint8_t hops)
received(struct mesh_conn *c, const linkaddr_t *from, uint8_t hops)
{
char *data;
unsigned len;
@ -282,7 +282,7 @@ received(struct mesh_conn *c, const rimeaddr_t *from, uint8_t hops)
printf("Query received from %d.%d: %s (%d hops)\n",
from->u8[0], from->u8[1], query, (int)hops);
rimeaddr_copy(&reply_addr, from);
linkaddr_copy(&reply_addr, from);
process_post(&query_process, serial_line_event_message, query);
}