Revision b71dda24 util/queueManagement.c

View differences:

util/queueManagement.c
105 105
	else return NULL;	
106 106
}
107 107

  
108

  
108
#ifdef RTX
109 109
void addPacketRTXqueue(PacketContainer *packet) {
110 110
	//removing old packets - because of maxTimeToHold
111 111
	struct timeval now, age;
......
156 156
	}
157 157
	return 1;	
158 158
}
159
#endif
159 160

  
160 161
void setQueuesParams (int TXsize, int RTXsize, double maxTTHold) {
161 162
	TXmaxSize = TXsize * 1024;
......
176 177
	return 0;
177 178
}
178 179

  
180
#ifdef RTX
179 181
PacketContainer* searchPacketInRTX(int connID, int msgSeqNum, int offset) {
180 182
	
181 183
	connID = ntohl(connID);
......
227 229
        }
228 230
        return 0;
229 231
}
230

  
232
#endif

Also available in: Unified diff