TianoCore EDK2 master
Loading...
Searching...
No Matches
Ip6Icmp.h
Go to the documentation of this file.
1
10#ifndef __EFI_IP6_ICMP_H__
11#define __EFI_IP6_ICMP_H__
12
13#define ICMP_V6_DEFAULT_CODE 0
14
15#define ICMP_V6_ERROR_MAX 127
16
17//
18// ICMPv6 message classes, each class of ICMPv6 message shares
19// a common message format. INVALID_MESSAGE is only a flag.
20//
21#define ICMP_V6_INVALID_MESSAGE 0
22#define ICMP_V6_ERROR_MESSAGE 1
23#define ICMP_V6_INFORMATION_MESSAGE 2
24
25extern EFI_IP6_ICMP_TYPE mIp6SupportedIcmp[];
26
44 IN IP6_SERVICE *IpSb,
45 IN EFI_IP6_HEADER *Head,
46 IN NET_BUF *Packet
47 );
48
59BOOLEAN
61 IN IP6_SERVICE *IpSb,
62 IN EFI_IPv6_ADDRESS *DestinationAddress
63 );
64
91 IN IP6_SERVICE *IpSb,
92 IN NET_BUF *Packet,
93 IN EFI_IPv6_ADDRESS *SourceAddress OPTIONAL,
94 IN EFI_IPv6_ADDRESS *DestinationAddress,
95 IN UINT8 Type,
96 IN UINT8 Code,
97 IN UINT32 *Pointer OPTIONAL
98 );
99
100#endif
BOOLEAN Ip6IsAnycast(IN IP6_SERVICE *IpSb, IN EFI_IPv6_ADDRESS *DestinationAddress)
Definition: Ip6Icmp.c:506
EFI_STATUS Ip6SendIcmpError(IN IP6_SERVICE *IpSb, IN NET_BUF *Packet, IN EFI_IPv6_ADDRESS *SourceAddress OPTIONAL, IN EFI_IPv6_ADDRESS *DestinationAddress, IN UINT8 Type, IN UINT8 Code, IN UINT32 *Pointer OPTIONAL)
Definition: Ip6Icmp.c:564
EFI_STATUS Ip6IcmpHandle(IN IP6_SERVICE *IpSb, IN EFI_IP6_HEADER *Head, IN NET_BUF *Packet)
Definition: Ip6Icmp.c:402
#define IN
Definition: Base.h:279
RETURN_STATUS EFI_STATUS
Definition: UefiBaseType.h:29