nativenet clean up
Make nativenet tap payload type consistent with radio_packet_t Also remove a trailing space
This commit is contained in:
parent
b7c209e39f
commit
ac0ec1f6b3
@ -44,7 +44,7 @@ struct nativenet_header {
|
|||||||
|
|
||||||
struct nativenet_packet {
|
struct nativenet_packet {
|
||||||
struct nativenet_header nn_header;
|
struct nativenet_header nn_header;
|
||||||
unsigned char data[ETHERMTU - sizeof(struct nativenet_header)];
|
uint8_t data[ETHERMTU - sizeof(struct nativenet_header)];
|
||||||
} __attribute__((packed));
|
} __attribute__((packed));
|
||||||
|
|
||||||
union eth_frame {
|
union eth_frame {
|
||||||
|
|||||||
@ -160,7 +160,7 @@ void do_cb(int event)
|
|||||||
}
|
}
|
||||||
|
|
||||||
void _nativenet_handle_packet(radio_packet_t *packet)
|
void _nativenet_handle_packet(radio_packet_t *packet)
|
||||||
{
|
{
|
||||||
radio_address_t dst_addr = packet->dst;
|
radio_address_t dst_addr = packet->dst;
|
||||||
|
|
||||||
/* address filter / monitor mode */
|
/* address filter / monitor mode */
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user