ns-allinone-2.35/ns-2.35/indep-utils/webtrace-conv/ucb/logparse.cc
void lf_ntoa(unsigned long addr, char *addrbuf)
{
  sprintf(addrbuf, "%lu.%lu.%lu.%lu",
	  (addr >> 24),
	  (addr >> 16) % 256,
	  (addr >> 8) % 256,
	  (addr) % 256);
}
/** 
 ** lf_ntoa takes a network IP address (in host order) and converts it
 ** to an ascii representation. addrbuf had better be 16 bytes or
 ** more...
 **/
lf_ntoa takes a network IP address (in host order) and converts it
to an ascii representation. addrbuf had better be 16 bytes or
more
lf_ntoa takes a network IP address ( in host order ) and converts it to an ascii representation . addrbuf had better be 16 bytes or more
void lf_ntoa(unsigned long addr, char *addrbuf)
{
  sprintf(addrbuf, "%lu.%lu.%lu.%lu",
	  (addr >> 24),
	  (addr >> 16) % 256,
	  (addr >> 8) % 256,
	  (addr) % 256);
}
void lf_ntoa ( unsigned long addr , char * addrbuf ) { sprintf ( addrbuf , " " , ( addr >> 24 ) , ( addr >> 16 ) % 256 , ( addr >> 8 ) % 256 , ( addr ) % 256 ) ; }
lf_ntoa takes a network IP address (in host order) and converts it
 to an ascii representation.
lf_ntoa takes a network IP address ( in host order ) and converts it to an ascii representation .