Home
last modified time | relevance | path

Searched refs:net_backend (Results 1 – 4 of 4) sorted by relevance

/illumos-gate/usr/src/cmd/bhyve/common/
H A Dnet_backends_priv.h38 struct net_backend { struct
46 int (*init)(struct net_backend *be, const char *devname, argument
48 void (*cleanup)(struct net_backend *be); argument
55 ssize_t (*send)(struct net_backend *be, const struct iovec *iov, argument
63 ssize_t (*peek_recvlen)(struct net_backend *be); argument
72 ssize_t (*recv)(struct net_backend *be, const struct iovec *iov, argument
83 void (*recv_enable)(struct net_backend *be); argument
84 void (*recv_disable)(struct net_backend *be); argument
91 uint64_t (*get_cap)(struct net_backend *be); argument
97 int (*set_cap)(struct net_backend *be, uint64_t features, argument
[all …]
H A Dnet_backends.c78 tap_cleanup(struct net_backend *be) in tap_cleanup()
92 tap_init(struct net_backend *be, const char *devname, in tap_init()
157 tap_send(struct net_backend *be, const struct iovec *iov, int iovcnt) in tap_send()
163 tap_peek_recvlen(struct net_backend *be) in tap_peek_recvlen()
193 tap_recv(struct net_backend *be, const struct iovec *iov, int iovcnt) in tap_recv()
221 tap_recv_enable(struct net_backend *be) in tap_recv_enable()
229 tap_recv_disable(struct net_backend *be) in tap_recv_disable()
237 tap_get_cap(struct net_backend *be __unused) in tap_get_cap()
244 tap_set_cap(struct net_backend *be __unused, uint64_t features, in tap_set_cap()
251 static struct net_backend tap_backend = {
[all …]
H A Dnet_backends.h34 typedef struct net_backend net_backend_t;
H A Dnet_backend_dlpi.c351 static struct net_backend dlpi_backend = {