// don't copy options that is only valid for the first fragment\r
//\r
if (FirstFragment || (Type & IP4_OPTION_COPY_MASK)) {\r
- NetCopyMem (OptBuf + Next, Option + Cur, Len);\r
+ CopyMem (OptBuf + Next, Option + Cur, Len);\r
Next += Len;\r
}\r
\r
// Copy the option to the Buf, zero the buffer first to pad\r
// the options with NOP to align to 4 bytes.\r
//\r
- NetZeroMem (Buf, Len);\r
- NetCopyMem (Buf, OptBuf, Next);\r
+ ZeroMem (Buf, Len);\r
+ CopyMem (Buf, OptBuf, Next);\r
*BufLen = Len;\r
return EFI_SUCCESS;\r
}\r