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