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

@ -72,7 +72,7 @@ struct mesh_conn;
*/
struct mesh_callbacks {
/** Called when a packet is received. */
void (* recv)(struct mesh_conn *c, const rimeaddr_t *from, uint8_t hops);
void (* recv)(struct mesh_conn *c, const linkaddr_t *from, uint8_t hops);
/** Called when a packet, sent with mesh_send(), is actually transmitted. */
void (* sent)(struct mesh_conn *c);
/** Called when a packet, sent with mesh_send(), times out and is dropped. */
@ -83,7 +83,7 @@ struct mesh_conn {
struct multihop_conn multihop;
struct route_discovery_conn route_discovery_conn;
struct queuebuf *queued_data;
rimeaddr_t queued_data_dest;
linkaddr_t queued_data_dest;
const struct mesh_callbacks *cb;
};
@ -131,7 +131,7 @@ void mesh_close(struct mesh_conn *c);
* must have previously been set up with mesh_open().
*
*/
int mesh_send(struct mesh_conn *c, const rimeaddr_t *dest);
int mesh_send(struct mesh_conn *c, const linkaddr_t *dest);
/**
* \brief Test if mesh is ready to send a packet (or packet is queued)