X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=MdeModulePkg%2FUniversal%2FNetwork%2FIp4Dxe%2FIp4Common.h;fp=MdeModulePkg%2FUniversal%2FNetwork%2FIp4Dxe%2FIp4Common.h;h=9142e1df42074d88a697fd435ac5c59141544eeb;hp=58fb83f5243773b6c38be29d45eceff07ca7cc52;hb=96e1079fa412753e42edf293ce28adda88e68a45;hpb=a8d048d54d683249db6444a208c44dbdfd6dbc09 diff --git a/MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Common.h b/MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Common.h index 58fb83f524..9142e1df42 100644 --- a/MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Common.h +++ b/MdeModulePkg/Universal/Network/Ip4Dxe/Ip4Common.h @@ -66,9 +66,9 @@ typedef enum { #define IP4_ALLSYSTEM_ADDRESS 0xE0000001u #define IP4_ALLROUTER_ADDRESS 0xE0000002u -// -// Compose the fragment field to be used in the IP4 header. -// +/// +/// Compose the fragment field to be used in the IP4 header. +/// #define IP4_HEAD_FRAGMENT_FIELD(Df, Mf, Offset) \ ((UINT16)(((Df) ? 0x4000 : 0) | ((Mf) ? 0x2000 : 0) | (((Offset) >> 3) & 0x1fff))) @@ -80,10 +80,10 @@ typedef enum { #define IP4_IS_BROADCAST(CastType) ((CastType) >= IP4_LOCAL_BROADCAST) -// -// Conver the Microsecond to second. IP transmit/receive time is -// in the unit of microsecond. IP ticks once per second. -// +/// +/// Conver the Microsecond to second. IP transmit/receive time is +/// in the unit of microsecond. IP ticks once per second. +/// #define IP4_US_TO_SEC(Us) (((Us) + 999999) / 1000000) INTN