8#ifndef __EFI_IP4_INPUT_H__
9#define __EFI_IP4_INPUT_H__
11#define IP4_MIN_HEADLEN 20
12#define IP4_MAX_HEADLEN 60
16#define IP4_MAX_IPSEC_HEADLEN 54
18#define IP4_ASSEMLE_HASH_SIZE 31
19#define IP4_FRAGMENT_LIFE 120
20#define IP4_MAX_PACKET_SIZE 65535
75#define IP4_GET_CLIP_INFO(Packet) ((IP4_CLIP_INFO *) ((Packet)->ProtoData))
77#define IP4_ASSEMBLE_HASH(Dst, Src, Id, Proto) \
78 (((Dst) + (Src) + ((Id) << 16) + (Proto)) % IP4_ASSEMLE_HASH_SIZE)
80#define IP4_RXDATA_WRAP_SIZE(NumFrag) \
81 (sizeof (IP4_RXDATA_WRAP) + sizeof (EFI_IP4_FRAGMENT_DATA) * ((NumFrag) - 1))
240 IN OUT UINT8 **Options,
241 IN OUT UINT32 *OptionsLen,