EDK2 doxygen online documents - Firmware Encoding Index 1
EDK2 doxygen online documents - Firmware Encoding Index
Defines | Functions

AppPkg/Applications/Sockets/RawIp4Tx/RawIp4Tx.h File Reference

#include <Uefi.h>
#include <errno.h>
#include <stdlib.h>
#include <netinet/in.h>
#include <sys/EfiSysCall.h>
#include <sys/endian.h>
#include <sys/socket.h>
#include <stdio.h>

Go to the source code of this file.

Defines

#define CLOSE_SOCKET   close
#define GET_ERRNO   errno
#define SIN_ADDR(port)   port.sin_addr.s_addr
#define SIN_FAMILY(port)   port.sin_family
#define SIN_LEN(port)   port.sin_len
#define SIN_PORT(port)   port.sin_port
#define SOCKET   int
#define RAW_PROTOCOL   253

Functions

int RawIp4Tx (IN int ArgC, IN char **ArgV)

Detailed Description

Definitions for the raw IP4 transmit 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.

Definition in file RawIp4Tx.h.


Define Documentation

#define CLOSE_SOCKET   close

Definition at line 55 of file RawIp4Tx.h.

#define GET_ERRNO   errno

Definition at line 56 of file RawIp4Tx.h.

#define RAW_PROTOCOL   253

Definition at line 75 of file RawIp4Tx.h.

#define SIN_ADDR (   port)    port.sin_addr.s_addr

Definition at line 57 of file RawIp4Tx.h.

#define SIN_FAMILY (   port)    port.sin_family

Definition at line 58 of file RawIp4Tx.h.

#define SIN_LEN (   port)    port.sin_len

Definition at line 59 of file RawIp4Tx.h.

#define SIN_PORT (   port)    port.sin_port

Definition at line 60 of file RawIp4Tx.h.

#define SOCKET   int

Definition at line 61 of file RawIp4Tx.h.


Function Documentation

int RawIp4Tx ( IN int  ArgC,
IN char **  ArgV 
)

Transmit raw IP4 packets to the remote system.

Parameters:
[in]ArgCArgument count
[in]ArgVArgument value array
Return values:
0Successfully operation

Definition at line 29 of file RawIp4Tx.c.

 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Defines