11#ifndef __EFI_IP4_IMPL_H__
12#define __EFI_IP4_IMPL_H__
55#define IP4_PROTOCOL_SIGNATURE SIGNATURE_32 ('I', 'P', '4', 'P')
56#define IP4_SERVICE_SIGNATURE SIGNATURE_32 ('I', 'P', '4', 'S')
63#define IP4_STATE_UNCONFIGED 0
64#define IP4_STATE_CONFIGED 1
72#define IP4_SERVICE_UNSTARTED 0
73#define IP4_SERVICE_STARTED 1
74#define IP4_SERVICE_CONFIGED 2
75#define IP4_SERVICE_DESTROY 3
153 UINT32 EfiRouteCount;
208 BOOLEAN MediaPresent;
217 UINT32 MaxPacketSize;
221#define IP4_INSTANCE_FROM_PROTOCOL(Ip4) \
222 CR ((Ip4), IP4_PROTOCOL, Ip4Proto, IP4_PROTOCOL_SIGNATURE)
224#define IP4_SERVICE_FROM_PROTOCOL(Sb) \
225 CR ((Sb), IP4_SERVICE, ServiceBinding, IP4_SERVICE_SIGNATURE)
227#define IP4_SERVICE_FROM_CONFIG2_INSTANCE(This) \
228 CR (This, IP4_SERVICE, Ip4Config2Instance, IP4_SERVICE_SIGNATURE)
230#define IP4_NO_MAPPING(IpInstance) (!(IpInstance)->Interface->Configured)
411extern BOOLEAN mIpSec2Installed;
EFI_STATUS Ip4ServiceConfigMnp(IN IP4_SERVICE *IpSb, IN BOOLEAN Force)
VOID Ip4InitProtocol(IN IP4_SERVICE *IpSb, IN OUT IP4_PROTOCOL *IpInstance)
VOID EFIAPI Ip4FreeTxToken(IN VOID *Context)
VOID EFIAPI Ip4TimerTicking(IN EFI_EVENT Event, IN VOID *Context)
EFI_STATUS Ip4Groups(IN IP4_PROTOCOL *IpInstance, IN BOOLEAN JoinFlag, IN EFI_IPv4_ADDRESS *GroupAddress OPTIONAL)
VOID EFIAPI Ip4TimerReconfigChecking(IN EFI_EVENT Event, IN VOID *Context)
EFI_STATUS EFIAPI Ip4SentPacketTicking(IN NET_MAP *Map, IN NET_MAP_ITEM *Item, IN VOID *Context)
EFI_STATUS Ip4Cancel(IN IP4_PROTOCOL *IpInstance, IN EFI_IP4_COMPLETION_TOKEN *Token OPTIONAL)
EFI_STATUS Ip4CleanProtocol(IN IP4_PROTOCOL *IpInstance)
UINT32 OldMaxPacketSize
The MTU before IPsec enable.