103 #define IPOLITE_ATTRIBUTES IBC_ATTRIBUTES
136 struct broadcast_conn c;
A structure with callback functions for an ipolite connection.
void ipolite_cancel(struct ipolite_conn *c)
Cancel a pending packet.
void(* recv)(struct ipolite_conn *c, const linkaddr_t *from)
Called when a packet is received on the connection.
void ipolite_close(struct ipolite_conn *c)
Close an ipolite connection.
void ipolite_open(struct ipolite_conn *c, uint16_t channel, uint8_t dups, const struct ipolite_callbacks *cb)
Open an ipolite connection.
void(* dropped)(struct ipolite_conn *c)
Called when a packet is dropped because a packet was heard from a neighbor.
An opaque structure with no user-visible elements that holds the state of an ipolite connection...
Header file for the Rime queue buffer management
Header file for the callback timer
Header file for identified best-effort local area broadcast
void(* sent)(struct ipolite_conn *c)
Called when a packet is sent on the connection.
int ipolite_send(struct ipolite_conn *c, clock_time_t interval, uint8_t hdrsize)
Send a packet on an ipolite connection.