]> git.tuebingen.mpg.de Git - paraslash.git/commit
vss: unify calls to the FEC layer
authorGerrit Renker <grenker@cscs.ch>
Sun, 23 May 2010 05:43:03 +0000 (07:43 +0200)
committerAndre Noll <maan@systemlinux.org>
Mon, 7 Jun 2010 21:24:52 +0000 (23:24 +0200)
commitf099900540c4e4c54b10181254b895ccfe6ef410
tree967d6e89d39255f1cacf56fdf222d070ae6cd142
parent28f8405e062fcff1f0ce90eb01ffeaca299cffa7
vss: unify calls to the FEC layer

This reorganizes the internal vss data structures a bit to unify calls to the
FEC layer across different senders:
 * each sender supplies its sender_client data via the 'sc' pointer;
 * the init_fec()/send_fec() function pointers are now parameters
   (so that a global variable is not needed);
 * both these functions then operate on the supplied sender_client data;
 * the transport layer can then interpret the sender_client data in
   specific ways, e.g. by accessing sc->private_data;
 * a new 'ready' flag has been added to track transport-layer state;
 * max_slice_size as paramter has been restored (for overriding MPS value).

Note: this is one patch out of several. It comments out now-incompatible
      changes in the API for the sake of being able to compile. However,
      the new global API requires the whole set of patches to be applied.
dccp_send.c
send.h
send_common.c
server.h
udp_send.c
vss.c
vss.h