/** @file
- This library provides basic functiosn for UEFI network stack.
+ This library provides basic function for UEFI network stack.
Copyright (c) 2005 - 2008, Intel Corporation
All rights reserved. This program and the accompanying materials
#ifndef _NET_LIB_H_
#define _NET_LIB_H_
-#include <PiDxe.h>
#include <Library/BaseMemoryLib.h>
#include <Library/MemoryAllocationLib.h>
#include <Protocol/DriverBinding.h>
IN IP4_ADDR NetMask
);
-extern IP4_ADDR mIp4AllMasks [IP4_MASK_NUM];
+extern IP4_ADDR gIp4AllMasks [IP4_MASK_NUM];
extern EFI_IPv4_ADDRESS mZeroIp4Addr;
VOID
);
-/**\r
- This is the default unload handle for all the network drivers.\r
-\r
- @param ImageHandle The drivers' driver image.\r
-\r
- @retval EFI_SUCCESS The image is unloaded.\r
- @retval Others Failed to unload the image.\r
-\r
+/**
+ This is the default unload handle for all the network drivers.
+
+ @param ImageHandle The drivers' driver image.
+
+ @retval EFI_SUCCESS The image is unloaded.
+ @retval Others Failed to unload the image.
+
**/
EFI_STATUS
EFIAPI
IN UINT8 *Dest
);
-/**\r
- Trim some data from the queue header, release the buffer if\r
- whole buffer is trimmed.\r
-\r
- @param NbufQue Pointer to the net buffer queue.\r
- @param Len Length of the data to trim.\r
-\r
- @retval UINTN The length of the data trimmed.\r
-\r
+/**
+ Trim some data from the queue header, release the buffer if
+ whole buffer is trimmed.
+
+ @param NbufQue Pointer to the net buffer queue.
+ @param Len Length of the data to trim.
+
+ @retval UINTN The length of the data trimmed.
+
**/
UINT32
EFIAPI