ns-allinone-2.35/ns-2.35/mac/mac-802_11Ext.cc
double Mac802_11Ext::txtime(Packet *p) {
	struct hdr_cmn *ch = HDR_CMN(p);
	double t = ch->txtime();
	if (t < 0.0) {
		drop(p, "XXX");
		exit(1);
	}
	return t;
}
/*
 * txtime()	- pluck the precomputed tx time from the packet header
 */
txtime()     - pluck the precomputed tx time from the packet header
txtime () - pluck the precomputed tx time from the packet header
double Mac802_11Ext::txtime(Packet *p) {
	struct hdr_cmn *ch = HDR_CMN(p);
	double t = ch->txtime();
	if (t < 0.0) {
		drop(p, "XXX");
		exit(1);
	}
	return t;
}
double Mac802_11Ext :: txtime ( Packet * p ) { struct hdr_cmn * ch = HDR_CMN ( p ) ; double t = ch -> txtime ( ) ; if ( t < 0.0 ) { drop ( p , " " ) ; exit ( 1 ) ; } return t ; }
txtime()     - pluck the precomputed tx time from the packet header
txtime () - pluck the precomputed tx time from the packet header