diff options
author | vanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-04-11 03:36:07 +0000 |
---|---|---|
committer | vanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524> | 2008-04-11 03:36:07 +0000 |
commit | 7b414b4ed6ccdefce8e167ecc7d67ad64118eb94 (patch) | |
tree | 8ac9f25a508ec3f38ee50c3d43a1282c06605330 /MdeModulePkg/Library/DxeNetLib | |
parent | 987da598355ba96e9eb8b78fc4bdca4c3faedfe5 (diff) | |
download | edk2-platforms-7b414b4ed6ccdefce8e167ecc7d67ad64118eb94.tar.xz |
1. add public functions header.
2. apply for doxgen format for file header.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@5043 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Library/DxeNetLib')
-rw-r--r-- | MdeModulePkg/Library/DxeNetLib/DxeNetLib.c | 28 | ||||
-rw-r--r-- | MdeModulePkg/Library/DxeNetLib/NetBuffer.c | 25 |
2 files changed, 53 insertions, 0 deletions
diff --git a/MdeModulePkg/Library/DxeNetLib/DxeNetLib.c b/MdeModulePkg/Library/DxeNetLib/DxeNetLib.c index b813db37cc..a1525ee69f 100644 --- a/MdeModulePkg/Library/DxeNetLib/DxeNetLib.c +++ b/MdeModulePkg/Library/DxeNetLib/DxeNetLib.c @@ -123,6 +123,7 @@ NibbleToHexChar ( **/
INTN
+EFIAPI
NetGetMaskLength (
IN IP4_ADDR NetMask
)
@@ -150,6 +151,7 @@ NetGetMaskLength ( **/
INTN
+EFIAPI
NetGetIpClass (
IN IP4_ADDR Addr
)
@@ -189,6 +191,7 @@ NetGetIpClass ( **/
BOOLEAN
+EFIAPI
Ip4IsUnicast (
IN IP4_ADDR Ip,
IN IP4_ADDR NetMask
@@ -223,6 +226,7 @@ Ip4IsUnicast ( **/
UINT32
+EFIAPI
NetRandomInitSeed (
VOID
)
@@ -249,6 +253,7 @@ NetRandomInitSeed ( **/
UINT32
+EFIAPI
NetGetUint32 (
IN UINT8 *Buf
)
@@ -271,6 +276,7 @@ NetGetUint32 ( **/
VOID
+EFIAPI
NetPutUint32 (
IN UINT8 *Buf,
IN UINT32 Data
@@ -290,6 +296,7 @@ NetPutUint32 ( **/
LIST_ENTRY *
+EFIAPI
NetListRemoveHead (
LIST_ENTRY *Head
)
@@ -324,6 +331,7 @@ NetListRemoveHead ( **/
LIST_ENTRY *
+EFIAPI
NetListRemoveTail (
LIST_ENTRY *Head
)
@@ -359,6 +367,7 @@ NetListRemoveTail ( **/
VOID
+EFIAPI
NetListInsertAfter (
IN LIST_ENTRY *PrevEntry,
IN LIST_ENTRY *NewEntry
@@ -381,6 +390,7 @@ NetListInsertAfter ( **/
VOID
+EFIAPI
NetListInsertBefore (
IN LIST_ENTRY *PostEntry,
IN LIST_ENTRY *NewEntry
@@ -402,6 +412,7 @@ NetListInsertBefore ( **/
VOID
+EFIAPI
NetMapInit (
IN NET_MAP *Map
)
@@ -423,6 +434,7 @@ NetMapInit ( **/
VOID
+EFIAPI
NetMapClean (
IN NET_MAP *Map
)
@@ -464,6 +476,7 @@ NetMapClean ( **/
BOOLEAN
+EFIAPI
NetMapIsEmpty (
IN NET_MAP *Map
)
@@ -482,6 +495,7 @@ NetMapIsEmpty ( **/
UINTN
+EFIAPI
NetMapGetCount (
IN NET_MAP *Map
)
@@ -548,6 +562,7 @@ NetMapAllocItem ( **/
EFI_STATUS
+EFIAPI
NetMapInsertHead (
IN NET_MAP *Map,
IN VOID *Key,
@@ -585,6 +600,7 @@ NetMapInsertHead ( **/
EFI_STATUS
+EFIAPI
NetMapInsertTail (
IN NET_MAP *Map,
IN VOID *Key,
@@ -649,6 +665,7 @@ NetItemInMap ( **/
NET_MAP_ITEM *
+EFIAPI
NetMapFindKey (
IN NET_MAP *Map,
IN VOID *Key
@@ -682,6 +699,7 @@ NetMapFindKey ( **/
VOID *
+EFIAPI
NetMapRemoveItem (
IN NET_MAP *Map,
IN NET_MAP_ITEM *Item,
@@ -713,6 +731,7 @@ NetMapRemoveItem ( **/
VOID *
+EFIAPI
NetMapRemoveHead (
IN NET_MAP *Map,
OUT VOID **Value OPTIONAL
@@ -749,6 +768,7 @@ NetMapRemoveHead ( **/
VOID *
+EFIAPI
NetMapRemoveTail (
IN NET_MAP *Map,
OUT VOID **Value OPTIONAL
@@ -789,6 +809,7 @@ NetMapRemoveTail ( **/
EFI_STATUS
+EFIAPI
NetMapIterate (
IN NET_MAP *Map,
IN NET_MAP_CALLBACK CallBack,
@@ -950,6 +971,7 @@ NetLibDefaultUnload ( **/
EFI_STATUS
+EFIAPI
NetLibCreateServiceChild (
IN EFI_HANDLE Controller,
IN EFI_HANDLE Image,
@@ -1000,6 +1022,7 @@ NetLibCreateServiceChild ( **/
EFI_STATUS
+EFIAPI
NetLibDestroyServiceChild (
IN EFI_HANDLE Controller,
IN EFI_HANDLE Image,
@@ -1053,6 +1076,7 @@ NetLibDestroyServiceChild ( **/
EFI_STATUS
+EFIAPI
NetLibGetMacString (
IN EFI_HANDLE SnpHandle,
IN EFI_HANDLE ImageHandle,
@@ -1181,6 +1205,7 @@ ON_EXIT: @retval None
**/
VOID
+EFIAPI
NetLibCreateIPv4DPathNode (
IN OUT IPv4_DEVICE_PATH *Node,
IN EFI_HANDLE Controller,
@@ -1229,6 +1254,7 @@ NetLibCreateIPv4DPathNode ( **/
EFI_HANDLE
+EFIAPI
NetLibGetNicHandle (
IN EFI_HANDLE Controller,
IN EFI_GUID *ProtocolGuid
@@ -1280,6 +1306,7 @@ NetLibGetNicHandle ( **/
EFI_STATUS
+EFIAPI
NetLibQueueDpc (
IN EFI_TPL DpcTpl,
IN EFI_DPC_PROCEDURE DpcProcedure,
@@ -1297,6 +1324,7 @@ NetLibQueueDpc ( **/
EFI_STATUS
+EFIAPI
NetLibDispatchDpc (
VOID
)
diff --git a/MdeModulePkg/Library/DxeNetLib/NetBuffer.c b/MdeModulePkg/Library/DxeNetLib/NetBuffer.c index 69e9082f02..427073d66d 100644 --- a/MdeModulePkg/Library/DxeNetLib/NetBuffer.c +++ b/MdeModulePkg/Library/DxeNetLib/NetBuffer.c @@ -100,6 +100,7 @@ FreeNbuf: **/
NET_BUF *
+EFIAPI
NetbufAlloc (
IN UINT32 Len
)
@@ -202,6 +203,7 @@ NetbufFreeVector ( **/
VOID
+EFIAPI
NetbufFree (
IN NET_BUF *Nbuf
)
@@ -231,6 +233,7 @@ NetbufFree ( **/
NET_BUF *
+EFIAPI
NetbufClone (
IN NET_BUF *Nbuf
)
@@ -278,6 +281,7 @@ NetbufClone ( **/
NET_BUF *
+EFIAPI
NetbufDuplicate (
IN NET_BUF *Nbuf,
IN NET_BUF *Duplicate OPTIONAL,
@@ -319,6 +323,7 @@ NetbufDuplicate ( **/
VOID
+EFIAPI
NetbufFreeList (
IN LIST_ENTRY *Head
)
@@ -356,6 +361,7 @@ NetbufFreeList ( **/
UINT8 *
+EFIAPI
NetbufGetByte (
IN NET_BUF *Nbuf,
IN UINT32 Offset,
@@ -517,6 +523,7 @@ NetbufGetFragmentFree ( **/
NET_BUF *
+EFIAPI
NetbufGetFragment (
IN NET_BUF *Nbuf,
IN UINT32 Offset,
@@ -699,6 +706,7 @@ FreeChild: **/
NET_BUF *
+EFIAPI
NetbufFromExt (
IN NET_FRAGMENT *ExtFragment,
IN UINT32 ExtNum,
@@ -869,6 +877,7 @@ FreeFirstBlock: **/
EFI_STATUS
+EFIAPI
NetbufBuildExt (
IN NET_BUF *Nbuf,
IN NET_FRAGMENT *ExtFragment,
@@ -915,6 +924,7 @@ NetbufBuildExt ( **/
NET_BUF *
+EFIAPI
NetbufFromBufList (
IN LIST_ENTRY *BufList,
IN UINT32 HeadSpace,
@@ -988,6 +998,7 @@ NetbufFromBufList ( **/
VOID
+EFIAPI
NetbufReserve (
IN NET_BUF *Nbuf,
IN UINT32 Len
@@ -1019,6 +1030,7 @@ NetbufReserve ( **/
UINT8 *
+EFIAPI
NetbufAllocSpace (
IN NET_BUF *Nbuf,
IN UINT32 Len,
@@ -1140,6 +1152,7 @@ NetblockTrim ( **/
UINT32
+EFIAPI
NetbufTrim (
IN NET_BUF *Nbuf,
IN UINT32 Len,
@@ -1204,6 +1217,7 @@ NetbufTrim ( **/
UINT32
+EFIAPI
NetbufCopy (
IN NET_BUF *Nbuf,
IN UINT32 Offset,
@@ -1300,6 +1314,7 @@ NetbufCopy ( **/
VOID
+EFIAPI
NetbufQueInit (
IN NET_BUF_QUEUE *NbufQue
)
@@ -1323,6 +1338,7 @@ NetbufQueInit ( **/
NET_BUF_QUEUE *
+EFIAPI
NetbufQueAlloc (
VOID
)
@@ -1349,6 +1365,7 @@ NetbufQueAlloc ( **/
VOID
+EFIAPI
NetbufQueFree (
IN NET_BUF_QUEUE *NbufQue
)
@@ -1374,6 +1391,7 @@ NetbufQueFree ( **/
VOID
+EFIAPI
NetbufQueAppend (
IN NET_BUF_QUEUE *NbufQue,
IN NET_BUF *Nbuf
@@ -1399,6 +1417,7 @@ NetbufQueAppend ( **/
NET_BUF *
+EFIAPI
NetbufQueRemove (
IN NET_BUF_QUEUE *NbufQue
)
@@ -1528,6 +1547,7 @@ NetbufQueCopy ( **/
UINT32
+EFIAPI
NetbufQueTrim (
IN NET_BUF_QUEUE *NbufQue,
IN UINT32 Len
@@ -1586,6 +1606,7 @@ NetbufQueTrim ( **/
VOID
+EFIAPI
NetbufQueFlush (
IN NET_BUF_QUEUE *NbufQue
)
@@ -1609,6 +1630,7 @@ NetbufQueFlush ( **/
UINT16
+EFIAPI
NetblockChecksum (
IN UINT8 *Bulk,
IN UINT32 Len
@@ -1653,6 +1675,7 @@ NetblockChecksum ( **/
UINT16
+EFIAPI
NetAddChecksum (
IN UINT16 Checksum1,
IN UINT16 Checksum2
@@ -1683,6 +1706,7 @@ NetAddChecksum ( **/
UINT16
+EFIAPI
NetbufChecksum (
IN NET_BUF *Nbuf
)
@@ -1736,6 +1760,7 @@ NetbufChecksum ( **/
UINT16
+EFIAPI
NetPseudoHeadChecksum (
IN IP4_ADDR Src,
IN IP4_ADDR Dst,
|