ns-allinone-2.35/ns-2.35/dccp/dccp_sb.cc
int DCCPSendBuffer::top(){
	int result = 0;
	if (!empty_)
		result = buf_[head_];
	return result;
}
/* Return the top element (without removing it)
 * ret: the top element. If empty, return 0.
 */
Return the top element (without removing it)
ret: the top element. If empty, return 0.
Return the top element ( without removing it ) ret : the top element . If empty return 0 .
int DCCPSendBuffer::top(){
	int result = 0;
	if (!empty_)
		result = buf_[head_];
	return result;
}
int DCCPSendBuffer :: top ( ) { int result = 0 ; if ( ! empty_ ) result = buf_ [ head_ ] ; return result ; }
Return the top element (without removing it)
 ret: the top element.
Return the top element ( without removing it ) ret : the top element .