ns-allinone-2.35/ns-2.35/dccp/dccp_ackv.cc
const char* DCCPAckVector::packetStateAsStr(dccp_packet_state state){
        if (state < DCCP_NUM_PACKET_STATES && state >= 0)
		return packet_state_str_[state];
	else
		return "Unknown";
}
/* Return a string reprenting a packet state
 * arg: state - packet state
 * ret: a string representation of state
 */
Return a string reprenting a packet state
arg: state - packet state
ret: a string representation of state
Return a string reprenting a packet state arg : state - packet state ret : a string representation of state
const char* DCCPAckVector::packetStateAsStr(dccp_packet_state state){
        if (state < DCCP_NUM_PACKET_STATES && state >= 0)
		return packet_state_str_[state];
	else
		return "Unknown";
}
const char * DCCPAckVector :: packetStateAsStr ( dccp_packet_state state ) { if ( state < DCCP_NUM_PACKET_STATES && state >= 0 ) return packet_state_str_ [ state ] ; else return " " ; }
Return a string reprenting a packet state
 arg: state - packet state
 ret: a string representation of state
Return a string reprenting a packet state arg : state - packet state ret : a string representation of state