1 /******************************************************************************
2 * Copyright (c) 2013 IBM Corporation
4 * This program and the accompanying materials
5 * are made available under the terms of the BSD License
6 * which accompanies this distribution, and is available at
7 * http://www.opensource.org/licenses/bsd-license.php
10 * IBM Corporation - initial implementation
11 ******************************************************************************/
17 #include <netdriver.h>
19 extern net_driver_t *libveth_open(char *mac_addr, int mac_len, char *reg, int reg_len);
20 extern void libveth_close(net_driver_t *driver);
21 extern int libveth_read(char *buf, int len, net_driver_t *driver);
22 extern int libveth_write(char *buf, int len, net_driver_t *driver);