Added a new type for all addresses in Rime: rimeaddr_t. This is an abstract type that currently is defined as a 16-bit quantity but that most likely will be redefined in the future
This commit is contained in:
parent
2b119b054e
commit
ab0d556353
19 changed files with 216 additions and 92 deletions
|
@ -28,7 +28,7 @@
|
|||
*
|
||||
* This file is part of the Contiki operating system.
|
||||
*
|
||||
* $Id: sibc.c,v 1.2 2007/03/15 10:01:04 adamdunkels Exp $
|
||||
* $Id: sibc.c,v 1.3 2007/03/15 19:43:07 adamdunkels Exp $
|
||||
*/
|
||||
|
||||
/**
|
||||
|
@ -44,12 +44,12 @@
|
|||
|
||||
/*---------------------------------------------------------------------------*/
|
||||
static void
|
||||
recv_from_ibc(struct ibc_conn *ibc, node_id_t from_id)
|
||||
recv_from_ibc(struct ibc_conn *ibc, rimeaddr_t *from)
|
||||
{
|
||||
register struct sibc_conn *c = (struct sibc_conn *)ibc;
|
||||
/* DEBUGF(3, "sibc: recv_from_ibc from %d\n", from_id);*/
|
||||
if(c->u->recv != NULL) {
|
||||
c->u->recv(c, from_id);
|
||||
c->u->recv(c, from);
|
||||
}
|
||||
}
|
||||
/*---------------------------------------------------------------------------*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue