1 /*
2  * Copyright (c) 2015 Travis Geiselbrecht
3  *
4  * Use of this source code is governed by a MIT-style
5  * license that can be found in the LICENSE file or at
6  * https://opensource.org/licenses/MIT
7  */
8 #pragma once
9 
10 #include <lk/compiler.h>
11 #include <sys/types.h>
12 #include <dev/virtio.h>
13 
14 status_t virtio_net_init(struct virtio_device *dev, uint32_t host_features) __NONNULL();
15 status_t virtio_net_start(void);
16 
17 /* return the count of virtio interfaces found */
18 int virtio_net_found(void);
19 
20 status_t virtio_net_get_mac_addr(uint8_t mac_addr[6]);
21 
22 struct pktbuf;
23 extern status_t virtio_net_send_minip_pkt(struct pktbuf *p);
24 
25