Add qemu 2.4.0
[kvmfornfv.git] / qemu / roms / SLOF / clients / net-snk / app / netapps / netapps.h
1 /******************************************************************************
2  * Copyright (c) 2004, 2008 IBM Corporation
3  * All rights reserved.
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
8  *
9  * Contributors:
10  *     IBM Corporation - initial implementation
11  *****************************************************************************/
12
13 #ifndef _NETAPPS_H_
14 #define _NETAPPS_H_
15
16 #include <netlib/tftp.h>
17
18 #define F_IPV4  4
19 #define F_IPV6  6
20
21 int netboot(int argc, char *argv[]);
22 int netsave(int argc, char *argv[]);
23 int netflash(int argc, char *argv[]);
24 int bcmflash(int argc, char *argv[]);
25 int mac_sync(int argc, char *argv[]);
26 int net_eeprom_version( void );
27 int ping(int argc, char *argv[]);
28 int dhcp(char *ret_buffer, filename_ip_t * fn_ip, unsigned int retries, int flags);
29
30 #endif