Searched refs:Slirp (Results 1 – 2 of 2) sorted by relevance
/freebsd/usr.sbin/bhyve/ |
H A D | libslirp.h | 61 typedef struct Slirp Slirp; typedef 128 void (*init_completed)(Slirp *slirp, void *opaque); 227 Slirp *slirp_new(const SlirpConfig *cfg, const SlirpCb *callbacks, 231 Slirp *slirp_init(int restricted, bool in_enabled, struct in_addr vnetwork, 243 void slirp_cleanup(Slirp *slirp); 253 void slirp_pollfds_fill(Slirp *slirp, uint32_t *timeout, 263 void slirp_pollfds_poll(Slirp *slirp, int select_error, 269 void slirp_input(Slirp *slirp, const uint8_t *pkt, int pkt_len); 275 void slirp_handle_timer(Slirp *slirp, SlirpTimerId id, void *cb_opaque); 280 int slirp_add_hostfwd(Slirp *slirp, int is_udp, struct in_addr host_addr, [all …]
|
H A D | net_backend_slirp.c | 69 typedef int (*slirp_add_hostxfwd_p_t)(Slirp *, 72 typedef void (*slirp_cleanup_p_t)(Slirp *); 73 typedef void (*slirp_input_p_t)(Slirp *, const uint8_t *, int); 74 typedef Slirp *(*slirp_new_p_t)(const SlirpConfig *, const SlirpCb *, void *); 75 typedef void (*slirp_pollfds_fill_p_t)(Slirp *, uint32_t *timeout, 77 typedef void (*slirp_pollfds_poll_p_t)(Slirp *, int, SlirpGetREventsCb, void *); 133 Slirp *slirp;
|