diff options
author | Avik Sil <aviksil@linux.vnet.ibm.com> | 2013-09-23 14:07:35 +0530 |
---|---|---|
committer | Nikunj A Dadhania <nikunj@linux.vnet.ibm.com> | 2013-10-04 12:00:06 +0530 |
commit | eb5994df206de4b36501a978c00309962d6dd3f5 (patch) | |
tree | 278c11eb553f1cfd5ca0673c4d790674ab7ae161 /include | |
parent | 16e48887834894a2f7a73c18e6c7a5fe2b08db99 (diff) | |
download | SLOF-eb5994df206de4b36501a978c00309962d6dd3f5.zip SLOF-eb5994df206de4b36501a978c00309962d6dd3f5.tar.gz SLOF-eb5994df206de4b36501a978c00309962d6dd3f5.tar.bz2 |
Add veth driver in libveth
Signed-off-by: Avik Sil <aviksil@linux.vnet.ibm.com>
Signed-off-by: Nikunj A Dadhania <nikunj@linux.vnet.ibm.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/netdriver.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/include/netdriver.h b/include/netdriver.h new file mode 100644 index 0000000..d81134e --- /dev/null +++ b/include/netdriver.h @@ -0,0 +1,24 @@ +/****************************************************************************** + * Copyright (c) 2013 IBM Corporation + * All rights reserved. + * This program and the accompanying materials + * are made available under the terms of the BSD License + * which accompanies this distribution, and is available at + * http://www.opensource.org/licenses/bsd-license.php + * + * Contributors: + * IBM Corporation - initial implementation + ******************************************************************************/ + +#ifndef _NETDRIVER_H +#define _NETDRIVER_H + +#include <stdint.h> + +typedef struct net_driver { + uint8_t mac_addr[6]; + uint32_t reg; + int running; +} net_driver_t; + +#endif |