X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=AppPkg%2FApplications%2FSockets%2FRawIp4Tx%2FMain.c;fp=AppPkg%2FApplications%2FSockets%2FRawIp4Tx%2FMain.c;h=cec5cd7d61d92db6e77d92b2e19c9d71b1f09c8d;hp=0000000000000000000000000000000000000000;hb=59bc059327dd519619fa437c0d7c941e090cd8a3;hpb=a88c31639bb24c73383a4528a5b77066e805148b diff --git a/AppPkg/Applications/Sockets/RawIp4Tx/Main.c b/AppPkg/Applications/Sockets/RawIp4Tx/Main.c new file mode 100644 index 0000000000..cec5cd7d61 --- /dev/null +++ b/AppPkg/Applications/Sockets/RawIp4Tx/Main.c @@ -0,0 +1,44 @@ +/** @file + Raw IP4 transmit test application + + Copyright (c) 2011, Intel Corporation + All rights reserved. This program and the accompanying materials + are licensed and made available under the terms and conditions of the BSD License + which accompanies this distribution. The full text of the license may be found at + http://opensource.org/licenses/bsd-license.php + + THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, + WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. + +**/ + +#include "RawIp4Tx.h" + + +/** + Transmit raw IP4 packets to the remote system. + + @param [in] Argc The number of arguments + @param [in] Argv The argument value array + + @retval 0 The application exited normally. + @retval Other An error occurred. +**/ +int +main ( + IN int Argc, + IN char **Argv + ) +{ + int RetVal; + + // + // Run the application + // + RetVal = RawIp4Tx ( Argc, Argv ); + + // + // Return the operation status + // + return RetVal; +}