Lines Matching full:opaque

60 /* Opaque structure containing the slirp state */
73 typedef slirp_ssize_t (*SlirpReadCb)(void *buf, size_t len, void *opaque);
75 typedef slirp_ssize_t (*SlirpWriteCb)(const void *buf, size_t len, void *opaque);
77 typedef void (*SlirpTimerCb)(void *opaque);
79 typedef int (*SlirpAddPollCb)(int fd, int events, void *opaque);
81 typedef int (*SlirpGetREventsCb)(int idx, void *opaque);
92 * The opaque parameter is set to the opaque pointer given in the slirp_new /
97 * Send an ethernet frame to the guest network. The opaque parameter is the
105 void (*guest_error)(const char *msg, void *opaque);
107 int64_t (*clock_get_ns)(void *opaque);
108 /* Create a new timer with the given callback and opaque data. Not
110 void *(*timer_new)(SlirpTimerCb cb, void *cb_opaque, void *opaque);
112 void (*timer_free)(void *timer, void *opaque);
114 void (*timer_mod)(void *timer, int64_t expire_time, void *opaque);
116 void (*register_poll_fd)(int fd, void *opaque);
118 void (*unregister_poll_fd)(int fd, void *opaque);
121 void (*notify)(void *opaque);
128 void (*init_completed)(Slirp *slirp, void *opaque);
131 void *(*timer_new_opaque)(SlirpTimerId id, void *cb_opaque, void *opaque);
228 void *opaque);
240 void *opaque);
250 * that should be monitored along the sleep. The opaque pointer is passed as
254 SlirpAddPollCb add_poll, void *opaque);
264 SlirpGetREventsCb get_revents, void *opaque);
311 int slirp_add_guestfwd(Slirp *slirp, SlirpWriteCb write_cb, void *opaque,
314 /* TODO: rather identify a guestfwd through an opaque pointer instead of through
341 /* Save the slirp state through the write_cb. The opaque pointer is passed as
344 int slirp_state_save(Slirp *s, SlirpWriteCb write_cb, void *opaque);
350 /* Load the slirp state through the read_cb. The opaque pointer is passed as
355 void *opaque);