HomeSort by relevance Sort by last modified time
    Searched refs:NetShaper (Results 1 - 3 of 3) sorted by null

  /external/qemu/
shaper.h 17 /* a NetShaper object is used to limit the throughput of data packets
20 typedef struct NetShaperRec_* NetShaper;
23 NetShaper netshaper_create ( int do_copy,
26 void netshaper_set_rate(NetShaper shaper, double rate );
28 void netshaper_send( NetShaper shaper, void* data, size_t size );
30 void netshaper_send_aux( NetShaper shaper, void* data, size_t size, void* opaque );
32 int netshaper_can_send( NetShaper shaper );
34 void netshaper_destroy (NetShaper shaper);
47 extern NetShaper slirp_shaper_in;
48 extern NetShaper slirp_shaper_out
    [all...]
shaper.c 114 netshaper_destroy( NetShaper shaper )
135 netshaper_expires( NetShaper shaper )
161 NetShaper
165 NetShaper shaper = qemu_malloc(sizeof(*shaper));
183 netshaper_set_rate( NetShaper shaper,
207 netshaper_send_aux( NetShaper shaper,
223 //fprintf(stderr, "NETSHAPER: block for %.2fms\n", (shaper->block_until - now)*1.0 );
254 //fprintf(stderr, "NETSHAPER: block2 for %.2fms\n", (shaper->block_until - now)*1.0 );
258 netshaper_send( NetShaper shaper,
267 netshaper_can_send( NetShaper shaper
    [all...]
net-android.c 735 NetShaper slirp_shaper_in;
736 NetShaper slirp_shaper_out;
    [all...]

Completed in 62 milliseconds