ns-allinone-2.35/olsr/OLSR_printer.cc
void
OLSR_printer::print_olsr_mid(FILE* out, OLSR_mid& mid) {
	for (int i = 0; i < mid.count; i++){
		fprintf(out, "\tiface = %d\n", mid.iface_addr(i));
		printf("\tiface = %d\n", mid.iface_addr(i));}
}
///
/// \brief Prints a given %OLSR MID message into a given file.
/// \warning This function is actually not used.
/// \param out	File where the %OLSR MID message is going to be written.
/// \param mid	%OLSR MID message to be written.
///
\brief Prints a given %OLSR MID message into a given file.
\warning This function is actually not used.
\param out     File where the %OLSR MID message is going to be written.
\param mid     %OLSR MID message to be written.
\ brief Prints a given %OLSR MID message into a given file . \ warning This function is actually not used . \ param out File where the %OLSR MID message is going to be written . \ param mid %OLSR MID message to be written .
void
OLSR_printer::print_olsr_mid(FILE* out, OLSR_mid& mid) {
	for (int i = 0; i < mid.count; i++){
		fprintf(out, "\tiface = %d\n", mid.iface_addr(i));
		printf("\tiface = %d\n", mid.iface_addr(i));}
}
void OLSR_printer :: print_olsr_mid ( FILE * out , OLSR_mid & mid ) { for ( int i = 0 ; i < mid . count ; i ++ ) { fprintf ( out , " \t \n " , mid . iface_addr ( i ) ) ; printf ( " \t \n " , mid . iface_addr ( i ) ) ; } }
\brief Prints a given %OLSR MID message into a given file.
\ brief Prints a given %OLSR MID message into a given file .