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