15#ifndef __EFI_UDP4_PROTOCOL_H__
16#define __EFI_UDP4_PROTOCOL_H__
22#define EFI_UDP4_SERVICE_BINDING_PROTOCOL_GUID \
24 0x83f01464, 0x99bd, 0x45e5, {0xb3, 0x83, 0xaf, 0x63, 0x05, 0xd8, 0xe9, 0xe6 } \
27#define EFI_UDP4_PROTOCOL_GUID \
29 0x3ad9df29, 0x4501, 0x478d, {0xb1, 0xf8, 0x7f, 0x7f, 0xe7, 0x0e, 0x50, 0xf3 } \
57 UINT32 FragmentLength;
65 UINT16 DestinationPort;
71 BOOLEAN AcceptBroadcast;
72 BOOLEAN AcceptPromiscuous;
73 BOOLEAN AcceptAnyPort;
74 BOOLEAN AllowDuplicatePort;
80 BOOLEAN DoNotFragment;
81 UINT32 ReceiveTimeout;
82 UINT32 TransmitTimeout;
86 BOOLEAN UseDefaultAddress;
107 UINT32 FragmentCount;
274 IN BOOLEAN DeleteRoute,
434extern EFI_GUID gEfiUdp4ServiceBindingProtocolGuid;
435extern EFI_GUID gEfiUdp4ProtocolGuid;
EFI_STATUS(EFIAPI * EFI_UDP4_CANCEL)(IN EFI_UDP4_PROTOCOL *This, IN EFI_UDP4_COMPLETION_TOKEN *Token OPTIONAL)
EFI_STATUS(EFIAPI * EFI_UDP4_POLL)(IN EFI_UDP4_PROTOCOL *This)
EFI_STATUS(EFIAPI * EFI_UDP4_TRANSMIT)(IN EFI_UDP4_PROTOCOL *This, IN EFI_UDP4_COMPLETION_TOKEN *Token)
EFI_STATUS(EFIAPI * EFI_UDP4_CONFIGURE)(IN EFI_UDP4_PROTOCOL *This, IN EFI_UDP4_CONFIG_DATA *UdpConfigData OPTIONAL)
EFI_STATUS(EFIAPI * EFI_UDP4_ROUTES)(IN EFI_UDP4_PROTOCOL *This, IN BOOLEAN DeleteRoute, IN EFI_IPv4_ADDRESS *SubnetAddress, IN EFI_IPv4_ADDRESS *SubnetMask, IN EFI_IPv4_ADDRESS *GatewayAddress)
EFI_STATUS(EFIAPI * EFI_UDP4_GET_MODE_DATA)(IN EFI_UDP4_PROTOCOL *This, OUT EFI_UDP4_CONFIG_DATA *Udp4ConfigData OPTIONAL, OUT EFI_IP4_MODE_DATA *Ip4ModeData OPTIONAL, OUT EFI_MANAGED_NETWORK_CONFIG_DATA *MnpConfigData OPTIONAL, OUT EFI_SIMPLE_NETWORK_MODE *SnpModeData OPTIONAL)
EFI_STATUS(EFIAPI * EFI_UDP4_GROUPS)(IN EFI_UDP4_PROTOCOL *This, IN BOOLEAN JoinFlag, IN EFI_IPv4_ADDRESS *MulticastAddress OPTIONAL)
EFI_STATUS(EFIAPI * EFI_UDP4_RECEIVE)(IN EFI_UDP4_PROTOCOL *This, IN EFI_UDP4_COMPLETION_TOKEN *Token)