]> git.proxmox.com Git - mirror_edk2.git/blob - MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Output.h
sync comments, fix function header, rename variable name to follow coding style.
[mirror_edk2.git] / MdeModulePkg / Universal / Network / Ip4Dxe / Ip4Output.h
1 /** @file
2
3 Copyright (c) 2005 - 2006, Intel Corporation
4 All rights reserved. This program and the accompanying materials
5 are licensed and made available under the terms and conditions of the BSD License
6 which accompanies this distribution. The full text of the license may be found at
7 http://opensource.org/licenses/bsd-license.php
8
9 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
10 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
11
12 Module Name:
13
14 Ip4Output.h
15
16 Abstract:
17
18
19 **/
20
21 #ifndef __EFI_IP4_OUTPUT_H__
22 #define __EFI_IP4_OUTPUT_H__
23
24 VOID
25 Ip4SysPacketSent (
26 IP4_PROTOCOL *Ip4Instance,
27 NET_BUF *Packet,
28 EFI_STATUS IoStatus,
29 UINT32 Flag,
30 VOID *Context
31 );
32
33 EFI_STATUS
34 Ip4Output (
35 IN IP4_SERVICE *IpSb,
36 IN IP4_PROTOCOL *IpInstance, OPTIONAL
37 IN NET_BUF *Data,
38 IN IP4_HEAD *Head,
39 IN UINT8 *Option,
40 IN UINT32 OptLen,
41 IN IP4_ADDR GateWay,
42 IN IP4_FRAME_CALLBACK Callback,
43 IN VOID *Context
44 );
45
46 VOID
47 Ip4CancelPacket (
48 IN IP4_INTERFACE *IpIf,
49 IN NET_BUF *Packet,
50 IN EFI_STATUS IoStatus
51 );
52
53 extern UINT16 mIp4Id;
54 #endif