mirror of
https://github.com/servalproject/serval-dna.git
synced 2024-12-18 20:57:56 +00:00
13 lines
436 B
C
13 lines
436 B
C
#ifndef __SERVALD_RADIO_LINK_H
|
|
#define __SERVALD_RADIO_LINK_H
|
|
|
|
#define HEARTBEAT_SIZE (8+9)
|
|
#define LINK_MTU 255
|
|
|
|
int radio_link_free(struct overlay_interface *interface);
|
|
int radio_link_init(struct overlay_interface *interface);
|
|
int radio_link_decode(struct overlay_interface *interface, uint8_t c);
|
|
int radio_link_heartbeat(unsigned char *frame, int *outlen);
|
|
int radio_link_encode_packet(struct overlay_interface *interface);
|
|
|
|
#endif |