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

@ -65,7 +65,7 @@ struct sniff_attributes_blob {
uint16_t listen_time;
uint16_t transmit_time;
uint16_t channel;
rimeaddr_t src, dest;
linkaddr_t src, dest;
};
struct sniff_packet_blob {
uint16_t len;
@ -84,8 +84,8 @@ sniff_attributes_output(int type)
msg.listen_time = packetbuf_attr(PACKETBUF_ATTR_LISTEN_TIME);
msg.transmit_time = packetbuf_attr(PACKETBUF_ATTR_TRANSMIT_TIME);
msg.channel = packetbuf_attr(PACKETBUF_ATTR_CHANNEL);
rimeaddr_copy(&msg.src, packetbuf_addr(PACKETBUF_ADDR_SENDER));
rimeaddr_copy(&msg.dest, packetbuf_addr(PACKETBUF_ADDR_RECEIVER));
linkaddr_copy(&msg.src, packetbuf_addr(PACKETBUF_ADDR_SENDER));
linkaddr_copy(&msg.dest, packetbuf_addr(PACKETBUF_ADDR_RECEIVER));
shell_output(&sniff_command, &msg, sizeof(msg), NULL, 0);
}