]> git.proxmox.com Git - mirror_edk2.git/blob - MdeModulePkg/Universal/Network/ArpDxe/ArpDriver.h
93526c777f6717eeefa1a8e5d8d0e424247a8546
[mirror_edk2.git] / MdeModulePkg / Universal / Network / ArpDxe / ArpDriver.h
1 /** @file
2
3 Copyright (c) 2006 - 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 Module Name:
13
14 ArpDriver.c
15
16 Abstract:
17
18
19 **/
20
21 #ifndef _ARP_DRIVER_H_
22 #define _ARP_DRIVER_H_
23
24
25 #include <PiDxe.h>
26
27 #include <Protocol/Arp.h>
28 #include <Protocol/ManagedNetwork.h>
29 #include <Protocol/ServiceBinding.h>
30
31 #include <Library/DebugLib.h>
32 #include <Library/UefiDriverEntryPoint.h>
33 #include <Library/UefiBootServicesTableLib.h>
34 #include <Library/UefiLib.h>
35
36 #include "ArpDebug.h"
37
38 //
39 // Global variables
40 //
41 extern EFI_DRIVER_BINDING_PROTOCOL gArpDriverBinding;
42 extern EFI_COMPONENT_NAME_PROTOCOL gArpComponentName;
43
44 EFI_STATUS
45 EFIAPI
46 ArpDriverBindingSupported (
47 IN EFI_DRIVER_BINDING_PROTOCOL *This,
48 IN EFI_HANDLE ControllerHandle,
49 IN EFI_DEVICE_PATH_PROTOCOL *RemainingDevicePath OPTIONAL
50 );
51
52 EFI_STATUS
53 EFIAPI
54 ArpDriverBindingStart (
55 IN EFI_DRIVER_BINDING_PROTOCOL *This,
56 IN EFI_HANDLE ControllerHandle,
57 IN EFI_DEVICE_PATH_PROTOCOL *RemainingDevicePath OPTIONAL
58 );
59
60 EFI_STATUS
61 EFIAPI
62 ArpDriverBindingStop (
63 IN EFI_DRIVER_BINDING_PROTOCOL *This,
64 IN EFI_HANDLE ControllerHandle,
65 IN UINTN NumberOfChildren,
66 IN EFI_HANDLE *ChildHandleBuffer
67 );
68
69 EFI_STATUS
70 EFIAPI
71 ArpServiceBindingCreateChild (
72 IN EFI_SERVICE_BINDING_PROTOCOL *This,
73 IN EFI_HANDLE *ChildHandle
74 );
75
76 EFI_STATUS
77 EFIAPI
78 ArpServiceBindingDestroyChild (
79 IN EFI_SERVICE_BINDING_PROTOCOL *This,
80 IN EFI_HANDLE ChildHandle
81 );
82
83 #endif
84