TianoCore EDK2
master
Loading...
Searching...
No Matches
Ip4Option.h
Go to the documentation of this file.
1
9
#ifndef __EFI_IP4_OPTION_H__
10
#define __EFI_IP4_OPTION_H__
11
12
#define IP4_OPTION_EOP 0
13
#define IP4_OPTION_NOP 1
14
#define IP4_OPTION_LSRR 131
// Loss source and record routing, 10000011
15
#define IP4_OPTION_SSRR 137
// Strict source and record routing, 10001001
16
#define IP4_OPTION_RR 7
// Record routing, 00000111
17
18
#define IP4_OPTION_COPY_MASK 0x80
19
34
BOOLEAN
35
Ip4OptionIsValid
(
36
IN
UINT8 *Option,
37
IN
UINT32 OptionLen,
38
IN
BOOLEAN Rcvd
39
);
40
58
EFI_STATUS
59
Ip4CopyOption
(
60
IN
UINT8 *Option,
61
IN
UINT32 OptionLen,
62
IN
BOOLEAN FirstFragment,
63
IN
OUT
UINT8 *Buf OPTIONAL,
64
IN
OUT
UINT32 *BufLen
65
);
66
67
#endif
Ip4CopyOption
EFI_STATUS Ip4CopyOption(IN UINT8 *Option, IN UINT32 OptionLen, IN BOOLEAN FirstFragment, IN OUT UINT8 *Buf OPTIONAL, IN OUT UINT32 *BufLen)
Definition:
Ip4Option.c:111
Ip4OptionIsValid
BOOLEAN Ip4OptionIsValid(IN UINT8 *Option, IN UINT32 OptionLen, IN BOOLEAN Rcvd)
Definition:
Ip4Option.c:25
IN
#define IN
Definition:
Base.h:279
OUT
#define OUT
Definition:
Base.h:284
EFI_STATUS
RETURN_STATUS EFI_STATUS
Definition:
UefiBaseType.h:29
NetworkPkg
Ip4Dxe
Ip4Option.h
Generated on Fri Nov 15 2024 18:01:18 for TianoCore EDK2 by
1.9.6