+ unsigned mtu = 25;
+ unsigned proto = 0;
+ key_t queue_id = DEV_DEFAULT_KEY;
+ if (argc > 1)
+ addr = IPAddr(argv[1]);
+ if (argc > 2)
+ mtu = atoi(argv[2]);
+ if (argc > 3)
+ proto = atoi(argv[3]);
+ if (argc > 4)
+ queue_id = atoi(argv[4]);
+ Dev dev(addr, mtu, queue_id);