data_type
large_stringclasses
3 values
source
large_stringclasses
29 values
code
large_stringlengths
98
49.4M
filepath
large_stringlengths
5
161
message
large_stringclasses
234 values
commit
large_stringclasses
234 values
subject
large_stringclasses
418 values
critique
large_stringlengths
101
1.26M
metadata
dict
source
edk2
/** @file The header file of CHAP configuration. Copyright (c) 2004 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #define ISCSI_AUTH_METHOD_CHAP "CHAP" #define ISCSI_KEY_CHAP_ALGORITHM "CHAP_A" #define ISCSI_KEY_CHAP_IDENTIFIER "CHAP_I" #def...
NetworkPkg/IScsiDxe/IScsiCHAP.h
null
null
null
null
null
source
edk2
/** @file Helper functions for configuring or getting the parameters relating to iSCSI. Copyright (c) 2004 - 2019, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "IScsiImpl.h" CHAR16 mVendorStorageName[] = L"ISCSI_CONFIG_IFR_NVDATA"; ISCSI_...
NetworkPkg/IScsiDxe/IScsiConfig.c
null
null
null
null
null
source
edk2
/** @file The header file of functions for configuring or getting the parameters relating to iSCSI. Copyright (c) 2004 - 2017, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include "IScsiConfigNVDataStruc.h" typedef struct _ISCSI_FORM_CALLBACK_INFO I...
NetworkPkg/IScsiDxe/IScsiConfig.h
null
null
null
null
null
source
edk2
/** @file Define NVData structures used by the iSCSI configuration component. Copyright (c) 2004 - 2017, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include <Guid/IScsiConfigHii.h> #define VAR_EQ_TEST_NAME 0x100 #define CONFIGURATION_VARSTO...
NetworkPkg/IScsiDxe/IScsiConfigNVDataStruc.h
null
null
null
null
null
source
edk2
/** @file iSCSI DHCP4 related configuration routines. Copyright (c) 2004 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "IScsiImpl.h" /** Extract the Root Path option and get the required target information. @param[in] RootPath The...
NetworkPkg/IScsiDxe/IScsiDhcp.c
null
null
null
null
null
source
edk2
/** @file The head file of iSCSI DHCP4 related configuration routines. Copyright (c) 2004 - 2016, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #define ISCSI_ROOT_PATH_ID "iscsi:" #define ISCSI_ROOT_PATH_FIELD_DELIMITER ':' #define RP_FIE...
NetworkPkg/IScsiDxe/IScsiDhcp.h
null
null
null
null
null
source
edk2
/** @file iSCSI DHCP6 related configuration routines. Copyright (c) 2009 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "IScsiImpl.h" /** Extract the Root Path option and get the required target information from Boot File Uniform Resource Locator ...
NetworkPkg/IScsiDxe/IScsiDhcp6.c
null
null
null
null
null
source
edk2
/** @file The header file of iSCSI DHCP6 related configuration routines. Copyright (c) 2004 - 2016, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #define ISCSI_ROOT_PATH_ID "iscsi:" #define ISCSI_ROOT_PATH_FIELD_DELIMITER ':' #de...
NetworkPkg/IScsiDxe/IScsiDhcp6.h
null
null
null
null
null
source
edk2
/** @file Perform DNS resolution based on UEFI DNS protocols. Copyright (c) 2017, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "IScsiImpl.h" /** Notify the callback function when an event is triggered. @param[in] Event The triggered event. ...
NetworkPkg/IScsiDxe/IScsiDns.c
null
null
null
null
null
source
edk2
/** @file The header file of routines for IScsi driver to perform DNS resolution based on UEFI DNS protocols. Copyright (c) 2017 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once /** Retrieve the host address using the EFI_DNS4_PROTOCOL. @param[...
NetworkPkg/IScsiDxe/IScsiDns.h
null
null
null
null
null
source
edk2
/** @file The entry point of IScsi driver. Copyright (c) 2019, NVIDIA Corporation. All rights reserved. Copyright (c) 2004 - 2018, Intel Corporation. All rights reserved.<BR> (C) Copyright 2017 Hewlett Packard Enterprise Development LP<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "IScsiImpl.h" E...
NetworkPkg/IScsiDxe/IScsiDriver.c
null
null
null
null
null
source
edk2
/** @file The header file of IScsiDriver.c. Copyright (c) 2004 - 2018, Intel Corporation. All rights reserved.<BR> (C) Copyright 2017 Hewlett Packard Enterprise Development LP<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #define ISCSI_V4_PRIVATE_GUID \ { \ 0xfa3cde4c, 0x87c2, 0x427d, {...
NetworkPkg/IScsiDxe/IScsiDriver.h
null
null
null
null
null
source
edk2
/** @file The implementation of EFI_EXT_SCSI_PASS_THRU_PROTOCOL. Copyright (c) 2004 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "IScsiImpl.h" EFI_EXT_SCSI_PASS_THRU_PROTOCOL gIScsiExtScsiPassThruProtocolTemplate = { NULL, IScsiExtScsiPassThruF...
NetworkPkg/IScsiDxe/IScsiExtScsiPassThru.c
null
null
null
null
null
source
edk2
/** @file Implementation for iSCSI Boot Firmware Table publication. Copyright (c) 2004 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "IScsiImpl.h" BOOLEAN mIbftInstalled = FALSE; UINTN mTableKey; /** Initialize the header of the iSCSI Boot Fir...
NetworkPkg/IScsiDxe/IScsiIbft.c
null
null
null
null
null
source
edk2
/** @file Some extra definitions for iBFT. Copyright (c) 2004 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include <IndustryStandard/Acpi.h> #include <IndustryStandard/IScsiBootFirmwareTable.h> #include <Protocol/AcpiTable.h> #include <Protocol...
NetworkPkg/IScsiDxe/IScsiIbft.h
null
null
null
null
null
source
edk2
/** @file The shared head file for iSCSI driver. Copyright (c) 2004 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include <Uefi.h> #include <IndustryStandard/Dhcp.h> #include <Protocol/ComponentName.h> #include <Protocol/ComponentName2.h> #inc...
NetworkPkg/IScsiDxe/IScsiImpl.h
null
null
null
null
null
source
edk2
/** @file Implementation for EFI iSCSI Initiator Name Protocol. Copyright (c) 2004 - 2011, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "IScsiImpl.h" EFI_ISCSI_INITIATOR_NAME_PROTOCOL gIScsiInitiatorName = { IScsiGetInitiatorName, IScsiSetInitiatorName...
NetworkPkg/IScsiDxe/IScsiInitiatorName.c
null
null
null
null
null
source
edk2
/** @file Miscellaneous routines for iSCSI driver. Copyright (c) 2004 - 2018, Intel Corporation. All rights reserved.<BR> Copyright (c) Microsoft Corporation SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "IScsiImpl.h" GLOBAL_REMOVE_IF_UNREFERENCED CONST CHAR8 IScsiHexString[] = "0123456789ABCDEFabcde...
NetworkPkg/IScsiDxe/IScsiMisc.c
null
null
null
null
null
source
edk2
/** @file Miscellaneous definitions for iSCSI driver. Copyright (c) 2004 - 2018, Intel Corporation. All rights reserved.<BR> Copyright (c) Microsoft Corporation SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once typedef struct _ISCSI_DRIVER_DATA ISCSI_DRIVER_DATA; /// /// IPv4 Device Path Node Length ...
NetworkPkg/IScsiDxe/IScsiMisc.h
null
null
null
null
null
source
edk2
/** @file The implementation of iSCSI protocol based on RFC3720. Copyright (c) 2004 - 2025, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "IScsiImpl.h" UINT32 mDataSegPad = 0; /** Attach the iSCSI connection to the iSCSI session. @param[in, out] Sess...
NetworkPkg/IScsiDxe/IScsiProto.c
null
null
null
null
null
source
edk2
/** @file The header file of iSCSI Protocol that defines many specific data structures. Copyright (c) 2004 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once // // RFC 1982 Serial Number Arithmetic, SERIAL_BITS = 32 // #define ISCSI_SEQ_EQ(s1, s2) ((...
NetworkPkg/IScsiDxe/IScsiProto.h
null
null
null
null
null
source
edk2
/** @file GUIDs used as HII FormSet and HII Package list GUID in HTTP boot driver. Copyright (c) 2016 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #define HTTP_BOOT_CONFIG_GUID \ { \ 0x4d20583a, 0x7765, 0x4e7a, { 0x8a, 0x67, 0xdc, 0xde, 0x...
NetworkPkg/Include/Guid/HttpBootConfigHii.h
null
null
null
null
null
source
edk2
/** @file This file defines the HttpTlsCipherList variable for HTTPS to configure Tls Cipher List. Copyright (c) 2018 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once // // Private Variable for HTTPS to configure Tls Cipher List. // The valid conten...
NetworkPkg/Include/Guid/HttpTlsCipherList.h
null
null
null
null
null
source
edk2
/** @file GUIDs used as HII FormSet and HII Package list GUID in IScsiConfig driver that supports IP4 and IP6 both. Copyright (c) 2011 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #define ISCSI_CONFIG_GUID \ { \ 0x4b47d616, 0xa8d6, 0x455...
NetworkPkg/Include/Guid/IScsiConfigHii.h
null
null
null
null
null
source
edk2
/** @file GUIDs used as HII FormSet and HII Package list GUID in Ip4Dxe driver. Copyright (c) 2015 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #define IP4_CONFIG2_NVDATA_GUID \ { \ 0x9b942747, 0x154e, 0x4d29, { 0xa4, 0x36, 0xbf, 0x71, 0x0...
NetworkPkg/Include/Guid/Ip4Config2Hii.h
null
null
null
null
null
source
edk2
/** @file GUIDs used as HII FormSet and HII Package list GUID in IP4 IScsiDxe driver. Copyright (c) 2011 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #define IP4_ISCSI_CONFIG_GUID \ { \ 0x6456ed61, 0x3579, 0x41c9, { 0x8a, 0x26, 0x0a, 0x0b,...
NetworkPkg/Include/Guid/Ip4IScsiConfigHii.h
null
null
null
null
null
source
edk2
/** @file GUIDs used as HII FormSet and HII Package list GUID in Ip6Config driver. Copyright (c) 2011 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #define IP6_CONFIG_NVDATA_GUID \ { \ 0x2eea107, 0x98db, 0x400e, { 0x98, 0x30, 0x46, 0xa, 0x1...
NetworkPkg/Include/Guid/Ip6ConfigHii.h
null
null
null
null
null
source
edk2
/** @file GUIDs used as HII FormSet and HII Package list GUID in TlsAuthConfigDxe driver. Copyright (c) 2016, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #define TLS_AUTH_CONFIG_GUID \ { \ 0xb0eae4f8, 0x9a04, 0x4c6d, { 0xa7, 0x48, 0x79, 0x3d, 0xa...
NetworkPkg/Include/Guid/TlsAuthConfigHii.h
null
null
null
null
null
source
edk2
/** @file This file defines TlsCaCertificate variable. Copyright (c) 2016, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once // Private variable for CA Certificate configuration // #define EFI_TLS_CA_CERTIFICATE_GUID \ { \ 0xfd2340D0, 0x3dab, 0x4349, {...
NetworkPkg/Include/Guid/TlsAuthentication.h
null
null
null
null
null
source
edk2
/** @file GUIDs used as HII FormSet and HII Package list GUID in VlanConfig driver. Copyright (c) 2011 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #define VLAN_CONFIG_FORM_SET_GUID \ { \ 0xd79df6b0, 0xef44, 0x43bd, {0x97, 0x97, 0x43, 0xe9...
NetworkPkg/Include/Guid/VlanConfigHii.h
null
null
null
null
null
source
edk2
/** @file GUIDs used as HII FormSet and HII Package list GUID in WiFi Connection Manager. Copyright (c) 2019, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #define WIFI_CONNECTION_MANAGER_CONFIG_GUID \ { \ 0x9f94d327, 0x0b18, 0x4245, { 0x8f, 0xf2, ...
NetworkPkg/Include/Guid/WifiConnectionManagerConfigHii.h
null
null
null
null
null
source
edk2
/** @file DpcLib.h. Copyright (c) 2007 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include <Protocol/Dpc.h> /** Add a Deferred Procedure Call to the end of the DPC queue. @param[in] DpcTpl The EFI_TPL that the DPC should invoke. ...
NetworkPkg/Include/Library/DpcLib.h
null
null
null
null
null
source
edk2
/** @file HttpIoLib.h. (C) Copyright 2020 Hewlett-Packard Development Company, L.P.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include <IndustryStandard/Http11.h> #include <Library/DpcLib.h> #include <Library/HttpLib.h> #include <Library/NetLib.h> #define HTTP_IO_MAX_SEND_PAYLOAD ...
NetworkPkg/Include/Library/HttpIoLib.h
null
null
null
null
null
source
edk2
/** @file This library is used to share code between UEFI network stack modules. It provides the helper routines to parse the HTTP message byte stream. Copyright (c) 2015 - 2018, Intel Corporation. All rights reserved.<BR> (C) Copyright 2016 Hewlett Packard Enterprise Development LP<BR> SPDX-License-Identifier: BS...
NetworkPkg/Include/Library/HttpLib.h
null
null
null
null
null
source
edk2
/** @file This library is only intended to be used by UEFI network stack modules. It provides the combined IpIo layer on the EFI IP4 Protocol and EFI IP6 protocol. Copyright (c) 2005 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include <Proto...
NetworkPkg/Include/Library/IpIoLib.h
null
null
null
null
null
source
edk2
/** @file This library is only intended to be used by UEFI network stack modules. It provides basic functions for the UEFI network stack. Copyright (c) 2005 - 2018, Intel Corporation. All rights reserved.<BR> Copyright (c) Microsoft Corporation SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #incl...
NetworkPkg/Include/Library/NetLib.h
null
null
null
null
null
source
edk2
/** @file This library is used to share code between UEFI network stack modules. It provides the helper routines to access TCP service. Copyright (c) 2010 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include <Protocol/Tcp4.h> #include <Protoc...
NetworkPkg/Include/Library/TcpIoLib.h
null
null
null
null
null
source
edk2
/** @file This library is used to share code between UEFI network stack modules. It provides the helper routines to access UDP service. It is used by both DHCP and MTFTP. Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include...
NetworkPkg/Include/Library/UdpIoLib.h
null
null
null
null
null
source
edk2
/** @file EFI Deferred Procedure Call Protocol. Copyright (c) 2007 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once // // DPC Protocol GUID value // #define EFI_DPC_PROTOCOL_GUID \ { \ 0x480f8ae9, 0xc46, 0x4aa9, { 0xbc, 0x89, 0xdb, 0x9f, ...
NetworkPkg/Include/Protocol/Dpc.h
null
null
null
null
null
source
edk2
/** @file This file defines the EDKII HTTP Callback Protocol interface. Copyright (c) 2021, Intel Corporation. All rights reserved.<BR> Copyright (C) 2024 Advanced Micro Devices, Inc. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #define EDKII_HTTP_CALLBACK_PROTOCOL_G...
NetworkPkg/Include/Protocol/HttpCallback.h
null
null
null
null
null
source
edk2
/** @file WiFi profile sync protocol. Supports One Click Recovery or KVM OS recovery boot flow over WiFi. This protocol will hold the WiFi profile provided by AMT in its original structure, then convert the profile when the WifiConnectionManager is attempting a connection during a system recovery reboot, OCR or...
NetworkPkg/Include/Protocol/WiFiProfileSyncProtocol.h
null
null
null
null
null
source
edk2
/** @file Copyright (c) 2005 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "Ip4Impl.h" // // EFI Component Name Functions // /** Retrieves a Unicode string that is the user readable name of the driver. This function retrieves the user readable na...
NetworkPkg/Ip4Dxe/ComponentName.c
null
null
null
null
null
source
edk2
/** @file Copyright (c) 2005 - 2017, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "Ip4Impl.h" /** Return the cast type (Unicast/Broadcast) specific to an interface. All the addresses are host byte ordered. @param[in] IpAddr The IP addre...
NetworkPkg/Ip4Dxe/Ip4Common.c
null
null
null
null
null
source
edk2
/** @file Common definition for IP4. Copyright (c) 2005 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once typedef struct _IP4_INTERFACE IP4_INTERFACE; typedef struct _IP4_PROTOCOL IP4_PROTOCOL; typedef struct _IP4_SERVICE IP4_SERVICE; #define ...
NetworkPkg/Ip4Dxe/Ip4Common.h
null
null
null
null
null
source
edk2
/** @file The implementation of EFI IPv4 Configuration II Protocol. Copyright (c) 2015 - 2018, Intel Corporation. All rights reserved.<BR> (C) Copyright 2015-2016 Hewlett Packard Enterprise Development LP<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "Ip4Impl.h" LIST_ENTRY mIp4Config2Insta...
NetworkPkg/Ip4Dxe/Ip4Config2Impl.c
null
null
null
null
null
source
edk2
/** @file Definitions for EFI IPv4 Configuration II Protocol implementation. Copyright (c) 2015 - 2018, Intel Corporation. All rights reserved.<BR> (C) Copyright 2015 Hewlett Packard Enterprise Development LP<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #define IP4_CONFIG2_INSTANCE_SIG...
NetworkPkg/Ip4Dxe/Ip4Config2Impl.h
null
null
null
null
null
source
edk2
/** @file Helper functions for configuring or getting the parameters relating to Ip4. Copyright (c) 2015 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "Ip4Impl.h" CHAR16 mIp4Config2StorageName[] = L"IP4_CONFIG2_IFR_NVDATA"; /** Calculate the pref...
NetworkPkg/Ip4Dxe/Ip4Config2Nv.c
null
null
null
null
null
source
edk2
/** @file The header file of IP4Config2Nv.c Copyright (c) 2015 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include "Ip4Impl.h" extern UINT8 Ip4Config2Bin[]; extern UINT8 Ip4DxeStrings[]; #define NIC_ITEM_CONFIG_SIZE (sizeof (IP4_CONFIG2_I...
NetworkPkg/Ip4Dxe/Ip4Config2Nv.h
null
null
null
null
null
source
edk2
/** @file The driver binding and service binding protocol for IP4 driver. Copyright (c) 2005 - 2019, Intel Corporation. All rights reserved.<BR> Copyright (c) Microsoft Corporation (C) Copyright 2015 Hewlett-Packard Development Company, L.P.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "Ip4Impl.h...
NetworkPkg/Ip4Dxe/Ip4Driver.c
null
null
null
null
null
source
edk2
/** @file Copyright (c) 2005 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include <Protocol/ServiceBinding.h> extern EFI_DRIVER_BINDING_PROTOCOL gIp4DriverBinding; extern EFI_COMPONENT_NAME_PROTOCOL gIp4ComponentName; extern EFI_COMPONENT_NA...
NetworkPkg/Ip4Dxe/Ip4Driver.h
null
null
null
null
null
source
edk2
/** @file Copyright (c) 2005 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "Ip4Impl.h" IP4_ICMP_CLASS mIcmpClass[] = { { ICMP_ECHO_REPLY, ICMP_QUERY_MESSAGE }, { 1, ICMP_INVALID_MESSAGE }, { 2, ...
NetworkPkg/Ip4Dxe/Ip4Icmp.c
null
null
null
null
null
source
edk2
/** @file Header file for ICMP protocol. Copyright (c) 2005 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once // // ICMP type definitions // #define ICMP_ECHO_REPLY 0 #define ICMP_DEST_UNREACHABLE 3 #define ICMP_SOURCE_QUENCH 4 #define...
NetworkPkg/Ip4Dxe/Ip4Icmp.h
null
null
null
null
null
source
edk2
/** @file Implement IP4 pseudo interface. Copyright (c) 2005 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "Ip4Impl.h" // // Mac address with all zero, used to determine whether the ARP // resolve succeeded. Failed ARP requests zero the MAC address b...
NetworkPkg/Ip4Dxe/Ip4If.c
null
null
null
null
null
source
edk2
/** @file Definition for IP4 pseudo interface structure. Copyright (c) 2005 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #define IP4_FRAME_RX_SIGNATURE SIGNATURE_32 ('I', 'P', 'F', 'R') #define IP4_FRAME_TX_SIGNATURE SIGNATURE_32 ('I', 'P', ...
NetworkPkg/Ip4Dxe/Ip4If.h
null
null
null
null
null
source
edk2
/** @file This file implements the RFC2236: IGMP v2. Copyright (c) 2005 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "Ip4Impl.h" // // Route Alert option in IGMP report to direct routers to // examine the packet more closely. // UINT32 mRouteAlertO...
NetworkPkg/Ip4Dxe/Ip4Igmp.c
null
null
null
null
null
source
edk2
/** @file Copyright (c) 2005 - 2015, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once // // IGMP message type // #define IGMP_MEMBERSHIP_QUERY 0x11 #define IGMP_V1_MEMBERSHIP_REPORT 0x12 #define IGMP_V2_MEMBERSHIP_REPORT 0x16 #define IGMP_LEAVE_GROUP ...
NetworkPkg/Ip4Dxe/Ip4Igmp.h
null
null
null
null
null
source
edk2
/** @file Copyright (c) 2005 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "Ip4Impl.h" EFI_IPSEC2_PROTOCOL *mIpSec = NULL; /** Gets the current operational settings for this instance of the EFI IPv4 Protocol driver. The GetModeData() function re...
NetworkPkg/Ip4Dxe/Ip4Impl.c
null
null
null
null
null
source
edk2
/** @file Ip4 internal functions and type definitions. Copyright (c) 2005 - 2018, Intel Corporation. All rights reserved.<BR> (C) Copyright 2015 Hewlett-Packard Development Company, L.P.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include <Uefi.h> #include <Protocol/IpSec.h> #include <Pro...
NetworkPkg/Ip4Dxe/Ip4Impl.h
null
null
null
null
null
source
edk2
/** @file IP4 input process. Copyright (c) 2005 - 2020, Intel Corporation. All rights reserved.<BR> (C) Copyright 2015 Hewlett-Packard Development Company, L.P.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "Ip4Impl.h" /** Create an empty assemble entry for the packet identified by (Dst, Src,...
NetworkPkg/Ip4Dxe/Ip4Input.c
null
null
null
null
null
source
edk2
/** @file Copyright (c) 2005 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #define IP4_MIN_HEADLEN 20 #define IP4_MAX_HEADLEN 60 /// /// 8(ESP header) + 16(max IV) + 16(max padding) + 2(ESP tail) + 12(max ICV) = 54 /// #define IP4_MAX_IPSEC_HEADL...
NetworkPkg/Ip4Dxe/Ip4Input.h
null
null
null
null
null
source
edk2
/** @file Routines used to operate the Ip4Dxe. Copyright (c) 2015, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include <Guid/Ip4Config2Hii.h> #define FORMID_MAIN_FORM 1 #define FORMID_DEVICE_FORM 2 #define KEY_ENABLE 0x100 #define KEY_DHC...
NetworkPkg/Ip4Dxe/Ip4NvData.h
null
null
null
null
null
source
edk2
/** @file IP4 option support functions. Copyright (c) 2005 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "Ip4Impl.h" /** Validate the IP4 option format for both the packets we received and will transmit. @param[in] Option The first...
NetworkPkg/Ip4Dxe/Ip4Option.c
null
null
null
null
null
source
edk2
/** @file IP4 option support routines. Copyright (c) 2005 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #define IP4_OPTION_EOP 0 #define IP4_OPTION_NOP 1 #define IP4_OPTION_LSRR 131 // Loss source and record routing, 10000011 #define...
NetworkPkg/Ip4Dxe/Ip4Option.h
null
null
null
null
null
source
edk2
/** @file Transmit the IP4 packet. Copyright (c) 2005 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "Ip4Impl.h" UINT16 mIp4Id; /** Prepend an IP4 head to the Packet. It will copy the options and build the IP4 header fields. Used for IP4 fragmen...
NetworkPkg/Ip4Dxe/Ip4Output.c
null
null
null
null
null
source
edk2
/** @file Copyright (c) 2005 - 2006, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once /** The default callback function for system generated packet. It will free the packet. @param Ip4Instance The IP4 child that issued the transmission. It m...
NetworkPkg/Ip4Dxe/Ip4Output.h
null
null
null
null
null
source
edk2
/** @file Copyright (c) 2005 - 2016, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "Ip4Impl.h" /** Allocate a route entry then initialize it with the Dest/Netmask and Gateway. @param[in] Dest The destination network @param[in] Netma...
NetworkPkg/Ip4Dxe/Ip4Route.c
null
null
null
null
null
source
edk2
/** @file EFI IP4 route table and route cache table definitions. Copyright (c) 2005 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include "Ip4Common.h" #define IP4_DIRECT_ROUTE 0x00000001 #define IP4_ROUTE_CACHE_HASH_VALUE 31 #define IP4_ROU...
NetworkPkg/Ip4Dxe/Ip4Route.h
null
null
null
null
null
source
edk2
/** @file Implementation of EFI_COMPONENT_NAME_PROTOCOL and EFI_COMPONENT_NAME2_PROTOCOL protocol. Copyright (c) 2009 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "Ip6Impl.h" // // EFI Component Name Functions // /** Retrieves a Unicode st...
NetworkPkg/Ip6Dxe/ComponentName.c
null
null
null
null
null
source
edk2
/** @file The implementation of common functions shared by IP6 driver. Copyright (c) 2009 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "Ip6Impl.h" /** Build a array of EFI_IP6_ADDRESS_INFO to be returned to the caller. The number of EFI_IP6...
NetworkPkg/Ip6Dxe/Ip6Common.c
null
null
null
null
null
source
edk2
/** @file Common definition and functions for IP6 driver. Copyright (c) 2009 - 2014, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #define IP6_LINK_EQUAL(Mac1, Mac2) (CompareMem ((Mac1), (Mac2), sizeof (EFI_MAC_ADDRESS)) == 0) // // Convert the Mi...
NetworkPkg/Ip6Dxe/Ip6Common.h
null
null
null
null
null
source
edk2
/** @file The implementation of EFI IPv6 Configuration Protocol. Copyright (c) 2009 - 2018, Intel Corporation. All rights reserved.<BR> Copyright (c) Microsoft Corporation.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "Ip6Impl.h" LIST_ENTRY mIp6ConfigInstanceList = { &mIp6ConfigInstanceLi...
NetworkPkg/Ip6Dxe/Ip6ConfigImpl.c
null
null
null
null
null
source
edk2
/** @file Definitions for EFI IPv6 Configuration Protocol implementation. Copyright (c) 2009 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #define IP6_CONFIG_INSTANCE_SIGNATURE SIGNATURE_32 ('I', 'P', '6', 'C') #define IP6_FORM_CALLBACK_...
NetworkPkg/Ip6Dxe/Ip6ConfigImpl.h
null
null
null
null
null
source
edk2
/** @file Helper functions for configuring or obtaining the parameters relating to IP6. Copyright (c) 2010 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "Ip6Impl.h" CHAR16 mIp6ConfigStorageName[] = L"IP6_CONFIG_IFR_NVDATA"; /** The notify fu...
NetworkPkg/Ip6Dxe/Ip6ConfigNv.c
null
null
null
null
null
source
edk2
/** @file The header file of Ip6ConfigNv.c. Copyright (c) 2010 - 2011, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include "Ip6NvData.h" #include "Ip6ConfigImpl.h" extern UINT8 Ip6ConfigBin[]; extern UINT8 Ip6DxeStrings[]; #define IP6_ETHERNE...
NetworkPkg/Ip6Dxe/Ip6ConfigNv.h
null
null
null
null
null
source
edk2
/** @file The driver binding and service binding protocol for IP6 driver. Copyright (c) 2009 - 2019, Intel Corporation. All rights reserved.<BR> (C) Copyright 2015 Hewlett-Packard Development Company, L.P.<BR> Copyright (c) Microsoft Corporation SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "Ip...
NetworkPkg/Ip6Dxe/Ip6Driver.c
null
null
null
null
null
source
edk2
/** @file The driver binding and service binding protocol for IP6 driver. Copyright (c) 2009 - 2016, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once extern EFI_DRIVER_BINDING_PROTOCOL gIp6DriverBinding; extern EFI_COMPONENT_NAME_PROTOCOL gIp6Compo...
NetworkPkg/Ip6Dxe/Ip6Driver.h
null
null
null
null
null
source
edk2
/** @file The ICMPv6 handle routines to process the ICMPv6 control messages. Copyright (c) 2009 - 2018, Intel Corporation. All rights reserved.<BR> (C) Copyright 2016 Hewlett Packard Enterprise Development LP<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "Ip6Impl.h" EFI_IP6_ICMP_TYPE mIp6S...
NetworkPkg/Ip6Dxe/Ip6Icmp.c
null
null
null
null
null
source
edk2
/** @file Header file for ICMPv6 protocol. Copyright (c) 2009 - 2010, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #define ICMP_V6_DEFAULT_CODE 0 #define ICMP_V6_ERROR_MAX 127 // // ICMPv6 message classes, each class of ICMPv6 message shares //...
NetworkPkg/Ip6Dxe/Ip6Icmp.h
null
null
null
null
null
source
edk2
/** @file Implement IP6 pseudo interface. Copyright (c) 2009 - 2018, Intel Corporation. All rights reserved.<BR> Copyright (c) Microsoft Corporation SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "Ip6Impl.h" /** Request Ip6OnFrameSentDpc as a DPC at TPL_CALLBACK. @param[in] Event ...
NetworkPkg/Ip6Dxe/Ip6If.c
null
null
null
null
null
source
edk2
/** @file Definition for IP6 pseudo interface structure. Copyright (c) 2009 - 2010, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #define IP6_LINK_RX_SIGNATURE SIGNATURE_32 ('I', 'P', '6', 'R') #define IP6_LINK_TX_SIGNATURE SIGNATURE_32 ('I', ...
NetworkPkg/Ip6Dxe/Ip6If.h
null
null
null
null
null
source
edk2
/** @file Implementation of EFI_IP6_PROTOCOL protocol interfaces. (C) Copyright 2014 Hewlett-Packard Development Company, L.P.<BR> Copyright (c) 2009 - 2016, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "Ip6Impl.h" EFI_IPSEC2_PROTOCOL *mIpSec = NULL...
NetworkPkg/Ip6Dxe/Ip6Impl.c
null
null
null
null
null
source
edk2
/** @file Implementation of EFI_IP6_PROTOCOL protocol interfaces and type definitions. Copyright (c) 2009 - 2016, Intel Corporation. All rights reserved.<BR> (C) Copyright 2015 Hewlett-Packard Development Company, L.P.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include <Uefi.h> #in...
NetworkPkg/Ip6Dxe/Ip6Impl.h
null
null
null
null
null
source
edk2
/** @file IP6 internal functions to process the incoming packets. Copyright (c) 2009 - 2018, Intel Corporation. All rights reserved.<BR> (C) Copyright 2015 Hewlett-Packard Development Company, L.P.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "Ip6Impl.h" /** Create an empty assemble entr...
NetworkPkg/Ip6Dxe/Ip6Input.c
null
null
null
null
null
source
edk2
/** @file IP6 internal functions and definitions to process the incoming packets. Copyright (c) 2009 - 2010, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #define IP6_MIN_HEADLEN 40 #define IP6_MAX_HEADLEN 120 /// /// 8(ESP header) + 16(max IV) + ...
NetworkPkg/Ip6Dxe/Ip6Input.h
null
null
null
null
null
source
edk2
/** @file Multicast Listener Discovery support routines. Copyright (c) 2009 - 2010, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "Ip6Impl.h" /** Create a IP6_MLD_GROUP list entry node and record to IP6 service binding data. @param[in, out] IpSb ...
NetworkPkg/Ip6Dxe/Ip6Mld.c
null
null
null
null
null
source
edk2
/** @file Multicast Listener Discovery support routines. Copyright (c) 2009 - 2010, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #define IP6_UNSOLICITED_REPORT_INTERVAL 10 #pragma pack(1) typedef struct { IP6_ICMP_HEAD Head; UINT16 ...
NetworkPkg/Ip6Dxe/Ip6Mld.h
null
null
null
null
null
source
edk2
/** @file Implementation of Neighbor Discovery support routines. Copyright (c) 2009 - 2018, Intel Corporation. All rights reserved.<BR> Copyright (c) Microsoft Corporation SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "Ip6Impl.h" EFI_MAC_ADDRESS mZeroMacAddress; /** Update the ReachableTime ...
NetworkPkg/Ip6Dxe/Ip6Nd.c
null
null
null
null
null
source
edk2
/** @file Definition of Neighbor Discovery support routines. Copyright (c) 2009 - 2012, Intel Corporation. All rights reserved.<BR> Copyright (c) Microsoft Corporation SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #define IP6_GET_TICKS(Ms) (((Ms) + IP6_TIMER_INTERVAL_IN_MS - 1) / IP6_TIMER_...
NetworkPkg/Ip6Dxe/Ip6Nd.h
null
null
null
null
null
source
edk2
/** @file NVData structure used by the IP6 configuration component. Copyright (c) 2010 - 2013, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include <Guid/Ip6ConfigHii.h> #define FORMID_MAIN_FORM 1 #define FORMID_MANUAL_CONFIG_FORM 2 #d...
NetworkPkg/Ip6Dxe/Ip6NvData.h
null
null
null
null
null
source
edk2
/** @file IP6 option support functions and routines. Copyright (c) 2009 - 2010, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "Ip6Impl.h" /** Validate the IP6 option format for both the packets we received and that we will transmit. It will compute ...
NetworkPkg/Ip6Dxe/Ip6Option.c
null
null
null
null
null
source
edk2
/** @file Definition of IP6 option process routines. Copyright (c) 2009 - 2010, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #define IP6_FRAGMENT_OFFSET_MASK (~0x3) // // For more information see RFC 8200, Section 4.3, 4.4, and 4.6 // // This ex...
NetworkPkg/Ip6Dxe/Ip6Option.h
null
null
null
null
null
source
edk2
/** @file The internal functions and routines to transmit the IP6 packet. Copyright (c) 2009 - 2015, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "Ip6Impl.h" UINT32 mIp6Id; /** Output all the available source addresses to a list entry head SourceLi...
NetworkPkg/Ip6Dxe/Ip6Output.c
null
null
null
null
null
source
edk2
/** @file The internal functions and routines to transmit the IP6 packet. Copyright (c) 2009 - 2010, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once extern UINT32 mIp6Id; /** Output all the available source addresses to the list entry head SourceL...
NetworkPkg/Ip6Dxe/Ip6Output.h
null
null
null
null
null
source
edk2
/** @file The functions and routines to handle the route caches and route table. Copyright (c) 2009 - 2016, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include "Ip6Impl.h" /** This is the worker function for IP6_ROUTE_CACHE_HASH(). It calculates the value ...
NetworkPkg/Ip6Dxe/Ip6Route.c
null
null
null
null
null
source
edk2
/** @file EFI IP6 route table and route cache table definitions. Copyright (c) 2009 - 2010, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #define IP6_DIRECT_ROUTE 0x00000001 #define IP6_PACKET_TOO_BIG 0x00000010 #define IP6_ROUTE_CACHE_HASH_SIZ...
NetworkPkg/Ip6Dxe/Ip6Route.h
null
null
null
null
null
source
edk2
/** @file Acts as the main entry point for the tests for the Ip6Dxe module. Copyright (c) Microsoft Corporation SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <Library/GoogleTestLib.h> //////////////////////////////////////////////////////////////////////////////// // Run the tests //////////////////...
NetworkPkg/Ip6Dxe/GoogleTest/Ip6DxeGoogleTest.cpp
null
null
null
null
null
source
edk2
/** @file Tests for Ip6Option.c. Copyright (c) Microsoft Corporation SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <Library/GoogleTestLib.h> extern "C" { #include <Uefi.h> #include <Library/BaseLib.h> #include <Library/DebugLib.h> #include "../Ip6Impl.h" #include "../Ip6Option.h" #includ...
NetworkPkg/Ip6Dxe/GoogleTest/Ip6OptionGoogleTest.cpp
null
null
null
null
null
source
edk2
/** @file Exposes the functions needed to test the Ip6Option module. Copyright (c) Microsoft Corporation SPDX-License-Identifier: BSD-2-Clause-Patent **/ #pragma once #include <Uefi.h> #include "../Ip6Impl.h" /** Validate the IP6 option format for both the packets we received and that we will transmit. It...
NetworkPkg/Ip6Dxe/GoogleTest/Ip6OptionGoogleTest.h
null
null
null
null
null
source
edk2
/** @file Help functions to access UDP service. Copyright (c) 2005 - 2018, Intel Corporation. All rights reserved.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <Uefi.h> #include <Library/DebugLib.h> #include <Library/UefiBootServicesTableLib.h> #include <Protocol/Dpc.h> // // Pointer to the DPC Pr...
NetworkPkg/Library/DxeDpcLib/DpcLib.c
null
null
null
null
null
source
edk2
/** @file Http IO Helper Library. (C) Copyright 2020 Hewlett-Packard Development Company, L.P.<BR> SPDX-License-Identifier: BSD-2-Clause-Patent **/ #include <Uefi.h> #include <Protocol/Http.h> #include <Library/BaseLib.h> #include <Library/BaseMemoryLib.h> #include <Library/DebugLib.h> #include <Library/HttpI...
NetworkPkg/Library/DxeHttpIoLib/DxeHttpIoLib.c
null
null
null
null
null