iPXE
Ip6.h
Go to the documentation of this file.
1/** @file
2 This file defines the EFI IPv6 (Internet Protocol version 6)
3 Protocol interface. It is split into the following three main
4 sections:
5 - EFI IPv6 Service Binding Protocol
6 - EFI IPv6 Variable (deprecated in UEFI 2.4B)
7 - EFI IPv6 Protocol
8 The EFI IPv6 Protocol provides basic network IPv6 packet I/O services,
9 which includes support for Neighbor Discovery Protocol (ND), Multicast
10 Listener Discovery Protocol (MLD), and a subset of the Internet Control
11 Message Protocol (ICMPv6).
12
13 Copyright (c) 2008 - 2014, Intel Corporation. All rights reserved.<BR>
14 SPDX-License-Identifier: BSD-2-Clause-Patent
15
16 @par Revision Reference:
17 This Protocol is introduced in UEFI Specification 2.2
18
19**/
20
21#ifndef __EFI_IP6_PROTOCOL_H__
22#define __EFI_IP6_PROTOCOL_H__
23
24FILE_LICENCE ( BSD2_PATENT );
25FILE_SECBOOT ( PERMITTED );
26
28
29#define EFI_IP6_SERVICE_BINDING_PROTOCOL_GUID \
30 { \
31 0xec835dd3, 0xfe0f, 0x617b, {0xa6, 0x21, 0xb3, 0x50, 0xc3, 0xe1, 0x33, 0x88 } \
32 }
33
34#define EFI_IP6_PROTOCOL_GUID \
35 { \
36 0x2c8759d5, 0x5c2d, 0x66ef, {0x92, 0x5f, 0xb6, 0x6c, 0x10, 0x19, 0x57, 0xe2 } \
37 }
38
40
41///
42/// EFI_IP6_ADDRESS_PAIR is deprecated in the UEFI 2.4B and should not be used any more.
43/// The definition in here is only present to provide backwards compatability.
44///
45typedef struct {
46 ///
47 /// The EFI IPv6 Protocol instance handle that is using this address/prefix pair.
48 ///
50 ///
51 /// IPv6 address in network byte order.
52 ///
54 ///
55 /// The length of the prefix associated with the Ip6Address.
56 ///
59
60///
61/// EFI_IP6_VARIABLE_DATA is deprecated in the UEFI 2.4B and should not be used any more.
62/// The definition in here is only present to provide backwards compatability.
63///
64typedef struct {
65 ///
66 /// The handle of the driver that creates this entry.
67 ///
69 ///
70 /// The number of IPv6 address pairs that follow this data structure.
71 ///
73 ///
74 /// List of IPv6 address pairs that are currently in use.
75 ///
78
79///
80/// ICMPv6 type definitions for error messages
81///
82///@{
83#define ICMP_V6_DEST_UNREACHABLE 0x1
84#define ICMP_V6_PACKET_TOO_BIG 0x2
85#define ICMP_V6_TIME_EXCEEDED 0x3
86#define ICMP_V6_PARAMETER_PROBLEM 0x4
87///@}
88
89///
90/// ICMPv6 type definition for informational messages
91///
92///@{
93#define ICMP_V6_ECHO_REQUEST 0x80
94#define ICMP_V6_ECHO_REPLY 0x81
95#define ICMP_V6_LISTENER_QUERY 0x82
96#define ICMP_V6_LISTENER_REPORT 0x83
97#define ICMP_V6_LISTENER_DONE 0x84
98#define ICMP_V6_ROUTER_SOLICIT 0x85
99#define ICMP_V6_ROUTER_ADVERTISE 0x86
100#define ICMP_V6_NEIGHBOR_SOLICIT 0x87
101#define ICMP_V6_NEIGHBOR_ADVERTISE 0x88
102#define ICMP_V6_REDIRECT 0x89
103#define ICMP_V6_LISTENER_REPORT_2 0x8F
104///@}
105
106///
107/// ICMPv6 code definitions for ICMP_V6_DEST_UNREACHABLE
108///
109///@{
110#define ICMP_V6_NO_ROUTE_TO_DEST 0x0
111#define ICMP_V6_COMM_PROHIBITED 0x1
112#define ICMP_V6_BEYOND_SCOPE 0x2
113#define ICMP_V6_ADDR_UNREACHABLE 0x3
114#define ICMP_V6_PORT_UNREACHABLE 0x4
115#define ICMP_V6_SOURCE_ADDR_FAILED 0x5
116#define ICMP_V6_ROUTE_REJECTED 0x6
117///@}
118
119///
120/// ICMPv6 code definitions for ICMP_V6_TIME_EXCEEDED
121///
122///@{
123#define ICMP_V6_TIMEOUT_HOP_LIMIT 0x0
124#define ICMP_V6_TIMEOUT_REASSEMBLE 0x1
125///@}
126
127///
128/// ICMPv6 code definitions for ICMP_V6_PARAMETER_PROBLEM
129///
130///@{
131#define ICMP_V6_ERRONEOUS_HEADER 0x0
132#define ICMP_V6_UNRECOGNIZE_NEXT_HDR 0x1
133#define ICMP_V6_UNRECOGNIZE_OPTION 0x2
134///@}
135
136///
137/// EFI_IP6_CONFIG_DATA
138/// is used to report and change IPv6 session parameters.
139///
140typedef struct {
141 ///
142 /// For the IPv6 packet to send and receive, this is the default value
143 /// of the 'Next Header' field in the last IPv6 extension header or in
144 /// the IPv6 header if there are no extension headers. Ignored when
145 /// AcceptPromiscuous is TRUE.
146 ///
148 ///
149 /// Set to TRUE to receive all IPv6 packets that get through the
150 /// receive filters.
151 /// Set to FALSE to receive only the DefaultProtocol IPv6
152 /// packets that get through the receive filters. Ignored when
153 /// AcceptPromiscuous is TRUE.
154 ///
156 ///
157 /// Set to TRUE to receive ICMP error report packets. Ignored when
158 /// AcceptPromiscuous or AcceptAnyProtocol is TRUE.
159 ///
161 ///
162 /// Set to TRUE to receive all IPv6 packets that are sent to any
163 /// hardware address or any protocol address. Set to FALSE to stop
164 /// receiving all promiscuous IPv6 packets.
165 ///
167 ///
168 /// The destination address of the packets that will be transmitted.
169 /// Ignored if it is unspecified.
170 ///
172 ///
173 /// The station IPv6 address that will be assigned to this EFI IPv6
174 /// Protocol instance. This field can be set and changed only when
175 /// the EFI IPv6 driver is transitioning from the stopped to the started
176 /// states. If the StationAddress is specified, the EFI IPv6 Protocol
177 /// driver will deliver only incoming IPv6 packets whose destination
178 /// matches this IPv6 address exactly. The StationAddress is required
179 /// to be one of currently configured IPv6 addresses. An address
180 /// containing all zeroes is also accepted as a special case. Under this
181 /// situation, the IPv6 driver is responsible for binding a source
182 /// address to this EFI IPv6 protocol instance according to the source
183 /// address selection algorithm. Only incoming packets destined to
184 /// the selected address will be delivered to the user. And the
185 /// selected station address can be retrieved through later
186 /// GetModeData() call. If no address is available for selecting,
187 /// EFI_NO_MAPPING will be returned, and the station address will
188 /// only be successfully bound to this EFI IPv6 protocol instance
189 /// after IP6ModeData.IsConfigured changed to TRUE.
190 ///
192 ///
193 /// TrafficClass field in transmitted IPv6 packets. Default value
194 /// is zero.
195 ///
197 ///
198 /// HopLimit field in transmitted IPv6 packets.
199 ///
201 ///
202 /// FlowLabel field in transmitted IPv6 packets. Default value is
203 /// zero.
204 ///
206 ///
207 /// The timer timeout value (number of microseconds) for the
208 /// receive timeout event to be associated with each assembled
209 /// packet. Zero means do not drop assembled packets.
210 ///
212 ///
213 /// The timer timeout value (number of microseconds) for the
214 /// transmit timeout event to be associated with each outgoing
215 /// packet. Zero means do not drop outgoing packets.
216 ///
219
220///
221/// EFI_IP6_ADDRESS_INFO
222///
223typedef struct {
224 EFI_IPv6_ADDRESS Address; ///< The IPv6 address.
225 UINT8 PrefixLength; ///< The length of the prefix associated with the Address.
227
228///
229/// EFI_IP6_ROUTE_TABLE
230/// is the entry structure that is used in routing tables
231///
232typedef struct {
233 ///
234 /// The IPv6 address of the gateway to be used as the next hop for
235 /// packets to this prefix. If the IPv6 address is all zeros, then the
236 /// prefix is on-link.
237 ///
239 ///
240 /// The destination prefix to be routed.
241 ///
243 ///
244 /// The length of the prefix associated with the Destination.
245 ///
248
249///
250/// EFI_IP6_NEIGHBOR_STATE
251///
252typedef enum {
253 ///
254 /// Address resolution is being performed on this entry. Specially,
255 /// Neighbor Solicitation has been sent to the solicited-node
256 /// multicast address of the target, but corresponding Neighbor
257 /// Advertisement has not been received.
258 ///
260 ///
261 /// Positive confirmation was received that the forward path to the
262 /// neighbor was functioning properly.
263 ///
265 ///
266 /// Reachable Time has elapsed since the last positive confirmation
267 /// was received. In this state, the forward path to the neighbor was
268 /// functioning properly.
269 ///
271 ///
272 /// This state is an optimization that gives upper-layer protocols
273 /// additional time to provide reachability confirmation.
274 ///
276 ///
277 /// A reachability confirmation is actively sought by retransmitting
278 /// Neighbor Solicitations every RetransTimer milliseconds until a
279 /// reachability confirmation is received.
280 ///
283
284///
285/// EFI_IP6_NEIGHBOR_CACHE
286/// is the entry structure that is used in neighbor cache. It records a set
287/// of entries about individual neighbors to which traffic has been sent recently.
288///
289typedef struct {
290 EFI_IPv6_ADDRESS Neighbor; ///< The on-link unicast/anycast IP address of the neighbor.
291 EFI_MAC_ADDRESS LinkAddress; ///< Link-layer address of the neighbor.
292 EFI_IP6_NEIGHBOR_STATE State; ///< State of this neighbor cache entry.
294
295///
296/// EFI_IP6_ICMP_TYPE
297/// is used to describe those ICMP messages that are supported by this EFI
298/// IPv6 Protocol driver.
299///
300typedef struct {
301 UINT8 Type; ///< The type of ICMP message.
302 UINT8 Code; ///< The code of the ICMP message.
304
305///
306/// EFI_IP6_MODE_DATA
307///
308typedef struct {
309 ///
310 /// Set to TRUE after this EFI IPv6 Protocol instance is started.
311 /// All other fields in this structure are undefined until this field is TRUE.
312 /// Set to FALSE when the EFI IPv6 Protocol instance is stopped.
313 ///
315 ///
316 /// The maximum packet size, in bytes, of the packet which the upper layer driver could feed.
317 ///
319 ///
320 /// Current configuration settings. Undefined until IsStarted is TRUE.
321 ///
323 ///
324 /// Set to TRUE when the EFI IPv6 Protocol instance is configured.
325 /// The instance is configured when it has a station address and
326 /// corresponding prefix length.
327 /// Set to FALSE when the EFI IPv6 Protocol instance is not configured.
328 ///
330 ///
331 /// Number of configured IPv6 addresses on this interface.
332 ///
334 ///
335 /// List of currently configured IPv6 addresses and corresponding
336 /// prefix lengths assigned to this interface. It is caller's
337 /// responsibility to free this buffer.
338 ///
340 ///
341 /// Number of joined multicast groups. Undefined until
342 /// IsConfigured is TRUE.
343 ///
345 ///
346 /// List of joined multicast group addresses. It is caller's
347 /// responsibility to free this buffer. Undefined until
348 /// IsConfigured is TRUE.
349 ///
351 ///
352 /// Number of entries in the routing table. Undefined until
353 /// IsConfigured is TRUE.
354 ///
356 ///
357 /// Routing table entries. It is caller's responsibility to free this buffer.
358 ///
360 ///
361 /// Number of entries in the neighbor cache. Undefined until
362 /// IsConfigured is TRUE.
363 ///
365 ///
366 /// Neighbor cache entries. It is caller's responsibility to free this
367 /// buffer. Undefined until IsConfigured is TRUE.
368 ///
370 ///
371 /// Number of entries in the prefix table. Undefined until
372 /// IsConfigured is TRUE.
373 ///
375 ///
376 /// On-link Prefix table entries. It is caller's responsibility to free this
377 /// buffer. Undefined until IsConfigured is TRUE.
378 ///
380 ///
381 /// Number of entries in the supported ICMP types list.
382 ///
384 ///
385 /// Array of ICMP types and codes that are supported by this EFI
386 /// IPv6 Protocol driver. It is caller's responsibility to free this
387 /// buffer.
388 ///
391
392///
393/// EFI_IP6_HEADER
394/// The fields in the IPv6 header structure are defined in the Internet
395/// Protocol version6 specification.
396///
397#pragma pack(1)
410#pragma pack()
411
412///
413/// EFI_IP6_FRAGMENT_DATA
414/// describes the location and length of the IPv6 packet
415/// fragment to transmit or that has been received.
416///
418 UINT32 FragmentLength; ///< Length of fragment data. This field may not be set to zero.
419 VOID *FragmentBuffer; ///< Pointer to fragment data. This field may not be set to NULL.
421
422///
423/// EFI_IP6_RECEIVE_DATA
424///
425typedef struct _EFI_IP6_RECEIVE_DATA {
426 ///
427 /// Time when the EFI IPv6 Protocol driver accepted the packet.
428 /// Ignored if it is zero.
429 ///
431 ///
432 /// After this event is signaled, the receive data structure is released
433 /// and must not be referenced.
434 ///
436 ///
437 /// Length of the IPv6 packet headers, including both the IPv6
438 /// header and any extension headers.
439 ///
441 ///
442 /// Pointer to the IPv6 packet header. If the IPv6 packet was
443 /// fragmented, this argument is a pointer to the header in the first
444 /// fragment.
445 ///
447 ///
448 /// Sum of the lengths of IPv6 packet buffers in FragmentTable. May
449 /// be zero.
450 ///
452 ///
453 /// Number of IPv6 payload fragments. May be zero.
454 ///
456 ///
457 /// Array of payload fragment lengths and buffer pointers.
458 ///
461
462///
463/// EFI_IP6_OVERRIDE_DATA
464/// The information and flags in the override data structure will override
465/// default parameters or settings for one Transmit() function call.
466///
468 UINT8 Protocol; ///< Protocol type override.
469 UINT8 HopLimit; ///< Hop-Limit override.
470 UINT32 FlowLabel; ///< Flow-Label override.
472
473///
474/// EFI_IP6_TRANSMIT_DATA
475///
477 ///
478 /// The destination IPv6 address. If it is unspecified,
479 /// ConfigData.DestinationAddress will be used instead.
480 ///
482 ///
483 /// If not NULL, the IPv6 transmission control override data.
484 ///
486 ///
487 /// Total length in byte of the IPv6 extension headers specified in
488 /// ExtHdrs.
489 ///
491 ///
492 /// Pointer to the IPv6 extension headers. The IP layer will append
493 /// the required extension headers if they are not specified by
494 /// ExtHdrs. Ignored if ExtHdrsLength is zero.
495 ///
497 ///
498 /// The protocol of first extension header in ExtHdrs. Ignored if
499 /// ExtHdrsLength is zero.
500 ///
502 ///
503 /// Total length in bytes of the FragmentTable data to transmit.
504 ///
506 ///
507 /// Number of entries in the fragment data table.
508 ///
510 ///
511 /// Start of the fragment data table.
512 ///
515
516///
517/// EFI_IP6_COMPLETION_TOKEN
518/// structures are used for both transmit and receive operations.
519///
520typedef struct {
521 ///
522 /// This Event will be signaled after the Status field is updated by
523 /// the EFI IPv6 Protocol driver. The type of Event must be EFI_NOTIFY_SIGNAL.
524 ///
526 ///
527 /// Will be set to one of the following values:
528 /// - EFI_SUCCESS: The receive or transmit completed
529 /// successfully.
530 /// - EFI_ABORTED: The receive or transmit was aborted
531 /// - EFI_TIMEOUT: The transmit timeout expired.
532 /// - EFI_ICMP_ERROR: An ICMP error packet was received.
533 /// - EFI_DEVICE_ERROR: An unexpected system or network
534 /// error occurred.
535 /// - EFI_SECURITY_VIOLATION: The transmit or receive was
536 /// failed because of an IPsec policy check.
537 /// - EFI_NO_MEDIA: There was a media error.
538 ///
540 union {
541 ///
542 /// When the Token is used for receiving, RxData is a pointer to the EFI_IP6_RECEIVE_DATA.
543 ///
545 ///
546 /// When the Token is used for transmitting, TxData is a pointer to the EFI_IP6_TRANSMIT_DATA.
547 ///
549 } Packet;
551
552/**
553 Gets the current operational settings for this instance of the EFI IPv6 Protocol driver.
554
555 The GetModeData() function returns the current operational mode data for this driver instance.
556 The data fields in EFI_IP6_MODE_DATA are read only. This function is used optionally to
557 retrieve the operational mode data of underlying networks or drivers..
558
559 @param[in] This Pointer to the EFI_IP6_PROTOCOL instance.
560 @param[out] Ip6ModeData Pointer to the EFI IPv6 Protocol mode data structure.
561 @param[out] MnpConfigData Pointer to the managed network configuration data structure.
562 @param[out] SnpModeData Pointer to the simple network mode data structure.
563
564 @retval EFI_SUCCESS The operation completed successfully.
565 @retval EFI_INVALID_PARAMETER This is NULL.
566 @retval EFI_OUT_OF_RESOURCES The required mode data could not be allocated.
567
568**/
569typedef
572 IN EFI_IP6_PROTOCOL *This,
573 OUT EFI_IP6_MODE_DATA *Ip6ModeData OPTIONAL,
576 );
577
578/**
579 Assigns an IPv6 address and subnet mask to this EFI IPv6 Protocol driver instance.
580
581 The Configure() function is used to set, change, or reset the operational parameters and filter
582 settings for this EFI IPv6 Protocol instance. Until these parameters have been set, no network traffic
583 can be sent or received by this instance. Once the parameters have been reset (by calling this
584 function with Ip6ConfigData set to NULL), no more traffic can be sent or received until these
585 parameters have been set again. Each EFI IPv6 Protocol instance can be started and stopped
586 independently of each other by enabling or disabling their receive filter settings with the
587 Configure() function.
588
589 If Ip6ConfigData.StationAddress is a valid non-zero IPv6 unicast address, it is required
590 to be one of the currently configured IPv6 addresses list in the EFI IPv6 drivers, or else
591 EFI_INVALID_PARAMETER will be returned. If Ip6ConfigData.StationAddress is
592 unspecified, the IPv6 driver will bind a source address according to the source address selection
593 algorithm. Clients could frequently call GetModeData() to check get currently configured IPv6
594 address list in the EFI IPv6 driver. If both Ip6ConfigData.StationAddress and
595 Ip6ConfigData.Destination are unspecified, when transmitting the packet afterwards, the
596 source address filled in each outgoing IPv6 packet is decided based on the destination of this packet. .
597
598 If operational parameters are reset or changed, any pending transmit and receive requests will be
599 cancelled. Their completion token status will be set to EFI_ABORTED and their events will be
600 signaled.
601
602 @param[in] This Pointer to the EFI_IP6_PROTOCOL instance.
603 @param[in] Ip6ConfigData Pointer to the EFI IPv6 Protocol configuration data structure.
604
605 @retval EFI_SUCCESS The driver instance was successfully opened.
606 @retval EFI_INVALID_PARAMETER One or more of the following conditions is TRUE:
607 - This is NULL.
608 - Ip6ConfigData.StationAddress is neither zero nor
609 a unicast IPv6 address.
610 - Ip6ConfigData.StationAddress is neither zero nor
611 one of the configured IP addresses in the EFI IPv6 driver.
612 - Ip6ConfigData.DefaultProtocol is illegal.
613 @retval EFI_OUT_OF_RESOURCES The EFI IPv6 Protocol driver instance data could not be allocated.
614 @retval EFI_NO_MAPPING The IPv6 driver was responsible for choosing a source address for
615 this instance, but no source address was available for use.
616 @retval EFI_ALREADY_STARTED The interface is already open and must be stopped before the IPv6
617 address or prefix length can be changed.
618 @retval EFI_DEVICE_ERROR An unexpected system or network error occurred. The EFI IPv6
619 Protocol driver instance is not opened.
620 @retval EFI_UNSUPPORTED Default protocol specified through
621 Ip6ConfigData.DefaulProtocol isn't supported.
622
623**/
624typedef
627 IN EFI_IP6_PROTOCOL *This,
628 IN EFI_IP6_CONFIG_DATA *Ip6ConfigData OPTIONAL
629 );
630
631/**
632 Joins and leaves multicast groups.
633
634 The Groups() function is used to join and leave multicast group sessions. Joining a group will
635 enable reception of matching multicast packets. Leaving a group will disable reception of matching
636 multicast packets. Source-Specific Multicast isn't required to be supported.
637
638 If JoinFlag is FALSE and GroupAddress is NULL, all joined groups will be left.
639
640 @param[in] This Pointer to the EFI_IP6_PROTOCOL instance.
641 @param[in] JoinFlag Set to TRUE to join the multicast group session and FALSE to leave.
642 @param[in] GroupAddress Pointer to the IPv6 multicast address.
643
644 @retval EFI_SUCCESS The operation completed successfully.
645 @retval EFI_INVALID_PARAMETER One or more of the following is TRUE:
646 - This is NULL.
647 - JoinFlag is TRUE and GroupAddress is NULL.
648 - GroupAddress is not NULL and *GroupAddress is
649 not a multicast IPv6 address.
650 - GroupAddress is not NULL and *GroupAddress is in the
651 range of SSM destination address.
652 @retval EFI_NOT_STARTED This instance has not been started.
653 @retval EFI_OUT_OF_RESOURCES System resources could not be allocated.
654 @retval EFI_UNSUPPORTED This EFI IPv6 Protocol implementation does not support multicast groups.
655 @retval EFI_ALREADY_STARTED The group address is already in the group table (when
656 JoinFlag is TRUE).
657 @retval EFI_NOT_FOUND The group address is not in the group table (when JoinFlag is FALSE).
658 @retval EFI_DEVICE_ERROR An unexpected system or network error occurred.
659
660**/
661typedef
664 IN EFI_IP6_PROTOCOL *This,
665 IN BOOLEAN JoinFlag,
666 IN EFI_IPv6_ADDRESS *GroupAddress OPTIONAL
667 );
668
669/**
670 Adds and deletes routing table entries.
671
672 The Routes() function adds a route to or deletes a route from the routing table.
673
674 Routes are determined by comparing the leftmost PrefixLength bits of Destination with
675 the destination IPv6 address arithmetically. The gateway address must be on the same subnet as the
676 configured station address.
677
678 The default route is added with Destination and PrefixLegth both set to all zeros. The
679 default route matches all destination IPv6 addresses that do not match any other routes.
680
681 All EFI IPv6 Protocol instances share a routing table.
682
683 @param[in] This Pointer to the EFI_IP6_PROTOCOL instance.
684 @param[in] DeleteRoute Set to TRUE to delete this route from the routing table. Set to
685 FALSE to add this route to the routing table. Destination,
686 PrefixLength and Gateway are used as the key to each
687 route entry.
688 @param[in] Destination The address prefix of the subnet that needs to be routed.
689 @param[in] PrefixLength The prefix length of Destination. Ignored if Destination
690 is NULL.
691 @param[in] GatewayAddress The unicast gateway IPv6 address for this route.
692
693 @retval EFI_SUCCESS The operation completed successfully.
694 @retval EFI_NOT_STARTED The driver instance has not been started.
695 @retval EFI_INVALID_PARAMETER One or more of the following conditions is TRUE:
696 - This is NULL.
697 - When DeleteRoute is TRUE, both Destination and
698 GatewayAddress are NULL.
699 - When DeleteRoute is FALSE, either Destination or
700 GatewayAddress is NULL.
701 - *GatewayAddress is not a valid unicast IPv6 address.
702 - *GatewayAddress is one of the local configured IPv6
703 addresses.
704 @retval EFI_OUT_OF_RESOURCES Could not add the entry to the routing table.
705 @retval EFI_NOT_FOUND This route is not in the routing table (when DeleteRoute is TRUE).
706 @retval EFI_ACCESS_DENIED The route is already defined in the routing table (when
707 DeleteRoute is FALSE).
708
709**/
710typedef
713 IN EFI_IP6_PROTOCOL *This,
714 IN BOOLEAN DeleteRoute,
715 IN EFI_IPv6_ADDRESS *Destination OPTIONAL,
716 IN UINT8 PrefixLength,
717 IN EFI_IPv6_ADDRESS *GatewayAddress OPTIONAL
718 );
719
720/**
721 Add or delete Neighbor cache entries.
722
723 The Neighbors() function is used to add, update, or delete an entry from neighbor cache.
724 IPv6 neighbor cache entries are typically inserted and updated by the network protocol driver as
725 network traffic is processed. Most neighbor cache entries will time out and be deleted if the network
726 traffic stops. Neighbor cache entries that were inserted by Neighbors() may be static (will not
727 timeout) or dynamic (will time out).
728
729 The implementation should follow the neighbor cache timeout mechanism which is defined in
730 RFC4861. The default neighbor cache timeout value should be tuned for the expected network
731 environment
732
733 @param[in] This Pointer to the EFI_IP6_PROTOCOL instance.
734 @param[in] DeleteFlag Set to TRUE to delete the specified cache entry, set to FALSE to
735 add (or update, if it already exists and Override is TRUE) the
736 specified cache entry. TargetIp6Address is used as the key
737 to find the requested cache entry.
738 @param[in] TargetIp6Address Pointer to Target IPv6 address.
739 @param[in] TargetLinkAddress Pointer to link-layer address of the target. Ignored if NULL.
740 @param[in] Timeout Time in 100-ns units that this entry will remain in the neighbor
741 cache, it will be deleted after Timeout. A value of zero means that
742 the entry is permanent. A non-zero value means that the entry is
743 dynamic.
744 @param[in] Override If TRUE, the cached link-layer address of the matching entry will
745 be overridden and updated; if FALSE, EFI_ACCESS_DENIED
746 will be returned if a corresponding cache entry already existed.
747
748 @retval EFI_SUCCESS The data has been queued for transmission.
749 @retval EFI_NOT_STARTED This instance has not been started.
750 @retval EFI_INVALID_PARAMETER One or more of the following conditions is TRUE:
751 - This is NULL.
752 - TargetIpAddress is NULL.
753 - *TargetLinkAddress is invalid when not NULL.
754 - *TargetIpAddress is not a valid unicast IPv6 address.
755 - *TargetIpAddress is one of the local configured IPv6
756 addresses.
757 @retval EFI_OUT_OF_RESOURCES Could not add the entry to the neighbor cache.
758 @retval EFI_NOT_FOUND This entry is not in the neighbor cache (when DeleteFlag is
759 TRUE or when DeleteFlag is FALSE while
760 TargetLinkAddress is NULL.).
761 @retval EFI_ACCESS_DENIED The to-be-added entry is already defined in the neighbor cache,
762 and that entry is tagged as un-overridden (when DeleteFlag
763 is FALSE).
764
765**/
766typedef
769 IN EFI_IP6_PROTOCOL *This,
770 IN BOOLEAN DeleteFlag,
771 IN EFI_IPv6_ADDRESS *TargetIp6Address,
772 IN EFI_MAC_ADDRESS *TargetLinkAddress,
773 IN UINT32 Timeout,
774 IN BOOLEAN Override
775 );
776
777/**
778 Places outgoing data packets into the transmit queue.
779
780 The Transmit() function places a sending request in the transmit queue of this
781 EFI IPv6 Protocol instance. Whenever the packet in the token is sent out or some
782 errors occur, the event in the token will be signaled and the status is updated.
783
784 @param[in] This Pointer to the EFI_IP6_PROTOCOL instance.
785 @param[in] Token Pointer to the transmit token.
786
787 @retval EFI_SUCCESS The data has been queued for transmission.
788 @retval EFI_NOT_STARTED This instance has not been started.
789 @retval EFI_NO_MAPPING The IPv6 driver was responsible for choosing a source address for
790 this transmission, but no source address was available for use.
791 @retval EFI_INVALID_PARAMETER One or more of the following is TRUE:
792 - This is NULL.
793 - Token is NULL.
794 - Token.Event is NULL.
795 - Token.Packet.TxData is NULL.
796 - Token.Packet.ExtHdrsLength is not zero and Token.Packet.ExtHdrs is NULL.
797 - Token.Packet.FragmentCount is zero.
798 - One or more of the Token.Packet.TxData.FragmentTable[].FragmentLength fields is zero.
799 - One or more of the Token.Packet.TxData.FragmentTable[].FragmentBuffer fields is NULL.
800 - Token.Packet.TxData.DataLength is zero or not equal to the sum of fragment lengths.
801 - Token.Packet.TxData.DestinationAddress is non-zero when DestinationAddress is configured as
802 non-zero when doing Configure() for this EFI IPv6 protocol instance.
803 - Token.Packet.TxData.DestinationAddress is unspecified when DestinationAddress is unspecified
804 when doing Configure() for this EFI IPv6 protocol instance.
805 @retval EFI_ACCESS_DENIED The transmit completion token with the same Token.Event
806 was already in the transmit queue.
807 @retval EFI_NOT_READY The completion token could not be queued because the transmit
808 queue is full.
809 @retval EFI_NOT_FOUND Not route is found to destination address.
810 @retval EFI_OUT_OF_RESOURCES Could not queue the transmit data.
811 @retval EFI_BUFFER_TOO_SMALL Token.Packet.TxData.TotalDataLength is too
812 short to transmit.
813 @retval EFI_BAD_BUFFER_SIZE If Token.Packet.TxData.DataLength is beyond the
814 maximum that which can be described through the Fragment Offset
815 field in Fragment header when performing fragmentation.
816 @retval EFI_DEVICE_ERROR An unexpected system or network error occurred.
817
818**/
819typedef
822 IN EFI_IP6_PROTOCOL *This,
824 );
825
826/**
827 Places a receiving request into the receiving queue.
828
829 The Receive() function places a completion token into the receive packet queue.
830 This function is always asynchronous.
831
832 The Token.Event field in the completion token must be filled in by the caller
833 and cannot be NULL. When the receive operation completes, the EFI IPv6 Protocol
834 driver updates the Token.Status and Token.Packet.RxData fields and the Token.Event
835 is signaled.
836
837 @param[in] This Pointer to the EFI_IP6_PROTOCOL instance.
838 @param[in] Token Pointer to a token that is associated with the receive data descriptor.
839
840 @retval EFI_SUCCESS The receive completion token was cached.
841 @retval EFI_NOT_STARTED This EFI IPv6 Protocol instance has not been started.
842 @retval EFI_NO_MAPPING When IP6 driver responsible for binding source address to this instance,
843 while no source address is available for use.
844 @retval EFI_INVALID_PARAMETER One or more of the following conditions is TRUE:
845 - This is NULL.
846 - Token is NULL.
847 - Token.Event is NULL.
848 @retval EFI_OUT_OF_RESOURCES The receive completion token could not be queued due to a lack of system
849 resources (usually memory).
850 @retval EFI_DEVICE_ERROR An unexpected system or network error occurred.
851 The EFI IPv6 Protocol instance has been reset to startup defaults.
852 @retval EFI_ACCESS_DENIED The receive completion token with the same Token.Event was already
853 in the receive queue.
854 @retval EFI_NOT_READY The receive request could not be queued because the receive queue is full.
855
856**/
857typedef
860 IN EFI_IP6_PROTOCOL *This,
862 );
863
864/**
865 Abort an asynchronous transmit or receive request.
866
867 The Cancel() function is used to abort a pending transmit or receive request.
868 If the token is in the transmit or receive request queues, after calling this
869 function, Token->Status will be set to EFI_ABORTED and then Token->Event will
870 be signaled. If the token is not in one of the queues, which usually means the
871 asynchronous operation has completed, this function will not signal the token
872 and EFI_NOT_FOUND is returned.
873
874 @param[in] This Pointer to the EFI_IP6_PROTOCOL instance.
875 @param[in] Token Pointer to a token that has been issued by
876 EFI_IP6_PROTOCOL.Transmit() or
877 EFI_IP6_PROTOCOL.Receive(). If NULL, all pending
878 tokens are aborted. Type EFI_IP6_COMPLETION_TOKEN is
879 defined in EFI_IP6_PROTOCOL.Transmit().
880
881 @retval EFI_SUCCESS The asynchronous I/O request was aborted and
882 Token->Event was signaled. When Token is NULL, all
883 pending requests were aborted and their events were signaled.
884 @retval EFI_INVALID_PARAMETER This is NULL.
885 @retval EFI_NOT_STARTED This instance has not been started.
886 @retval EFI_NOT_FOUND When Token is not NULL, the asynchronous I/O request was
887 not found in the transmit or receive queue. It has either completed
888 or was not issued by Transmit() and Receive().
889 @retval EFI_DEVICE_ERROR An unexpected system or network error occurred.
890
891**/
892typedef
895 IN EFI_IP6_PROTOCOL *This,
897 );
898
899/**
900 Polls for incoming data packets and processes outgoing data packets.
901
902 The Poll() function polls for incoming data packets and processes outgoing data
903 packets. Network drivers and applications can call the EFI_IP6_PROTOCOL.Poll()
904 function to increase the rate that data packets are moved between the communications
905 device and the transmit and receive queues.
906
907 In some systems the periodic timer event may not poll the underlying communications
908 device fast enough to transmit and/or receive all data packets without missing
909 incoming packets or dropping outgoing packets. Drivers and applications that are
910 experiencing packet loss should try calling the EFI_IP6_PROTOCOL.Poll() function
911 more often.
912
913 @param[in] This Pointer to the EFI_IP6_PROTOCOL instance.
914
915 @retval EFI_SUCCESS Incoming or outgoing data was processed.
916 @retval EFI_NOT_STARTED This EFI IPv6 Protocol instance has not been started.
917 @retval EFI_INVALID_PARAMETER This is NULL.
918 @retval EFI_DEVICE_ERROR An unexpected system or network error occurred.
919 @retval EFI_NOT_READY No incoming or outgoing data is processed.
920 @retval EFI_TIMEOUT Data was dropped out of the transmit and/or receive queue.
921 Consider increasing the polling rate.
922
923**/
924typedef
927 IN EFI_IP6_PROTOCOL *This
928 );
929
930///
931/// The EFI IPv6 Protocol implements a simple packet-oriented interface that can be
932/// used by drivers, daemons, and applications to transmit and receive network packets.
933///
945
948
949#endif
unsigned short UINT16
2-byte unsigned value.
unsigned char BOOLEAN
Logical Boolean.
#define EFIAPI
unsigned char UINT8
1-byte unsigned value.
unsigned int UINT32
4-byte unsigned value.
#define VOID
Undeclared type.
Definition Base.h:272
#define OPTIONAL
Passing the datum to the function is optional, and a NULL is passed if the value is not supplied.
Definition Base.h:293
struct _EFI_IP6_TRANSMIT_DATA EFI_IP6_TRANSMIT_DATA
EFI_IP6_TRANSMIT_DATA.
EFI_GUID gEfiIp6ProtocolGuid
struct _EFI_IP6_FRAGMENT_DATA EFI_IP6_FRAGMENT_DATA
EFI_IP6_FRAGMENT_DATA describes the location and length of the IPv6 packet fragment to transmit or th...
EFI_STATUS(EFIAPI * EFI_IP6_CANCEL)(IN EFI_IP6_PROTOCOL *This, IN EFI_IP6_COMPLETION_TOKEN *Token OPTIONAL)
Abort an asynchronous transmit or receive request.
Definition Ip6.h:894
EFI_STATUS(EFIAPI * EFI_IP6_GROUPS)(IN EFI_IP6_PROTOCOL *This, IN BOOLEAN JoinFlag, IN EFI_IPv6_ADDRESS *GroupAddress OPTIONAL)
Joins and leaves multicast groups.
Definition Ip6.h:663
struct _EFI_IP6_OVERRIDE_DATA EFI_IP6_OVERRIDE_DATA
EFI_IP6_OVERRIDE_DATA The information and flags in the override data structure will override default ...
EFI_STATUS(EFIAPI * EFI_IP6_ROUTES)(IN EFI_IP6_PROTOCOL *This, IN BOOLEAN DeleteRoute, IN EFI_IPv6_ADDRESS *Destination OPTIONAL, IN UINT8 PrefixLength, IN EFI_IPv6_ADDRESS *GatewayAddress OPTIONAL)
Adds and deletes routing table entries.
Definition Ip6.h:712
EFI_STATUS(EFIAPI * EFI_IP6_GET_MODE_DATA)(IN EFI_IP6_PROTOCOL *This, OUT EFI_IP6_MODE_DATA *Ip6ModeData OPTIONAL, OUT EFI_MANAGED_NETWORK_CONFIG_DATA *MnpConfigData OPTIONAL, OUT EFI_SIMPLE_NETWORK_MODE *SnpModeData OPTIONAL)
Gets the current operational settings for this instance of the EFI IPv6 Protocol driver.
Definition Ip6.h:571
EFI_IP6_NEIGHBOR_STATE
EFI_IP6_NEIGHBOR_STATE.
Definition Ip6.h:252
@ EfiNeighborDelay
This state is an optimization that gives upper-layer protocols additional time to provide reachabilit...
Definition Ip6.h:275
@ EfiNeighborInComplete
Address resolution is being performed on this entry.
Definition Ip6.h:259
@ EfiNeighborProbe
A reachability confirmation is actively sought by retransmitting Neighbor Solicitations every Retrans...
Definition Ip6.h:281
@ EfiNeighborReachable
Positive confirmation was received that the forward path to the neighbor was functioning properly.
Definition Ip6.h:264
@ EfiNeighborStale
Reachable Time has elapsed since the last positive confirmation was received.
Definition Ip6.h:270
EFI_STATUS(EFIAPI * EFI_IP6_POLL)(IN EFI_IP6_PROTOCOL *This)
Polls for incoming data packets and processes outgoing data packets.
Definition Ip6.h:926
EFI_STATUS(EFIAPI * EFI_IP6_CONFIGURE)(IN EFI_IP6_PROTOCOL *This, IN EFI_IP6_CONFIG_DATA *Ip6ConfigData OPTIONAL)
Assigns an IPv6 address and subnet mask to this EFI IPv6 Protocol driver instance.
Definition Ip6.h:626
EFI_STATUS(EFIAPI * EFI_IP6_TRANSMIT)(IN EFI_IP6_PROTOCOL *This, IN EFI_IP6_COMPLETION_TOKEN *Token)
Places outgoing data packets into the transmit queue.
Definition Ip6.h:821
struct _EFI_IP6_PROTOCOL EFI_IP6_PROTOCOL
Definition Ip6.h:39
struct _EFI_IP6_HEADER EFI_IP6_HEADER
EFI_IP6_HEADER The fields in the IPv6 header structure are defined in the Internet Protocol version6 ...
struct _EFI_IP6_RECEIVE_DATA EFI_IP6_RECEIVE_DATA
EFI_IP6_RECEIVE_DATA.
EFI_STATUS(EFIAPI * EFI_IP6_RECEIVE)(IN EFI_IP6_PROTOCOL *This, IN EFI_IP6_COMPLETION_TOKEN *Token)
Places a receiving request into the receiving queue.
Definition Ip6.h:859
EFI_GUID gEfiIp6ServiceBindingProtocolGuid
EFI_STATUS(EFIAPI * EFI_IP6_NEIGHBORS)(IN EFI_IP6_PROTOCOL *This, IN BOOLEAN DeleteFlag, IN EFI_IPv6_ADDRESS *TargetIp6Address, IN EFI_MAC_ADDRESS *TargetLinkAddress, IN UINT32 Timeout, IN BOOLEAN Override)
Add or delete Neighbor cache entries.
Definition Ip6.h:768
EFI_MANAGED_NETWORK_SERVICE_BINDING_PROTOCOL as defined in UEFI 2.0.
IPv6_ADDRESS EFI_IPv6_ADDRESS
16-byte buffer.
RETURN_STATUS EFI_STATUS
Function return status for EFI API.
GUID EFI_GUID
128-bit buffer containing a unique identifier value.
#define FILE_LICENCE(_licence)
Declare a particular licence as applying to a file.
Definition compiler.h:896
#define FILE_SECBOOT(_status)
Declare a file's UEFI Secure Boot permission status.
Definition compiler.h:926
#define EFI_HANDLE
Definition efi.h:53
#define EFI_EVENT
Definition efi.h:54
#define IN
Definition mlx_utils.h:28
#define OUT
Definition mlx_utils.h:29
EFI_IP6_ADDRESS_INFO.
Definition Ip6.h:223
UINT8 PrefixLength
The length of the prefix associated with the Address.
Definition Ip6.h:225
EFI_IPv6_ADDRESS Address
The IPv6 address.
Definition Ip6.h:224
EFI_IP6_ADDRESS_PAIR is deprecated in the UEFI 2.4B and should not be used any more.
Definition Ip6.h:45
UINT8 PrefixLength
The length of the prefix associated with the Ip6Address.
Definition Ip6.h:57
EFI_HANDLE InstanceHandle
The EFI IPv6 Protocol instance handle that is using this address/prefix pair.
Definition Ip6.h:49
EFI_IPv6_ADDRESS Ip6Address
IPv6 address in network byte order.
Definition Ip6.h:53
EFI_IP6_COMPLETION_TOKEN structures are used for both transmit and receive operations.
Definition Ip6.h:520
EFI_STATUS Status
Will be set to one of the following values:
Definition Ip6.h:539
EFI_EVENT Event
This Event will be signaled after the Status field is updated by the EFI IPv6 Protocol driver.
Definition Ip6.h:525
EFI_IP6_RECEIVE_DATA * RxData
When the Token is used for receiving, RxData is a pointer to the EFI_IP6_RECEIVE_DATA.
Definition Ip6.h:544
EFI_IP6_TRANSMIT_DATA * TxData
When the Token is used for transmitting, TxData is a pointer to the EFI_IP6_TRANSMIT_DATA.
Definition Ip6.h:548
EFI_IP6_CONFIG_DATA is used to report and change IPv6 session parameters.
Definition Ip6.h:140
BOOLEAN AcceptIcmpErrors
Set to TRUE to receive ICMP error report packets.
Definition Ip6.h:160
UINT8 TrafficClass
TrafficClass field in transmitted IPv6 packets.
Definition Ip6.h:196
UINT32 FlowLabel
FlowLabel field in transmitted IPv6 packets.
Definition Ip6.h:205
UINT32 ReceiveTimeout
The timer timeout value (number of microseconds) for the receive timeout event to be associated with ...
Definition Ip6.h:211
UINT8 DefaultProtocol
For the IPv6 packet to send and receive, this is the default value of the 'Next Header' field in the ...
Definition Ip6.h:147
UINT8 HopLimit
HopLimit field in transmitted IPv6 packets.
Definition Ip6.h:200
BOOLEAN AcceptAnyProtocol
Set to TRUE to receive all IPv6 packets that get through the receive filters.
Definition Ip6.h:155
EFI_IPv6_ADDRESS DestinationAddress
The destination address of the packets that will be transmitted.
Definition Ip6.h:171
EFI_IPv6_ADDRESS StationAddress
The station IPv6 address that will be assigned to this EFI IPv6 Protocol instance.
Definition Ip6.h:191
UINT32 TransmitTimeout
The timer timeout value (number of microseconds) for the transmit timeout event to be associated with...
Definition Ip6.h:217
BOOLEAN AcceptPromiscuous
Set to TRUE to receive all IPv6 packets that are sent to any hardware address or any protocol address...
Definition Ip6.h:166
EFI_IP6_ICMP_TYPE is used to describe those ICMP messages that are supported by this EFI IPv6 Protoco...
Definition Ip6.h:300
UINT8 Type
The type of ICMP message.
Definition Ip6.h:301
UINT8 Code
The code of the ICMP message.
Definition Ip6.h:302
EFI_IP6_MODE_DATA.
Definition Ip6.h:308
UINT32 MaxPacketSize
The maximum packet size, in bytes, of the packet which the upper layer driver could feed.
Definition Ip6.h:318
EFI_IP6_NEIGHBOR_CACHE * NeighborCache
Neighbor cache entries.
Definition Ip6.h:369
UINT32 IcmpTypeCount
Number of entries in the supported ICMP types list.
Definition Ip6.h:383
EFI_IP6_ICMP_TYPE * IcmpTypeList
Array of ICMP types and codes that are supported by this EFI IPv6 Protocol driver.
Definition Ip6.h:389
UINT32 RouteCount
Number of entries in the routing table.
Definition Ip6.h:355
EFI_IP6_ADDRESS_INFO * AddressList
List of currently configured IPv6 addresses and corresponding prefix lengths assigned to this interfa...
Definition Ip6.h:339
EFI_IP6_ROUTE_TABLE * RouteTable
Routing table entries.
Definition Ip6.h:359
UINT32 NeighborCount
Number of entries in the neighbor cache.
Definition Ip6.h:364
UINT32 PrefixCount
Number of entries in the prefix table.
Definition Ip6.h:374
BOOLEAN IsStarted
Set to TRUE after this EFI IPv6 Protocol instance is started.
Definition Ip6.h:314
EFI_IPv6_ADDRESS * GroupTable
List of joined multicast group addresses.
Definition Ip6.h:350
EFI_IP6_CONFIG_DATA ConfigData
Current configuration settings.
Definition Ip6.h:322
EFI_IP6_ADDRESS_INFO * PrefixTable
On-link Prefix table entries.
Definition Ip6.h:379
UINT32 GroupCount
Number of joined multicast groups.
Definition Ip6.h:344
UINT32 AddressCount
Number of configured IPv6 addresses on this interface.
Definition Ip6.h:333
BOOLEAN IsConfigured
Set to TRUE when the EFI IPv6 Protocol instance is configured.
Definition Ip6.h:329
EFI_IP6_NEIGHBOR_CACHE is the entry structure that is used in neighbor cache.
Definition Ip6.h:289
EFI_IP6_NEIGHBOR_STATE State
State of this neighbor cache entry.
Definition Ip6.h:292
EFI_MAC_ADDRESS LinkAddress
Link-layer address of the neighbor.
Definition Ip6.h:291
EFI_IPv6_ADDRESS Neighbor
The on-link unicast/anycast IP address of the neighbor.
Definition Ip6.h:290
EFI_IP6_ROUTE_TABLE is the entry structure that is used in routing tables.
Definition Ip6.h:232
UINT8 PrefixLength
The length of the prefix associated with the Destination.
Definition Ip6.h:246
EFI_IPv6_ADDRESS Gateway
The IPv6 address of the gateway to be used as the next hop for packets to this prefix.
Definition Ip6.h:238
EFI_IPv6_ADDRESS Destination
The destination prefix to be routed.
Definition Ip6.h:242
EFI_IP6_VARIABLE_DATA is deprecated in the UEFI 2.4B and should not be used any more.
Definition Ip6.h:64
EFI_HANDLE DriverHandle
The handle of the driver that creates this entry.
Definition Ip6.h:68
UINT32 AddressCount
The number of IPv6 address pairs that follow this data structure.
Definition Ip6.h:72
EFI_IP6_ADDRESS_PAIR AddressPairs[1]
List of IPv6 address pairs that are currently in use.
Definition Ip6.h:76
32-byte buffer containing a network Media Access Control address.
EFI Time Abstraction: Year: 1900 - 9999 Month: 1 - 12 Day: 1 - 31 Hour: 0 - 23 Minute: 0 - 59 Second:...
EFI_IP6_FRAGMENT_DATA describes the location and length of the IPv6 packet fragment to transmit or th...
Definition Ip6.h:417
VOID * FragmentBuffer
Pointer to fragment data. This field may not be set to NULL.
Definition Ip6.h:419
UINT32 FragmentLength
Length of fragment data. This field may not be set to zero.
Definition Ip6.h:418
EFI_IP6_HEADER The fields in the IPv6 header structure are defined in the Internet Protocol version6 ...
Definition Ip6.h:398
UINT8 NextHeader
Definition Ip6.h:405
EFI_IPv6_ADDRESS SourceAddress
Definition Ip6.h:407
UINT8 TrafficClassL
Definition Ip6.h:402
UINT16 FlowLabelL
Definition Ip6.h:403
UINT8 TrafficClassH
Definition Ip6.h:399
UINT16 PayloadLength
Definition Ip6.h:404
UINT8 HopLimit
Definition Ip6.h:406
EFI_IPv6_ADDRESS DestinationAddress
Definition Ip6.h:408
UINT8 FlowLabelH
Definition Ip6.h:401
UINT8 Version
Definition Ip6.h:400
EFI_IP6_OVERRIDE_DATA The information and flags in the override data structure will override default ...
Definition Ip6.h:467
UINT8 HopLimit
Hop-Limit override.
Definition Ip6.h:469
UINT32 FlowLabel
Flow-Label override.
Definition Ip6.h:470
UINT8 Protocol
Protocol type override.
Definition Ip6.h:468
The EFI IPv6 Protocol implements a simple packet-oriented interface that can be used by drivers,...
Definition Ip6.h:934
EFI_IP6_TRANSMIT Transmit
Definition Ip6.h:940
EFI_IP6_NEIGHBORS Neighbors
Definition Ip6.h:939
EFI_IP6_ROUTES Routes
Definition Ip6.h:938
EFI_IP6_GET_MODE_DATA GetModeData
Definition Ip6.h:935
EFI_IP6_GROUPS Groups
Definition Ip6.h:937
EFI_IP6_RECEIVE Receive
Definition Ip6.h:941
EFI_IP6_CONFIGURE Configure
Definition Ip6.h:936
EFI_IP6_POLL Poll
Definition Ip6.h:943
EFI_IP6_CANCEL Cancel
Definition Ip6.h:942
EFI_IP6_RECEIVE_DATA.
Definition Ip6.h:425
EFI_TIME TimeStamp
Time when the EFI IPv6 Protocol driver accepted the packet.
Definition Ip6.h:430
UINT32 HeaderLength
Length of the IPv6 packet headers, including both the IPv6 header and any extension headers.
Definition Ip6.h:440
UINT32 FragmentCount
Number of IPv6 payload fragments.
Definition Ip6.h:455
EFI_IP6_HEADER * Header
Pointer to the IPv6 packet header.
Definition Ip6.h:446
UINT32 DataLength
Sum of the lengths of IPv6 packet buffers in FragmentTable.
Definition Ip6.h:451
EFI_EVENT RecycleSignal
After this event is signaled, the receive data structure is released and must not be referenced.
Definition Ip6.h:435
EFI_IP6_FRAGMENT_DATA FragmentTable[1]
Array of payload fragment lengths and buffer pointers.
Definition Ip6.h:459
EFI_IP6_TRANSMIT_DATA.
Definition Ip6.h:476
UINT32 DataLength
Total length in bytes of the FragmentTable data to transmit.
Definition Ip6.h:505
UINT32 ExtHdrsLength
Total length in byte of the IPv6 extension headers specified in ExtHdrs.
Definition Ip6.h:490
UINT8 NextHeader
The protocol of first extension header in ExtHdrs.
Definition Ip6.h:501
EFI_IP6_FRAGMENT_DATA FragmentTable[1]
Start of the fragment data table.
Definition Ip6.h:513
EFI_IP6_OVERRIDE_DATA * OverrideData
If not NULL, the IPv6 transmission control override data.
Definition Ip6.h:485
UINT32 FragmentCount
Number of entries in the fragment data table.
Definition Ip6.h:509
VOID * ExtHdrs
Pointer to the IPv6 extension headers.
Definition Ip6.h:496
EFI_IPv6_ADDRESS DestinationAddress
The destination IPv6 address.
Definition Ip6.h:481