• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/openvpn-2.3.1/src/openvpn/

Lines Matching defs:reliable

43 /** @addtogroup reliable
86 struct reliable
123 * Remove acknowledged packets from a reliable structure.
125 * @param rel The reliable structure storing sent packets.
129 void reliable_send_purge (struct reliable *rel, struct reliable_ack *ack);
184 * Initialize a reliable structure.
186 * @param rel The reliable structure to initialize.
191 * @param array_size The number of packets that this reliable
195 void reliable_init (struct reliable *rel, int buf_size, int offset, int array_size, bool hold);
198 * Free allocated memory associated with a reliable structure.
200 * @param rel The reliable structured to clean up.
202 void reliable_free (struct reliable *rel);
215 * Check whether a reliable structure has any free buffers
218 * @param rel The reliable structure to check.
224 bool reliable_can_get (const struct reliable *rel);
229 * @param rel The reliable structure for handling this VPN tunnel's
237 bool reliable_not_replay (const struct reliable *rel, packet_id_type id);
241 * the reliable structure's processing window.
244 * and the lowest non-acknowledged packet ID in the given reliable
247 * because the reliable structure could possibly fill up without leaving
249 * could break the reliable structure's sequentiality, and must therefore
252 * @param rel The reliable structure for handling this VPN tunnel's
258 * @li False, if the packet does not fit safely in the reliable
261 bool reliable_wont_break_sequentiality (const struct reliable *rel, packet_id_type id);
276 * Get the buffer of a free %reliable entry in which to store a
279 * @param rel The reliable structure in which to search for a free
283 * reliable structure. If there are no free entries available, this
286 struct buffer *reliable_get_buf (struct reliable *rel);
289 * Mark the %reliable entry associated with the given buffer as active
292 * @param rel The reliable structure associated with this packet.
297 void reliable_mark_active_incoming (struct reliable *rel, struct buffer *buf,
325 * @param rel The reliable structure from which to retrieve the
332 struct buffer *reliable_get_buf_sequenced (struct reliable *rel);
335 * Remove an entry from a reliable structure.
337 * @param rel The reliable structure associated with the given buffer.
338 * @param buf The buffer of the reliable entry which is to be removed.
339 * @param inc_pid If true, the reliable structure's packet ID counter
342 void reliable_mark_deleted (struct reliable *rel, struct buffer *buf, bool inc_pid);
352 * Get the buffer of free reliable entry and check whether the
355 * @param rel The reliable structure in which to search for a free
359 * reliable structure. If there are no free entries available, this
363 struct buffer *reliable_get_buf_output_sequenced (struct reliable *rel);
366 * Mark the reliable entry associated with the given buffer as
369 * @param rel The reliable structure for handling this VPN tunnel's
376 void reliable_mark_active_outgoing (struct reliable *rel, struct buffer *buf, int opcode);
386 * Check whether a reliable structure has any active entries
389 * @param rel The reliable structure to check.
397 bool reliable_can_send (const struct reliable *rel);
407 * @param rel The reliable structure to check.
413 * reliable structure. If a valid pointer is returned, then \a opcode
416 struct buffer *reliable_send (struct reliable *rel, int *opcode);
426 * Check whether a reliable structure is empty.
428 * @param rel The reliable structure to check.
431 * @li True, if there are no active entries in the given reliable
435 bool reliable_empty (const struct reliable *rel);
441 * @param rel The reliable structured to check.
444 * of the outgoing packets stored in the \a rel reliable structure. If
448 interval_t reliable_send_timeout (const struct reliable *rel);
451 * Reschedule all entries of a reliable structure to be ready
454 * @param rel The reliable structure of which the entries should be
457 void reliable_schedule_now (struct reliable *rel);
459 void reliable_debug_print (const struct reliable *rel, char *desc);
463 reliable_set_timeout (struct reliable *rel, interval_t timeout)
468 /* print a reliable ACK record coming off the wire */
476 /** @} addtogroup reliable */