• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/transmission/libevent-2.0.20-stable/

Lines Matching refs:bufferevent

42    reading or writing on a bufferevent.
48 On a filtering bufferevent, for writing: used when the underlying
49 bufferevent's write buffer has been filled up to its watermark
53 /* On a base bufferevent: when we have emptied a bandwidth buckets */
55 /* On a base bufferevent: when we have emptied the group's bandwidth bucket. */
57 /* On a socket bufferevent: can't do any operations while we're waiting for
60 /* On a base bufferevent, for reading: used when a filter has choked this
61 * (underlying) bufferevent because it has stopped reading from it. */
107 * within every bufferevent lock: if you are holding this lock, do
108 * not assume you can lock another bufferevent. */
112 /** Fields for rate-limiting a single bufferevent. */
120 /** The rate-limiting group for this bufferevent, or NULL if it is
124 /* This bufferevent's current limits. */
126 /* Pointer to the rate-limit configuration for this bufferevent.
130 /* Timeout event used when one this bufferevent's buckets are
135 /** Parts of the bufferevent structure that are shared among all bufferevent
138 /** The underlying bufferevent structure. */
139 struct bufferevent bev;
144 /** If set, we should free the lock when we free the bufferevent. */
156 * getting around the bufferevent abstraction. */
182 /** The options this bufferevent was constructed with */
185 /** Current reference count for this bufferevent. */
188 /** Lock for this bufferevent. Shared by the inbuf and the outbuf.
192 /** Rate-limiting information for this bufferevent */
211 Implementation table for a bufferevent: holds function pointers and other
212 information to make the various bufferevent types work.
215 /** The name of the bufferevent's type. */
218 bufferevent structure?
223 struct bufferevent bev;
229 /** Enables one or more of EV_READ|EV_WRITE on a bufferevent. Does
233 int (*enable)(struct bufferevent *, short);
235 /** Disables one or more of EV_READ|EV_WRITE on a bufferevent. Does
239 int (*disable)(struct bufferevent *, short);
244 void (*destruct)(struct bufferevent *);
246 /** Called when the timeouts on the bufferevent have changed.*/
247 int (*adj_timeouts)(struct bufferevent *);
250 int (*flush)(struct bufferevent *, short, enum bufferevent_flush_mode);
253 int (*ctrl)(struct bufferevent *, enum bufferevent_ctrl_op, union bufferevent_ctrl_data *);
272 /** Initialize the shared parts of a bufferevent. */
277 void bufferevent_suspend_read(struct bufferevent *bufev, bufferevent_suspend_flags what);
280 void bufferevent_unsuspend_read(struct bufferevent *bufev, bufferevent_suspend_flags what);
284 void bufferevent_suspend_write(struct bufferevent *bufev, bufferevent_suspend_flags what);
287 void bufferevent_unsuspend_write(struct bufferevent *bufev, bufferevent_suspend_flags what);
295 Disable a bufferevent. Equivalent to bufferevent_disable(), but
301 @param bufev the bufferevent to be disabled
306 int bufferevent_disable_hard(struct bufferevent *bufev, short event);
308 /** Internal: Set up locking on a bufferevent. If lock is set, use it.
310 int bufferevent_enable_locking(struct bufferevent *bufev, void *lock);
312 void bufferevent_incref(struct bufferevent *bufev);
315 void _bufferevent_incref_and_lock(struct bufferevent *bufev);
317 * the bufferevent.*/
318 int bufferevent_decref(struct bufferevent *bufev);
320 * unlocking it otherwise. Returns 1 if it freed the bufferevent. */
321 int _bufferevent_decref_and_unlock(struct bufferevent *bufev);
325 void _bufferevent_run_readcb(struct bufferevent *bufev);
328 void _bufferevent_run_writecb(struct bufferevent *bufev);
331 void _bufferevent_run_eventcb(struct bufferevent *bufev, short what);
344 void _bufferevent_init_generic_timeout_cbs(struct bufferevent *bev);
347 int _bufferevent_del_generic_timeout_cbs(struct bufferevent *bev);
352 int _bufferevent_generic_adj_timeouts(struct bufferevent *bev);
374 /** Internal: Given a bufferevent, return its corresponding
382 /** Internal: Grab the lock (if any) on a bufferevent */
388 /** Internal: Release the lock (if any) on a bufferevent */