/** @file
Definitions for the raw IP4 receive 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
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
**/
#ifndef _RAW_IP4_RX_H_
#define _RAW_IP4_RX_H_
//------------------------------------------------------------------------------
// Include Files
//------------------------------------------------------------------------------
#ifdef BUILD_FOR_WINDOWS
//
// Build for Windows environment
//
#include <winsock2.h>
#define ssize_t int
#define socklen_t int
#else // BUILD_FOR_WINDOWS
//
// Build for EFI environment
//
#include <Uefi.h>
#include <errno.h>
#include <stdlib.h>
#include <sys/EfiSysCall.h>
#define SOCKET int
#endif // BUILD_FOR_WINDOWS
#include <stdio.h>
//------------------------------------------------------------------------------
// Constants
//------------------------------------------------------------------------------
//
//
//------------------------------------------------------------------------------
// API
//------------------------------------------------------------------------------
/**
Run the raw IP4 receive application
@param [in] ArgC Argument count
@param [in] ArgV Argument value array
@retval 0 Successfully operation
**/
int
RawIp4Rx (
);
//------------------------------------------------------------------------------
#endif // _RAW_IP4_RX_H_