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

@ -88,7 +88,7 @@ NBR_TABLE(struct phase, nbr_phase);
#endif
/*---------------------------------------------------------------------------*/
void
phase_update(const rimeaddr_t *neighbor, rtimer_clock_t time,
phase_update(const linkaddr_t *neighbor, rtimer_clock_t time,
int mac_status)
{
struct phase *e;
@ -151,13 +151,13 @@ send_packet(void *ptr)
}
/*---------------------------------------------------------------------------*/
phase_status_t
phase_wait(const rimeaddr_t *neighbor, rtimer_clock_t cycle_time,
phase_wait(const linkaddr_t *neighbor, rtimer_clock_t cycle_time,
rtimer_clock_t guard_time,
mac_callback_t mac_callback, void *mac_callback_ptr,
struct rdc_buf_list *buf_list)
{
struct phase *e;
// const rimeaddr_t *neighbor = packetbuf_addr(PACKETBUF_ADDR_RECEIVER);
// const linkaddr_t *neighbor = packetbuf_addr(PACKETBUF_ADDR_RECEIVER);
/* We go through the list of phases to find if we have recorded a
phase for this particular neighbor. If so, we can compute the
time for the next expected phase and setup a ctimer to switch on