Update the sockets applications
[mirror_edk2.git] / AppPkg / Applications / Sockets / RawIp4Tx / Main.c
CommitLineData
59bc0593 1/** @file\r
2 Raw IP4 transmit test application\r
3\r
4 Copyright (c) 2011, Intel Corporation\r
5 All rights reserved. This program and the accompanying materials\r
6 are licensed and made available under the terms and conditions of the BSD License\r
7 which accompanies this distribution. The full text of the license may be found at\r
8 http://opensource.org/licenses/bsd-license.php\r
9\r
10 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
11 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
12\r
13**/\r
14\r
15#include "RawIp4Tx.h"\r
16\r
17\r
18/**\r
19 Transmit raw IP4 packets to the remote system.\r
20\r
21 @param [in] Argc The number of arguments\r
22 @param [in] Argv The argument value array\r
23\r
24 @retval 0 The application exited normally.\r
25 @retval Other An error occurred.\r
26**/\r
27int\r
28main (\r
29 IN int Argc,\r
30 IN char **Argv\r
31 )\r
32{\r
33 int RetVal;\r
34\r
35 //\r
36 // Run the application\r
37 //\r
38 RetVal = RawIp4Tx ( Argc, Argv );\r
39\r
40 //\r
41 // Return the operation status\r
42 //\r
43 return RetVal;\r
44}\r