]> git.proxmox.com Git - mirror_edk2.git/blob - MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Driver.h
5421c90c3b3ff6254b8d3ef03bb05ac611943b23
[mirror_edk2.git] / MdeModulePkg / Universal / Network / Ip4Dxe / Ip4Driver.h
1 /** @file
2
3 Copyright (c) 2005 - 2007, 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
13 Module Name:
14
15 Ip4Driver.h
16
17 Abstract:
18
19
20 **/
21
22 #ifndef __EFI_IP4_DRIVER_H__
23 #define __EFI_IP4_DRIVER_H__
24
25 #include <Protocol/ServiceBinding.h>
26
27 extern EFI_DRIVER_BINDING_PROTOCOL gIp4DriverBinding;
28 extern EFI_COMPONENT_NAME_PROTOCOL gIp4ComponentName;
29
30 //
31 // Function prototype for the driver's entry point
32 //
33 EFI_STATUS
34 EFIAPI
35 Ip4DriverEntryPoint (
36 IN EFI_HANDLE ImageHandle,
37 IN EFI_SYSTEM_TABLE *SystemTable
38 );
39
40 //
41 // Function prototypes for the Drivr Binding Protocol
42 //
43 EFI_STATUS
44 EFIAPI
45 Ip4DriverBindingSupported (
46 IN EFI_DRIVER_BINDING_PROTOCOL *This,
47 IN EFI_HANDLE ControllerHandle,
48 IN EFI_DEVICE_PATH_PROTOCOL *RemainingDevicePath OPTIONAL
49 );
50
51 EFI_STATUS
52 EFIAPI
53 Ip4DriverBindingStart (
54 IN EFI_DRIVER_BINDING_PROTOCOL *This,
55 IN EFI_HANDLE ControllerHandle,
56 IN EFI_DEVICE_PATH_PROTOCOL *RemainingDevicePath OPTIONAL
57 );
58
59 EFI_STATUS
60 EFIAPI
61 Ip4DriverBindingStop (
62 IN EFI_DRIVER_BINDING_PROTOCOL *This,
63 IN EFI_HANDLE ControllerHandle,
64 IN UINTN NumberOfChildren,
65 IN EFI_HANDLE *ChildHandleBuffer
66 );
67
68 //
69 // Function ptototypes for the ServiceBinding Prococol
70 //
71 EFI_STATUS
72 EFIAPI
73 Ip4ServiceBindingCreateChild (
74 IN EFI_SERVICE_BINDING_PROTOCOL *This,
75 IN EFI_HANDLE *ChildHandle
76 );
77
78 EFI_STATUS
79 EFIAPI
80 Ip4ServiceBindingDestroyChild (
81 IN EFI_SERVICE_BINDING_PROTOCOL *This,
82 IN EFI_HANDLE ChildHandle
83 );
84 #endif