TianoCore EDK2 master
Loading...
Searching...
No Matches
Udp6.h
Go to the documentation of this file.
1
14#ifndef __EFI_UDP6_PROTOCOL_H__
15#define __EFI_UDP6_PROTOCOL_H__
16
17#include <Protocol/Ip6.h>
18
19#define EFI_UDP6_SERVICE_BINDING_PROTOCOL_GUID \
20 { \
21 0x66ed4721, 0x3c98, 0x4d3e, {0x81, 0xe3, 0xd0, 0x3d, 0xd3, 0x9a, 0x72, 0x54 } \
22 }
23
24#define EFI_UDP6_PROTOCOL_GUID \
25 { \
26 0x4f948815, 0xb4b9, 0x43cb, {0x8a, 0x33, 0x90, 0xe0, 0x60, 0xb3, 0x49, 0x55 } \
27 }
28
33typedef struct {
47 UINT16 LocalPort;
57 UINT16 RemotePort;
59
64typedef struct {
78
80
85typedef struct {
89
95typedef struct {
117
118typedef struct {
139 UINT8 HopLimit;
184
189typedef struct {
207 EFI_UDP6_FRAGMENT_DATA FragmentTable[1];
209
220typedef struct {
245 EFI_UDP6_FRAGMENT_DATA FragmentTable[1];
247
257typedef struct {
284 union {
293 } Packet;
295
316typedef
318(EFIAPI *EFI_UDP6_GET_MODE_DATA)(
319 IN EFI_UDP6_PROTOCOL *This,
320 OUT EFI_UDP6_CONFIG_DATA *Udp6ConfigData OPTIONAL,
321 OUT EFI_IP6_MODE_DATA *Ip6ModeData OPTIONAL,
324 );
325
367typedef
369(EFIAPI *EFI_UDP6_CONFIGURE)(
370 IN EFI_UDP6_PROTOCOL *This,
371 IN EFI_UDP6_CONFIG_DATA *UdpConfigData OPTIONAL
372 );
373
397typedef
399(EFIAPI *EFI_UDP6_GROUPS)(
400 IN EFI_UDP6_PROTOCOL *This,
401 IN BOOLEAN JoinFlag,
402 IN EFI_IPv6_ADDRESS *MulticastAddress OPTIONAL
403 );
404
454typedef
456(EFIAPI *EFI_UDP6_TRANSMIT)(
457 IN EFI_UDP6_PROTOCOL *This,
459 );
460
493typedef
495(EFIAPI *EFI_UDP6_RECEIVE)(
496 IN EFI_UDP6_PROTOCOL *This,
498 );
499
523typedef
525(EFIAPI *EFI_UDP6_CANCEL)(
526 IN EFI_UDP6_PROTOCOL *This,
528 );
529
549typedef
551(EFIAPI *EFI_UDP6_POLL)(
553 );
554
562 EFI_UDP6_GET_MODE_DATA GetModeData;
563 EFI_UDP6_CONFIGURE Configure;
564 EFI_UDP6_GROUPS Groups;
565 EFI_UDP6_TRANSMIT Transmit;
566 EFI_UDP6_RECEIVE Receive;
567 EFI_UDP6_CANCEL Cancel;
568 EFI_UDP6_POLL Poll;
569};
570
571extern EFI_GUID gEfiUdp6ServiceBindingProtocolGuid;
572extern EFI_GUID gEfiUdp6ProtocolGuid;
573
574#endif
#define OPTIONAL
Definition: Base.h:290
#define IN
Definition: Base.h:279
#define OUT
Definition: Base.h:284
EFI_STATUS(EFIAPI * EFI_UDP6_GET_MODE_DATA)(IN EFI_UDP6_PROTOCOL *This, OUT EFI_UDP6_CONFIG_DATA *Udp6ConfigData OPTIONAL, OUT EFI_IP6_MODE_DATA *Ip6ModeData OPTIONAL, OUT EFI_MANAGED_NETWORK_CONFIG_DATA *MnpConfigData OPTIONAL, OUT EFI_SIMPLE_NETWORK_MODE *SnpModeData OPTIONAL)
Definition: Udp6.h:318
EFI_STATUS(EFIAPI * EFI_UDP6_CONFIGURE)(IN EFI_UDP6_PROTOCOL *This, IN EFI_UDP6_CONFIG_DATA *UdpConfigData OPTIONAL)
Definition: Udp6.h:369
EFI_STATUS(EFIAPI * EFI_UDP6_GROUPS)(IN EFI_UDP6_PROTOCOL *This, IN BOOLEAN JoinFlag, IN EFI_IPv6_ADDRESS *MulticastAddress OPTIONAL)
Definition: Udp6.h:399
EFI_STATUS(EFIAPI * EFI_UDP6_RECEIVE)(IN EFI_UDP6_PROTOCOL *This, IN EFI_UDP6_COMPLETION_TOKEN *Token)
Definition: Udp6.h:495
EFI_STATUS(EFIAPI * EFI_UDP6_POLL)(IN EFI_UDP6_PROTOCOL *This)
Definition: Udp6.h:551
EFI_STATUS(EFIAPI * EFI_UDP6_TRANSMIT)(IN EFI_UDP6_PROTOCOL *This, IN EFI_UDP6_COMPLETION_TOKEN *Token)
Definition: Udp6.h:456
EFI_STATUS(EFIAPI * EFI_UDP6_CANCEL)(IN EFI_UDP6_PROTOCOL *This, IN EFI_UDP6_COMPLETION_TOKEN *Token OPTIONAL)
Definition: Udp6.h:525
RETURN_STATUS EFI_STATUS
Definition: UefiBaseType.h:29
VOID * EFI_EVENT
Definition: UefiBaseType.h:37
VOID * EFI_HANDLE
Definition: UefiBaseType.h:33
EFI_UDP6_RECEIVE_DATA * RxData
Definition: Udp6.h:288
EFI_STATUS Status
Definition: Udp6.h:283
EFI_UDP6_TRANSMIT_DATA * TxData
Definition: Udp6.h:292
UINT16 StationPort
Definition: Udp6.h:168
BOOLEAN AcceptAnyPort
Definition: Udp6.h:126
UINT16 RemotePort
Definition: Udp6.h:182
BOOLEAN AcceptPromiscuous
Definition: Udp6.h:122
BOOLEAN AllowDuplicatePort
Definition: Udp6.h:131
EFI_IPv6_ADDRESS RemoteAddress
Definition: Udp6.h:175
UINT32 ReceiveTimeout
Definition: Udp6.h:144
UINT32 TransmitTimeout
Definition: Udp6.h:149
UINT8 TrafficClass
Definition: Udp6.h:135
EFI_IPv6_ADDRESS StationAddress
Definition: Udp6.h:161
UINT32 FragmentLength
Length of the fragment data buffer.
Definition: Udp6.h:86
VOID * FragmentBuffer
Pointer to the fragment data buffer.
Definition: Udp6.h:87
UINT32 DataLength
Definition: Udp6.h:237
EFI_TIME TimeStamp
Definition: Udp6.h:224
EFI_UDP6_SESSION_DATA UdpSession
Definition: Udp6.h:233
EFI_EVENT RecycleSignal
Definition: Udp6.h:228
UINT32 FragmentCount
Definition: Udp6.h:241
UINT16 RemotePort
Definition: Udp6.h:57
EFI_IPv6_ADDRESS RemoteAddress
Definition: Udp6.h:52
EFI_IPv6_ADDRESS LocalAddress
Definition: Udp6.h:43
EFI_HANDLE InstanceHandle
Definition: Udp6.h:37
UINT16 LocalPort
Definition: Udp6.h:47
EFI_IPv6_ADDRESS DestinationAddress
Definition: Udp6.h:110
UINT16 SourcePort
Definition: Udp6.h:105
EFI_IPv6_ADDRESS SourceAddress
Definition: Udp6.h:100
UINT16 DestinationPort
Definition: Udp6.h:115
UINT32 FragmentCount
Definition: Udp6.h:203
EFI_UDP6_SESSION_DATA * UdpSessionData
Definition: Udp6.h:195
EFI_HANDLE DriverHandle
Definition: Udp6.h:68
UINT32 ServiceCount
Definition: Udp6.h:72
Definition: Base.h:213