#include "vfer_ccontrol.h"
Go to the source code of this file.
Functions | |
| int | CC_Can_Send_Data (size_t data_size, vfer_sock *sock) |
| void | CC_Recvd_Ack (packet *p, vfer_sock *sock) |
| void | CC_Recvd_Close (packet *p, vfer_sock *sock) |
| void | CC_Recvd_Data (packet *p, vfer_sock *sock) |
| void | CC_Sent_CtlPack (packet *p, vfer_sock *sock) |
| void | CC_Sent_Data (packet *p, frame_link *frame, vfer_sock *sock) |
Definition in file vfer_ccontrol.c.
| int CC_Can_Send_Data | ( | size_t | data_size, | |
| vfer_sock * | sock | |||
| ) | [inline] |
Determines if a data packet of specific size can be sent at this time on a socket, uses byte accounting.
| data_size | data size that control.c would like to send as a data packet | |
| sock | socket whose cc we are dealing with |
1 if CC does allow for sending of data_size bytes
Definition at line 65 of file vfer_ccontrol.c.
Takes appropriate CC action upon receiving a cc ack packet. Currently implements a delay based CC.
| p | cc ack packet | |
| sock | socket whose cc we are dealing with |
Definition at line 134 of file vfer_ccontrol.c.
Takes appropriate CC action upon receiving a close packet
| p | cc ack packet | |
| sock | socket whose cc we are dealing with |
Definition at line 44 of file vfer_ccontrol.c.
Takes appropriate CC action upon receiving a data packet
| p | data packet | |
| sock | socket whose cc we are dealing with |
Definition at line 95 of file vfer_ccontrol.c.
Takes appropriate CC action after having sent a control packet
| p | control packet | |
| sock | socket whose cc we are dealing with |
Definition at line 32 of file vfer_ccontrol.c.
| void CC_Sent_Data | ( | packet * | p, | |
| frame_link * | frame, | |||
| vfer_sock * | sock | |||
| ) | [inline] |
Takes appropriate CC action after having sent a data packet
| p | data packet which was sent | |
| frame | frame pointer of which the data packet is carrying a fragment | |
| sock | socket whose cc we are dealing with |
Definition at line 79 of file vfer_ccontrol.c.
1.4.7