bandwidth_limit
void bandwidth_limit(struct bwlimit *, size_t);
bandwidth_limit(&bwlimit, s);
bandwidth_limit(bwlimit, amount);
num_msg = bandwidth_limit(&data->send_limit, now, msg, num_msg);
msg_cnt = bandwidth_limit(&data->recv_limit, now, msg, msg_cnt);