Searched refs:rwflags (Results 1 - 9 of 9) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/openvpn-2.3.1/src/openvpn/
H A Devent.h33 * rwflags passed to event_ctl and returned by
67 void (*ctl)(struct event_set *es, event_t event, unsigned int rwflags, void *arg);
80 unsigned int rwflags; member in struct:event_set_return
118 event_ctl (struct event_set *es, event_t event, unsigned int rwflags, void *arg) argument
120 (*es->func.ctl)(es, event, rwflags, arg);
136 esr->rwflags = 0;
H A Devent.c90 we_set_event (struct we_set *wes, int i, event_t event, unsigned int rwflags, void *arg) argument
94 if (rwflags == EVENT_READ)
99 else if (rwflags == EVENT_WRITE)
105 msg (M_FATAL, "fatal error in we_set_events: rwflags=%d", rwflags);
107 wes->esr[i].rwflags = rwflags;
112 we_append_event (struct we_set *wes, event_t event, unsigned int rwflags, void *arg) argument
114 if (rwflags & EVENT_WRITE)
124 if (rwflags
220 we_ctl(struct event_set *es, event_t event, unsigned int rwflags, void *arg) argument
508 ep_ctl(struct event_set *es, event_t event, unsigned int rwflags, void *arg) argument
668 po_set_pollfd_events(struct pollfd *pfdp, unsigned int rwflags) argument
678 po_append_event(struct po_set *pos, event_t event, unsigned int rwflags, void *arg) argument
694 po_ctl(struct event_set *es, event_t event, unsigned int rwflags, void *arg) argument
862 se_ctl(struct event_set *es, event_t event, unsigned int rwflags, void *arg) argument
[all...]
H A Dtun.h445 unsigned int rwflags,
451 /* if persistent is defined, call event_ctl only if rwflags has changed since last call */
452 if (!persistent || *persistent != rwflags)
454 event_ctl (es, tun_event_handle (tt), rwflags, arg);
456 *persistent = rwflags;
459 if (rwflags & EVENT_READ)
462 tt->rwflags_debug = rwflags;
464 return rwflags;
467 const char *tun_stat (const struct tuntap *tt, unsigned int rwflags, struct gc_arena *gc);
443 tun_set(struct tuntap *tt, struct event_set *es, unsigned int rwflags, void *arg, unsigned int *persistent) argument
H A Dps.c76 int rwflags; member in struct:proxy_connection
271 pc->rwflags = 0;
388 if (socket_defined (pc->sd) && pc->rwflags != rwflags_new)
390 /*dmsg (D_PS_PROXY_DEBUG, "PORT SHARE PROXY: requeue[%d] rwflags=%d", (int)pc->sd, rwflags_new);*/
392 pc->rwflags = rwflags_new;
447 pc->rwflags = EVENT_UNDEF;
456 cp->rwflags = EVENT_UNDEF;
683 const int rwflags,
688 int rwflags_pc = pc->rwflags;
689 int rwflags_cp = cp->rwflags;
682 proxy_connection_io_dispatch(struct proxy_connection *pc, const int rwflags, struct event_set *es) argument
[all...]
H A Dmtcp.c600 if (e->rwflags & EVENT_WRITE)
602 else if (e->rwflags & EVENT_READ)
619 if (e->rwflags & EVENT_WRITE)
621 else if (e->rwflags & EVENT_READ)
H A Dsocket.c1953 socket_stat (const struct link_socket *s, unsigned int rwflags, struct gc_arena *gc) argument
1958 if (rwflags & EVENT_READ)
1967 if (rwflags & EVENT_WRITE)
3199 unsigned int rwflags,
3205 if ((rwflags & EVENT_READ) && !stream_buf_read_setup (s))
3208 rwflags &= ~EVENT_READ;
3212 if (rwflags & EVENT_READ)
3216 /* if persistent is defined, call event_ctl only if rwflags has changed since last call */
3217 if (!persistent || *persistent != rwflags)
3219 event_ctl (es, socket_event_handle (s), rwflags, ar
3197 socket_set(struct link_socket *s, struct event_set *es, unsigned int rwflags, void *arg, unsigned int *persistent) argument
[all...]
H A Dsocket.h1056 unsigned int rwflags,
1080 const char *socket_stat (const struct link_socket *s, unsigned int rwflags, struct gc_arena *gc);
H A Dforward.c1667 c->c2.event_set_status |= ((e->rwflags & 3) << *((int*)e->arg));
H A Dtun.c343 tun_stat (const struct tuntap *tt, unsigned int rwflags, struct gc_arena *gc) argument
348 if (rwflags & EVENT_READ)
357 if (rwflags & EVENT_WRITE)

Completed in 132 milliseconds