2 #include "ethernetframe.h"
14 Media media(0xabcdef);
16 struct msqid_ds minfo;
17 for (msgctl(media.que_id, IPC_STAT, &minfo); minfo.msg_qnum;
18 msgctl(media.que_id, IPC_STAT, &minfo))
20 std::cout << "Quedan " << minfo.msg_qnum << " mensajes en la cola\n";
21 EthernetFrame<1500> f(1234);
23 std::cout << f._mac << " " << f._len << " " << f._frame << "\n";
28 // vim: set et sw=4 sts=4 :