EDK2 doxygen online documents - Firmware Encoding Index 1
EDK2 doxygen online documents - Firmware Encoding Index

NetworkPkg/Ip6Dxe/ComponentName.c

Go to the documentation of this file.
00001 
00017 #include "Ip6Impl.h"
00018 
00019 //
00020 // EFI Component Name Functions
00021 //
00022 
00062 EFI_STATUS
00063 EFIAPI
00064 Ip6ComponentNameGetDriverName (
00065   IN  EFI_COMPONENT_NAME_PROTOCOL  *This,
00066   IN  CHAR8                        *Language,
00067   OUT CHAR16                       **DriverName
00068   );
00069 
00138 EFI_STATUS
00139 EFIAPI
00140 Ip6ComponentNameGetControllerName (
00141   IN  EFI_COMPONENT_NAME_PROTOCOL                     *This,
00142   IN  EFI_HANDLE                                      ControllerHandle,
00143   IN  EFI_HANDLE                                      ChildHandle        OPTIONAL,
00144   IN  CHAR8                                           *Language,
00145   OUT CHAR16                                          **ControllerName
00146   );
00147 
00148 //
00149 // EFI Component Name Protocol.
00150 //
00151 GLOBAL_REMOVE_IF_UNREFERENCED EFI_COMPONENT_NAME_PROTOCOL   gIp6ComponentName = {
00152   Ip6ComponentNameGetDriverName,
00153   Ip6ComponentNameGetControllerName,
00154   "eng"
00155 };
00156 
00157 //
00158 // EFI Component Name 2 Protocol.
00159 //
00160 GLOBAL_REMOVE_IF_UNREFERENCED EFI_COMPONENT_NAME2_PROTOCOL  gIp6ComponentName2 = {
00161   (EFI_COMPONENT_NAME2_GET_DRIVER_NAME) Ip6ComponentNameGetDriverName,
00162   (EFI_COMPONENT_NAME2_GET_CONTROLLER_NAME) Ip6ComponentNameGetControllerName,
00163   "en"
00164 };
00165 
00166 GLOBAL_REMOVE_IF_UNREFERENCED EFI_UNICODE_STRING_TABLE      mIp6DriverNameTable[] = {
00167   {
00168     "eng;en",
00169     L"IP6 Network Service Driver"
00170   },
00171   {
00172     NULL,
00173     NULL
00174   }
00175 };
00176 
00216 EFI_STATUS
00217 EFIAPI
00218 Ip6ComponentNameGetDriverName (
00219   IN  EFI_COMPONENT_NAME_PROTOCOL  *This,
00220   IN  CHAR8                        *Language,
00221   OUT CHAR16                       **DriverName
00222   )
00223 {
00224   return LookupUnicodeString2 (
00225           Language,
00226           This->SupportedLanguages,
00227           mIp6DriverNameTable,
00228           DriverName,
00229           (BOOLEAN) (This == &gIp6ComponentName)
00230           );
00231 
00232 }
00233 
00302 EFI_STATUS
00303 EFIAPI
00304 Ip6ComponentNameGetControllerName (
00305   IN  EFI_COMPONENT_NAME_PROTOCOL                     *This,
00306   IN  EFI_HANDLE                                      ControllerHandle,
00307   IN  EFI_HANDLE                                      ChildHandle        OPTIONAL,
00308   IN  CHAR8                                           *Language,
00309   OUT CHAR16                                          **ControllerName
00310   )
00311 {
00312   return EFI_UNSUPPORTED;
00313 }
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Defines