10#ifndef __EFI_IP6_INPUT_H__
11#define __EFI_IP6_INPUT_H__
13#define IP6_MIN_HEADLEN 40
14#define IP6_MAX_HEADLEN 120
18#define IP6_MAX_IPSEC_HEADLEN 54
20#define IP6_ASSEMLE_HASH_SIZE 127
24#define IP6_FRAGMENT_LIFE 60
25#define IP6_MAX_PACKET_SIZE 65535
27#define IP6_GET_CLIP_INFO(Packet) ((IP6_CLIP_INFO *) ((Packet)->ProtoData))
29#define IP6_ASSEMBLE_HASH(Dst, Src, Id) \
30 ((*((UINT32 *) (Dst)) + *((UINT32 *) (Src)) + (Id)) % IP6_ASSEMLE_HASH_SIZE)
32#define IP6_RXDATA_WRAP_SIZE(NumFrag) \
33 (sizeof (IP6_RXDATA_WRAP) + sizeof (EFI_IP6_FRAGMENT_DATA) * ((NumFrag) - 1))
57 UINT32 FormerNextHeader;
159 IN OUT UINT8 *LastHead,
161 IN OUT UINT8 **ExtHdrs,
162 IN OUT UINT32 *ExtHdrsLen,