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
34BOOLEAN
36 IN UINT8 *Option,
37 IN UINT32 OptionLen,
38 IN BOOLEAN Rcvd
39 );
40
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
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
BOOLEAN Ip4OptionIsValid(IN UINT8 *Option, IN UINT32 OptionLen, IN BOOLEAN Rcvd)
Definition: Ip4Option.c:25
#define IN
Definition: Base.h:279
#define OUT
Definition: Base.h:284
RETURN_STATUS EFI_STATUS
Definition: UefiBaseType.h:29