flow_control_cells.trunnel (687B)
1 /* This file contains the xon and xoff cell definitions, for flow control. */ 2 3 /* xoff cell definition. Tells the other endpoint to stop sending, because 4 * we have too much data queued for this stream. */ 5 struct xoff_cell { 6 /* Version field. */ 7 u8 version IN [0x00]; 8 } 9 10 /* xon cell declaration. Tells the other endpoint to resume sending and/or 11 * update its sending rate on this stream based on advisory information. */ 12 struct xon_cell { 13 /* Version field. */ 14 u8 version IN [0x00]; 15 16 /* Advisory field: The ewma rate of socket drain we have seen so far 17 * on this stream, in kilobytes/sec (1000 bytes/sec). May be zero, 18 * which means no rate advice. */ 19 u32 kbps_ewma; 20 }