que_id = msgget(queue_id+1, IPC_CREAT | 0666); assert(que_id != -1);
std::ifstream ifs(fname.c_str()); assert(ifs);
Dev dev(addr, mtu, queue_id);
- Dev fwque(addr, mtu, queue_id+1);
+ Dev fwque(addr, DEV_MAX_MTU, queue_id+1);
RouteTable table(dev);
add_routes(table, ifs, dev);
IPOut ipout(addr, table, fwque);