32 if (!
ifaces->isOut(iface))
return false;
33 if (
ifaces->firstIn() == 0)
66 int ifnum; ipa_t ipa;
int port;
RateSpec rs;
70 !Util::readInt(in,port) || !rs.
read(in)) {
75 if (!
addEntry(ifnum,ipa,port,rs))
return 0;
92 if (!Util::readInt(in,num))
return false;
94 for (
int i = 1; i <= num; i++) {
96 cerr <<
"IfaceTable::read: Error in "
97 << i <<
"-th entry read from input\n";
111 <<
" " <<
ift[iface].
port <<
" "
122 ss <<
ifaces->getNumIn() << endl;
123 ss <<
"# iface ipAddress bitRate pktRate\n";