]> git.proxmox.com Git - mirror_edk2.git/blame - MdeModulePkg/Universal/Network/ArpDxe/ArpDriver.h
1. Sync the latest network stack. Add NetLibCreateIPv4DPathNode () in netlib library.
[mirror_edk2.git] / MdeModulePkg / Universal / Network / ArpDxe / ArpDriver.h
CommitLineData
772db4bb 1/** @file
2
3Copyright (c) 2006 - 2007, Intel Corporation
4All rights reserved. This program and the accompanying materials
5are licensed and made available under the terms and conditions of the BSD License
6which accompanies this distribution. The full text of the license may be found at
7http://opensource.org/licenses/bsd-license.php
8
9THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
10WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
11
12Module Name:
13
14 ArpDriver.c
15
16Abstract:
17
18
19**/
20
21#ifndef _ARP_DRIVER_H_
22#define _ARP_DRIVER_H_
23
24\r
25#include <PiDxe.h>\r
26\r
27#include <Protocol/Arp.h>\r
28#include <Protocol/ManagedNetwork.h>
29#include <Protocol/ServiceBinding.h>\r
30\r
31#include <Library/DebugLib.h>\r
32#include <Library/UefiDriverEntryPoint.h>\r
33#include <Library/UefiBootServicesTableLib.h>\r
34#include <Library/UefiLib.h>
35
36#include "ArpDebug.h"
37
38//
39// Global variables
40//
41extern EFI_DRIVER_BINDING_PROTOCOL gArpDriverBinding;
42extern EFI_COMPONENT_NAME_PROTOCOL gArpComponentName;
43
44EFI_STATUS
45EFIAPI
46ArpDriverBindingSupported (
47 IN EFI_DRIVER_BINDING_PROTOCOL *This,
48 IN EFI_HANDLE ControllerHandle,
49 IN EFI_DEVICE_PATH_PROTOCOL *RemainingDevicePath OPTIONAL
50 );
51
52EFI_STATUS
53EFIAPI
54ArpDriverBindingStart (
55 IN EFI_DRIVER_BINDING_PROTOCOL *This,
56 IN EFI_HANDLE ControllerHandle,
57 IN EFI_DEVICE_PATH_PROTOCOL *RemainingDevicePath OPTIONAL
58 );
59
60EFI_STATUS
61EFIAPI
62ArpDriverBindingStop (
63 IN EFI_DRIVER_BINDING_PROTOCOL *This,
64 IN EFI_HANDLE ControllerHandle,
65 IN UINTN NumberOfChildren,
66 IN EFI_HANDLE *ChildHandleBuffer
67 );
68
69EFI_STATUS
70EFIAPI
71ArpServiceBindingCreateChild (
72 IN EFI_SERVICE_BINDING_PROTOCOL *This,
73 IN EFI_HANDLE *ChildHandle
74 );
75
76EFI_STATUS
77EFIAPI
78ArpServiceBindingDestroyChild (
79 IN EFI_SERVICE_BINDING_PROTOCOL *This,
80 IN EFI_HANDLE ChildHandle
81 );
82
83#endif
84