static void queue_pkt_with_ack(struct peer *peer, Pkt__PktCase type, const void *msg, void (*ack_cb)(struct peer *peer, void *arg), void *ack_arg) { queue_raw_pkt(peer, make_pkt(peer, type, msg), ack_cb, ack_arg); }
static void queue_pkt(struct peer *peer, Pkt__PktCase type, const void *msg) { queue_raw_pkt(peer, make_pkt(peer, type, msg)); }
void queue_pkt_err(struct peer *peer, Pkt *err) { queue_raw_pkt(peer, err); }