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
25
extern
EFI_IP6_ICMP_TYPE
mIp6SupportedIcmp[];
26
42
EFI_STATUS
43
Ip6IcmpHandle
(
44
IN
IP6_SERVICE
*IpSb,
45
IN
EFI_IP6_HEADER
*Head,
46
IN
NET_BUF
*Packet
47
);
48
59
BOOLEAN
60
Ip6IsAnycast
(
61
IN
IP6_SERVICE
*IpSb,
62
IN
EFI_IPv6_ADDRESS
*DestinationAddress
63
);
64
89
EFI_STATUS
90
Ip6SendIcmpError
(
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
Ip6IsAnycast
BOOLEAN Ip6IsAnycast(IN IP6_SERVICE *IpSb, IN EFI_IPv6_ADDRESS *DestinationAddress)
Definition:
Ip6Icmp.c:506
Ip6SendIcmpError
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
Ip6IcmpHandle
EFI_STATUS Ip6IcmpHandle(IN IP6_SERVICE *IpSb, IN EFI_IP6_HEADER *Head, IN NET_BUF *Packet)
Definition:
Ip6Icmp.c:402
IN
#define IN
Definition:
Base.h:279
EFI_STATUS
RETURN_STATUS EFI_STATUS
Definition:
UefiBaseType.h:29
_EFI_IP6_HEADER
Definition:
Ip6.h:395
_IP6_SERVICE
Definition:
Ip6Impl.h:160
EFI_IP6_ICMP_TYPE
Definition:
Ip6.h:297
IPv6_ADDRESS
Definition:
Base.h:230
NET_BUF
Definition:
NetLib.h:1617
NetworkPkg
Ip6Dxe
Ip6Icmp.h
Generated on Fri Nov 15 2024 18:01:19 for TianoCore EDK2 by
1.9.6