10 #include <netinet/ether.h>
11 #include <sys/ioctl.h>
18 int startNetwork (const char *iface);
20 int stopNetwork (void);
24 int setTimeout (double sec);
26 int getTimeout (double *sec);
30 int sendNgPacket (char code, const struct ether_addr *switch_mac, unsigned int seqnum, const List *attr);
32 List* recvNgPacket (char code, const struct ether_addr *switch_mac, unsigned int seqnum);