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
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 - 2019, Intel Corporation. All rights reserved.<BR>
(C) Copyright 2016 - 2020 Hewlett Packard Enterprise Development LP<BR>
SPDX-License-Identi... | NetworkPkg/Library/DxeHttpLib/DxeHttpLib.c | null | null | null | null | null |
source | edk2 | /** @file
Header file for HttpLib.
Copyright (c) 2016 - 2017, Intel Corporation. All rights reserved.<BR>
(C) Copyright 2016 Hewlett Packard Enterprise Development LP<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#pragma once
#include <Uefi.h>
#include <Library/NetLib.h>
#include <Library/HttpLib.h>
#... | NetworkPkg/Library/DxeHttpLib/DxeHttpLib.h | null | null | null | null | null |
source | edk2 | /** @file
IpIo Library.
(C) Copyright 2014 Hewlett-Packard Development Company, L.P.<BR>
Copyright (c) 2005 - 2018, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include <Uefi.h>
#include <Protocol/Udp4.h>
#include <Library/IpIoLib.h>
#include <Library/BaseLib.h>
#i... | NetworkPkg/Library/DxeIpIoLib/DxeIpIoLib.c | null | null | null | null | null |
source | edk2 | /** @file
Network library.
Copyright (c) 2005 - 2018, Intel Corporation. All rights reserved.<BR>
(C) Copyright 2015 Hewlett Packard Enterprise Development LP<BR>
Copyright (c) Microsoft Corporation
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include <Uefi.h>
#include <IndustryStandard/SmBios.h>
#include <P... | NetworkPkg/Library/DxeNetLib/DxeNetLib.c | null | null | null | null | null |
source | edk2 | /** @file
Network library functions providing net buffer operation support.
Copyright (c) 2005 - 2018, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include <Uefi.h>
#include <Library/NetLib.h>
#include <Library/BaseLib.h>
#include <Library/DebugLib.h>
#include <Libr... | NetworkPkg/Library/DxeNetLib/NetBuffer.c | 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
**/
#include <Uefi.h>
#include <Library/TcpIoLib.h>
#include... | NetworkPkg/Library/DxeTcpIoLib/DxeTcpIoLib.c | null | null | null | null | null |
source | edk2 | /** @file
Help functions to access UDP service, it is used by both the DHCP and MTFTP.
Copyright (c) 2005 - 2018, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include <Uefi.h>
#include <Protocol/Udp4.h>
#include <Protocol/Udp6.h>
#include <Library/UdpIoLib.h>
#incl... | NetworkPkg/Library/DxeUdpIoLib/DxeUdpIoLib.c | null | null | null | null | null |
source | edk2 | /** @file
UEFI Component Name(2) protocol implementation for MnpDxe driver.
Copyright (c) 2005 - 2018, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include "MnpImpl.h"
//
// EFI Component Name Protocol
//
GLOBAL_REMOVE_IF_UNREFERENCED EFI_COMPONENT_NAME_PROTOCOL ... | NetworkPkg/MnpDxe/ComponentName.c | null | null | null | null | null |
source | edk2 | /** @file
The header file of UEFI Component Name(2) protocol.
Copyright (c) 2004 - 2012, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#pragma once
#include <Protocol/ComponentName.h>
#include <Protocol/ComponentName2.h>
extern EFI_COMPONENT_NAME2_PROTOCOL gMnpComp... | NetworkPkg/MnpDxe/ComponentName.h | null | null | null | null | null |
source | edk2 | /** @file
Implementation of Managed Network Protocol private services.
Copyright (c) 2005 - 2018, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include "MnpImpl.h"
#include "MnpVlan.h"
EFI_SERVICE_BINDING_PROTOCOL mMnpServiceBindingProtocol = {
MnpServiceBindingC... | NetworkPkg/MnpDxe/MnpConfig.c | null | null | null | null | null |
source | edk2 | /** @file
Implementation of driver entry point and driver binding protocol.
Copyright (c) 2005 - 2018, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include "MnpDriver.h"
#include "MnpImpl.h"
#include "MnpVlan.h"
EFI_DRIVER_BINDING_PROTOCOL gMnpDriverBinding = {
... | NetworkPkg/MnpDxe/MnpDriver.c | null | null | null | null | null |
source | edk2 | /** @file
Declaration of structures and functions for MnpDxe driver.
Copyright (c) 2005 - 2016, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#pragma once
#include <Uefi.h>
#include <Protocol/ManagedNetwork.h>
#include <Protocol/SimpleNetwork.h>
#include <Protocol/S... | NetworkPkg/MnpDxe/MnpDriver.h | null | null | null | null | null |
source | edk2 | /** @file
Declaration of structures and functions of MnpDxe driver.
Copyright (c) 2005 - 2018, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#pragma once
#include "MnpDriver.h"
#define NET_ETHER_FCS_SIZE 4
#define MNP_SYS_POLL_INTERVAL (10 * TICKS_PER_MS) ... | NetworkPkg/MnpDxe/MnpImpl.h | null | null | null | null | null |
source | edk2 | /** @file
Implementation of Managed Network Protocol I/O functions.
Copyright (c) 2005 - 2018, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include "MnpImpl.h"
#include "MnpVlan.h"
/**
Validates the Mnp transmit token.
@param[in] Instance Pointer t... | NetworkPkg/MnpDxe/MnpIo.c | null | null | null | null | null |
source | edk2 | /** @file
Implementation of Managed Network Protocol public services.
Copyright (c) 2005 - 2016, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include "MnpImpl.h"
/**
Returns the operational parameters for the current MNP child driver. May also
support returning... | NetworkPkg/MnpDxe/MnpMain.c | null | null | null | null | null |
source | edk2 | /** @file
VLAN Config Protocol implementation and VLAN packet process routine.
Copyright (c) 2009 - 2018, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include "MnpImpl.h"
#include "MnpVlan.h"
VLAN_DEVICE_PATH mVlanDevicePathTemplate = {
{
MESSAGING_DEVICE_PA... | NetworkPkg/MnpDxe/MnpVlan.c | null | null | null | null | null |
source | edk2 | /** @file
Header file to be included by MnpVlan.c.
Copyright (c) 2009 - 2013, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#pragma once
#include "MnpDriver.h"
extern EFI_VLAN_CONFIG_PROTOCOL mVlanConfigProtocolTemplate;
/**
Create a child handle for the VLAN ID... | NetworkPkg/MnpDxe/MnpVlan.h | null | null | null | null | null |
source | edk2 | /** @file
UEFI Component Name(2) protocol implementation for Mtftp4Dxe driver.
Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include "Mtftp4Impl.h"
//
// EFI Component Name Functions
//
/**
Retrieves a Unicode string that is the user re... | NetworkPkg/Mtftp4Dxe/ComponentName.c | null | null | null | null | null |
source | edk2 | /** @file
Implementation of Mtftp drivers.
Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include "Mtftp4Impl.h"
EFI_DRIVER_BINDING_PROTOCOL gMtftp4DriverBinding = {
Mtftp4DriverBindingSupported,
Mtftp4DriverBindingStart,
Mtftp4Drive... | NetworkPkg/Mtftp4Dxe/Mtftp4Driver.c | null | null | null | null | null |
source | edk2 | /** @file
Mtftp drivers function header.
Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#pragma once
#include <Uefi.h>
#include <Protocol/ServiceBinding.h>
#include <Library/NetLib.h>
#include <Library/UefiLib.h>
#include <Library/UefiDriv... | NetworkPkg/Mtftp4Dxe/Mtftp4Driver.h | null | null | null | null | null |
source | edk2 | /** @file
Interface routine for Mtftp4.
(C) Copyright 2014 Hewlett-Packard Development Company, L.P.<BR>
Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include "Mtftp4Impl.h"
/**
Clean up the MTFTP session to get ready for new operation.
... | NetworkPkg/Mtftp4Dxe/Mtftp4Impl.c | null | null | null | null | null |
source | edk2 | /** @file
Mtftp4 Implementation.
Mtftp4 Implementation, it supports the following RFCs:
RFC1350 - THE TFTP PROTOCOL (REVISION 2)
RFC2090 - TFTP Multicast Option
RFC2347 - TFTP Option Extension
RFC2348 - TFTP Blocksize Option
RFC2349 - TFTP Timeout Interval and Transfer Size Options
RFC7440 - TFTP Wind... | NetworkPkg/Mtftp4Dxe/Mtftp4Impl.h | null | null | null | null | null |
source | edk2 | /** @file
Routines to process MTFTP4 options.
Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include "Mtftp4Impl.h"
CHAR8 *mMtftp4SupportedOptions[MTFTP4_SUPPORTED_OPTIONS] = {
"blksize",
"windowsize",
"timeout",
"tsize",
"multic... | NetworkPkg/Mtftp4Dxe/Mtftp4Option.c | null | null | null | null | null |
source | edk2 | /** @file
Routines to process MTFTP4 options.
Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#pragma once
#define MTFTP4_SUPPORTED_OPTIONS 5
#define MTFTP4_OPCODE_LEN 2
#define MTFTP4_ERRCODE_LEN 2
#define MTFTP4_BLKNO_LEN ... | NetworkPkg/Mtftp4Dxe/Mtftp4Option.h | null | null | null | null | null |
source | edk2 | /** @file
Routines to process Rrq (download).
(C) Copyright 2014 Hewlett-Packard Development Company, L.P.<BR>
Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include "Mtftp4Impl.h"
/**
The packet process callback for MTFTP download.
@p... | NetworkPkg/Mtftp4Dxe/Mtftp4Rrq.c | null | null | null | null | null |
source | edk2 | /** @file
Support routines for Mtftp.
Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include "Mtftp4Impl.h"
/**
Allocate a MTFTP4 block range, then init it to the range of [Start, End]
@param Start The start block numb... | NetworkPkg/Mtftp4Dxe/Mtftp4Support.c | null | null | null | null | null |
source | edk2 | /** @file
Support routines for MTFTP.
Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#pragma once
//
// The structure representing a range of block numbers, [Start, End].
// It is used to remember the holes in the MTFTP block space. If all
/... | NetworkPkg/Mtftp4Dxe/Mtftp4Support.h | null | null | null | null | null |
source | edk2 | /** @file
Routines to process Wrq (upload).
Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include "Mtftp4Impl.h"
/**
Build then send a MTFTP data packet for the MTFTP upload session.
@param Instance The MTFTP upload sess... | NetworkPkg/Mtftp4Dxe/Mtftp4Wrq.c | null | null | null | null | null |
source | edk2 | /** @file
UEFI Component Name(2) protocol implementation for Mtftp6 driver.
Copyright (c) 2009 - 2018, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include "Mtftp6Impl.h"
/**
Retrieves a Unicode string that is the user-readable name of the driver.
This fu... | NetworkPkg/Mtftp6Dxe/ComponentName.c | null | null | null | null | null |
source | edk2 | /** @file
Driver Binding functions and Service Binding functions
implementation for Mtftp6 Driver.
Copyright (c) 2009 - 2018, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include "Mtftp6Impl.h"
EFI_DRIVER_BINDING_PROTOCOL gMtftp6DriverBinding = {
Mtftp6Dr... | NetworkPkg/Mtftp6Dxe/Mtftp6Driver.c | null | null | null | null | null |
source | edk2 | /** @file
Driver Binding functions and Service Binding functions
declaration for Mtftp6 Driver.
Copyright (c) 2009 - 2012, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#pragma once
#include <Protocol/ServiceBinding.h>
extern EFI_COMPONENT_NAME_PROTOCOL gMt... | NetworkPkg/Mtftp6Dxe/Mtftp6Driver.h | null | null | null | null | null |
source | edk2 | /** @file
This EFI_MTFTP6_PROTOCOL interface implementation.
It supports the following RFCs:
RFC1350 - THE TFTP PROTOCOL (REVISION 2)
RFC2090 - TFTP Multicast Option
RFC2347 - TFTP Option Extension
RFC2348 - TFTP Blocksize Option
RFC2349 - TFTP Timeout Interval and Transfer Size Options
Copyright... | NetworkPkg/Mtftp6Dxe/Mtftp6Impl.c | null | null | null | null | null |
source | edk2 | /** @file
Mtftp6 internal data structure and definition declaration.
Copyright (c) 2009 - 2018, Intel Corporation. All rights reserved. <BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#pragma once
#include <Uefi.h>
#include <Protocol/Udp6.h>
#include <Protocol/Mtftp6.h>
#include <Protocol/ServiceBindi... | NetworkPkg/Mtftp6Dxe/Mtftp6Impl.h | null | null | null | null | null |
source | edk2 | /** @file
Mtftp6 option parse functions implementation.
Copyright (c) 2009 - 2018, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include "Mtftp6Impl.h"
CHAR8 *mMtftp6SupportedOptions[MTFTP6_SUPPORTED_OPTIONS_NUM] = {
"blksize",
"windowsize",
"timeout",
... | NetworkPkg/Mtftp6Dxe/Mtftp6Option.c | null | null | null | null | null |
source | edk2 | /** @file
Mtftp6 option parse functions declaration.
Copyright (c) 2009 - 2018, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#pragma once
#include <Uefi.h>
#include <Protocol/ServiceBinding.h>
#include <Library/NetLib.h>
#include <Library/UdpIoLib.h>
#include... | NetworkPkg/Mtftp6Dxe/Mtftp6Option.h | null | null | null | null | null |
source | edk2 | /** @file
Mtftp6 Rrq process functions implementation.
Copyright (c) 2009 - 2018, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include "Mtftp6Impl.h"
/**
Build and send a ACK packet for download.
@param[in] Instance The pointer to the Mtftp6... | NetworkPkg/Mtftp6Dxe/Mtftp6Rrq.c | null | null | null | null | null |
source | edk2 | /** @file
Mtftp6 support functions implementation.
Copyright (c) 2009 - 2018, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include "Mtftp6Impl.h"
/**
Allocate a MTFTP block range, then init it to the range of [Start, End].
@param[in] Start ... | NetworkPkg/Mtftp6Dxe/Mtftp6Support.c | null | null | null | null | null |
source | edk2 | /** @file
Mtftp6 support functions declaration.
Copyright (c) 2009 - 2018, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#pragma once
//
// The structure representing a range of block numbers, [Start, End].
// It is used to remember the holes in the MTFTP block ... | NetworkPkg/Mtftp6Dxe/Mtftp6Support.h | null | null | null | null | null |
source | edk2 | /** @file
Mtftp6 Wrq process functions implementation.
Copyright (c) 2009 - 2014, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include "Mtftp6Impl.h"
/**
Build and send a Mtftp6 data packet for upload.
@param[in] Instance The pointer to the ... | NetworkPkg/Mtftp6Dxe/Mtftp6Wrq.c | null | null | null | null | null |
source | edk2 | /** @file
This file contains the callback routines for undi3.1.
the callback routines for Undi3.1 have an extra parameter UniqueId which
stores the interface context for the NIC that snp is trying to talk.
Copyright (c) 2006 - 2014, Intel Corporation. All rights reserved.<BR>
Copyright (c) Microsoft Corporation.... | NetworkPkg/SnpDxe/Callback.c | null | null | null | null | null |
source | edk2 | /** @file
UEFI Component Name(2) protocol implementation for SnpDxe driver.
Copyright (c) 2004 - 2018, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include "Snp.h"
//
// EFI Component Name Functions
//
/**
Retrieves a Unicode string that is the user readable n... | NetworkPkg/SnpDxe/ComponentName.c | null | null | null | null | null |
source | edk2 | /** @file
Implementation of reading the current interrupt status and recycled transmit
buffer status from a network interface.
Copyright (c) 2004 - 2016, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include "Snp.h"
/**
Call undi to get the status of the interru... | NetworkPkg/SnpDxe/Get_status.c | null | null | null | null | null |
source | edk2 | /** @file
Implementation of initializing a network adapter.
Copyright (c) 2004 - 2018, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include "Snp.h"
/**
Call UNDI to initialize the interface.
@param Snp Pointer to snp driver structure.
@... | NetworkPkg/SnpDxe/Initialize.c | null | null | null | null | null |
source | edk2 | /** @file
Implementation of converting an multicast IP address to multicast HW MAC
address.
Copyright (c) 2004 - 2018, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include "Snp.h"
/**
Call undi to convert an multicast IP address to a MAC address.
@para... | NetworkPkg/SnpDxe/Mcast_ip_to_mac.c | null | null | null | null | null |
source | edk2 | /** @file
Implementation of reading and writing operations on the NVRAM device
attached to a network interface.
Copyright (c) 2004 - 2018, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include "Snp.h"
/**
This routine calls Undi to read the desired number of e... | NetworkPkg/SnpDxe/Nvdata.c | null | null | null | null | null |
source | edk2 | /** @file
Implementation of receiving a packet from a network interface.
Copyright (c) 2004 - 2010, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include "Snp.h"
/**
Call UNDI to receive a packet and fills in the data in the input pointers.
@param Snp ... | NetworkPkg/SnpDxe/Receive.c | null | null | null | null | null |
source | edk2 | /** @file
Implementation of managing the multicast receive filters of a network
interface.
Copyright (c) 2004 - 2018, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include "Snp.h"
/**
Call undi to enable the receive filters.
@param Snp Poi... | NetworkPkg/SnpDxe/Receive_filters.c | null | null | null | null | null |
source | edk2 | /** @file
Implementation of resetting a network adapter.
Copyright (c) 2004 - 2018, Intel Corporation. All rights reserved.<BR>
SPDX-FileCopyrightText: Copyright (c) 2024 NVIDIA CORPORATION & AFFILIATES. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include "Snp.h"
/**
Call UNDI to re... | NetworkPkg/SnpDxe/Reset.c | null | null | null | null | null |
source | edk2 | /** @file
Implementation of shutting down a network adapter.
Copyright (c) 2004 - 2018, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include "Snp.h"
/**
Call UNDI to shut down the interface.
@param Snp Pointer to snp driver structure.
@retval EFI_SUCCE... | NetworkPkg/SnpDxe/Shutdown.c | null | null | null | null | null |
source | edk2 | /** @file
Implementation of driver entry point and driver binding protocol.
Copyright (c) 2004 - 2019, Intel Corporation. All rights reserved.<BR>
Copyright (c) Microsoft Corporation.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include "Snp.h"
/**
One notified function to stop UNDI device when gBS->Ex... | NetworkPkg/SnpDxe/Snp.c | null | null | null | null | null |
source | edk2 | /** @file
Declaration of structures and functions for SnpDxe driver.
Copyright (c) 2004 - 2019, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#pragma once
#include <Uefi.h>
#include <Protocol/SimpleNetwork.h>
#include <Protocol/PciIo.h>
#include <Protocol/NetworkI... | NetworkPkg/SnpDxe/Snp.h | null | null | null | null | null |
source | edk2 | /** @file
Implementation of starting a network adapter.
Copyright (c) 2004 - 2018, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include "Snp.h"
/**
Call UNDI to start the interface and changes the snp state.
@param Snp pointer to snp driv... | NetworkPkg/SnpDxe/Start.c | null | null | null | null | null |
source | edk2 | /** @file
Implementation of reading the MAC address of a network adapter.
Copyright (c) 2004 - 2018, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include "Snp.h"
/**
Call UNDI to read the MAC address of the NIC and update the mode structure
with the address.
... | NetworkPkg/SnpDxe/Station_address.c | null | null | null | null | null |
source | edk2 | /** @file
Implementation of collecting the statistics on a network interface.
Copyright (c) 2004 - 2010, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include "Snp.h"
/**
Resets or collects the statistics on a network interface.
This function resets or collec... | NetworkPkg/SnpDxe/Statistics.c | null | null | null | null | null |
source | edk2 | /** @file
Implementation of stopping a network interface.
Copyright (c) 2004 - 2018, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include "Snp.h"
/**
Call UNDI to stop the interface and changes the snp state.
@param Snp Pointer to snp driver structure
... | NetworkPkg/SnpDxe/Stop.c | null | null | null | null | null |
source | edk2 | /** @file
Implementation of transmitting a packet.
Copyright (c) 2004 - 2018, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include "Snp.h"
/**
Call UNDI to create the meadia header for the given data buffer.
@param Snp Pointer to SNP driver str... | NetworkPkg/SnpDxe/Transmit.c | null | null | null | null | null |
source | edk2 | /** @file
Event handler to check for available packet.
Copyright (c) 2004 - 2018, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include "Snp.h"
/**
Notification call back function for WaitForPacket event.
@param Event EFI Event.
@param SnpPtr P... | NetworkPkg/SnpDxe/WaitForPacket.c | null | null | null | null | null |
source | edk2 | /** @file
Implementation of protocols EFI_COMPONENT_NAME_PROTOCOL and
EFI_COMPONENT_NAME2_PROTOCOL.
Copyright (c) 2009 - 2018, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include "TcpMain.h"
//
// EFI Component Name Functions
//
/**
Retrieves a Unicode s... | NetworkPkg/TcpDxe/ComponentName.c | null | null | null | null | null |
source | edk2 | /** @file
Implementation of the Socket.
Copyright (c) 2009 - 2018, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include "SockImpl.h"
/**
Get the first buffer block in the specific socket buffer.
@param[in] Sockbuf Pointer to the socket buff... | NetworkPkg/TcpDxe/SockImpl.c | null | null | null | null | null |
source | edk2 | /** @file
The function declaration that provided for Socket Interface.
Copyright (c) 2009 - 2018, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#pragma once
#include "Socket.h"
#include "TcpMain.h"
/**
Signal a event with the given status.
@param[in] Token... | NetworkPkg/TcpDxe/SockImpl.h | null | null | null | null | null |
source | edk2 | /** @file
Interface function of the Socket.
Copyright (c) 2009 - 2018, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include "SockImpl.h"
/**
Check whether the Event is in the List.
@param[in] List Pointer to the token list to be searched.
@... | NetworkPkg/TcpDxe/SockInterface.c | null | null | null | null | null |
source | edk2 | /** @file
Common head file for TCP socket.
Copyright (c) 2009 - 2017, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#pragma once
#include <Uefi.h>
#include <Protocol/Tcp4.h>
#include <Protocol/Tcp6.h>
#include <Library/NetLib.h>
#include <Library/DebugLib.h>
#... | NetworkPkg/TcpDxe/Socket.h | null | null | null | null | null |
source | edk2 | /** @file
The implementation of a dispatch routine for processing TCP requests.
(C) Copyright 2014 Hewlett-Packard Development Company, L.P.<BR>
Copyright (c) 2009 - 2018, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include "TcpMain.h"
/**
Add or remove a... | NetworkPkg/TcpDxe/TcpDispatcher.c | null | null | null | null | null |
source | edk2 | /** @file
The driver binding and service binding protocol for the TCP driver.
Copyright (c) 2009 - 2018, Intel Corporation. All rights reserved.<BR>
Copyright (c) Microsoft Corporation
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include "TcpMain.h"
UINT16 mTcp4RandomPort;
UINT16 mTcp6RandomPort;
TC... | NetworkPkg/TcpDxe/TcpDriver.c | null | null | null | null | null |
source | edk2 | /** @file
The prototype of driver binding and service binding protocol for TCP driver.
Copyright (c) 2009 - 2016, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#pragma once
#define TCP_DRIVER_SIGNATURE SIGNATURE_32 ('T', 'C', 'P', 'D')
#define TCP_PORT_KNOWN ... | NetworkPkg/TcpDxe/TcpDriver.h | null | null | null | null | null |
source | edk2 | /** @file
Declaration of external functions shared in TCP driver.
Copyright (c) 2009 - 2014, Intel Corporation. All rights reserved.<BR>
Copyright (c) Microsoft Corporation
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#pragma once
#include "TcpOption.h"
#define TCP_COMP_VAL(Min, Max, Default, Val) \
... | NetworkPkg/TcpDxe/TcpFunc.h | null | null | null | null | null |
source | edk2 | /** @file
TCP input process routines.
Copyright (c) 2009 - 2018, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include "TcpMain.h"
/**
Check whether the sequence number of the incoming segment is acceptable.
@param[in] Tcb Pointer to the TCP_CB of this TC... | NetworkPkg/TcpDxe/TcpInput.c | null | null | null | null | null |
source | edk2 | /** @file
Implementation of I/O interfaces between TCP and IpIoLib.
Copyright (c) 2009 - 2012, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include "TcpMain.h"
/**
Packet receive callback function provided to IP_IO, used to call
the proper function to hand... | NetworkPkg/TcpDxe/TcpIo.c | null | null | null | null | null |
source | edk2 | /** @file
Implementation of EFI_TCP4_PROTOCOL and EFI_TCP6_PROTOCOL.
(C) Copyright 2014 Hewlett-Packard Development Company, L.P.<BR>
Copyright (c) 2009 - 2018, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include "TcpMain.h"
/**
Check the integrity of the... | NetworkPkg/TcpDxe/TcpMain.c | null | null | null | null | null |
source | edk2 | /** @file
Declaration of protocol interfaces in EFI_TCP4_PROTOCOL and EFI_TCP6_PROTOCOL.
It is the common head file for all Tcp*.c in TCP driver.
Copyright (c) 2009 - 2016, Intel Corporation. All rights reserved.<BR>
Copyright (c) Microsoft Corporation
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#prag... | NetworkPkg/TcpDxe/TcpMain.h | null | null | null | null | null |
source | edk2 | /** @file
Misc support routines for TCP driver.
(C) Copyright 2014 Hewlett-Packard Development Company, L.P.<BR>
Copyright (c) 2009 - 2017, Intel Corporation. All rights reserved.<BR>
Copyright (c) Microsoft Corporation
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include "TcpMain.h"
LIST_ENTRY mTcp... | NetworkPkg/TcpDxe/TcpMisc.c | null | null | null | null | null |
source | edk2 | /** @file
Routines to process TCP option.
Copyright (c) 2009 - 2018, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include "TcpMain.h"
/**
Get a UINT16 value from buffer.
@param[in] Buf Pointer to input buffer.
@return T... | NetworkPkg/TcpDxe/TcpOption.c | null | null | null | null | null |
source | edk2 | /** @file
Tcp option's routine header file.
Copyright (c) 2009 - 2018, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#pragma once
//
// Supported TCP option types and their length.
//
#define TCP_OPTION_EOP 0 ///< End Of oPtion
#define TCP_OPTION_NO... | NetworkPkg/TcpDxe/TcpOption.h | null | null | null | null | null |
source | edk2 | /** @file
TCP output process routines.
Copyright (c) 2009 - 2018, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include "TcpMain.h"
UINT8 mTcpOutFlag[] = {
0, // TCP_CLOSED
0, // TCP_LISTEN
TCP_FLG_SYN, ... | NetworkPkg/TcpDxe/TcpOutput.c | null | null | null | null | null |
source | edk2 | /** @file
TCP protocol header file.
Copyright (c) 2009 - 2017, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#pragma once
///
/// Tcp states don't change their order. It is used as an
/// index to mTcpOutFlag and other macros.
///
#define TCP_CLOSED 0
#def... | NetworkPkg/TcpDxe/TcpProto.h | null | null | null | null | null |
source | edk2 | /** @file
TCP timer related functions.
Copyright (c) 2009 - 2010, Intel Corporation. All rights reserved.<BR>
Copyright (c) Microsoft Corporation
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include "TcpMain.h"
UINT32 mTcpTick = 1000;
/**
Connect timeout handler.
@param[in, out] Tcb Pointe... | NetworkPkg/TcpDxe/TcpTimer.c | null | null | null | null | null |
source | edk2 | /** @file
The DriverEntryPoint for TlsAuthConfigDxe driver.
Copyright (c) 2016 - 2018, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include "TlsAuthConfigImpl.h"
/**
Unloads an image.
@param ImageHandle Handle that identifies the image to be un... | NetworkPkg/TlsAuthConfigDxe/TlsAuthConfigDxe.c | null | null | null | null | null |
source | edk2 | /** @file
The Miscellaneous Routines for TlsAuthConfigDxe driver.
Copyright (c) 2016 - 2018, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include "TlsAuthConfigImpl.h"
VOID *mStartOpCodeHandle = NULL;
VOID *mEndOpCodeHandle = NULL;
... | NetworkPkg/TlsAuthConfigDxe/TlsAuthConfigImpl.c | null | null | null | null | null |
source | edk2 | /** @file
Header file of Miscellaneous Routines for TlsAuthConfigDxe driver.
Copyright (c) 2016, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#pragma once
#include <Uefi.h>
#include <Protocol/HiiConfigAccess.h>
#include <Protocol/SimpleFileSystem.h>
#include <Prot... | NetworkPkg/TlsAuthConfigDxe/TlsAuthConfigImpl.h | null | null | null | null | null |
source | edk2 | /** @file
Header file for NV data structure definition.
Copyright (c) 2016, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#pragma once
#include <Guid/TlsAuthConfigHii.h>
#define TLS_AUTH_CONFIG_GUID_SIZE 36
#define TLS_AUTH_CONFIG_GUID_STORAGE_SIZE 37
#de... | NetworkPkg/TlsAuthConfigDxe/TlsAuthConfigNvData.h | null | null | null | null | null |
source | edk2 | /** @file
Implementation of EFI TLS Configuration Protocol Interfaces.
Copyright (c) 2016, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include "TlsImpl.h"
EFI_TLS_CONFIGURATION_PROTOCOL mTlsConfigurationProtocol = {
TlsConfigurationSetData,
TlsConfigurat... | NetworkPkg/TlsDxe/TlsConfigProtocol.c | null | null | null | null | null |
source | edk2 | /** @file
The Driver Binding and Service Binding Protocol for TlsDxe driver.
Copyright (c) 2016, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include "TlsImpl.h"
EFI_SERVICE_BINDING_PROTOCOL mTlsServiceBinding = {
TlsServiceBindingCreateChild,
TlsServiceB... | NetworkPkg/TlsDxe/TlsDriver.c | null | null | null | null | null |
source | edk2 | /** @file
Header file of the Driver Binding and Service Binding Protocol for TlsDxe driver.
Copyright (c) 2016, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#pragma once
#include <Uefi.h>
//
// Driver Protocols
//
#include <Protocol/ServiceBinding.h>
//
// Dr... | NetworkPkg/TlsDxe/TlsDriver.h | null | null | null | null | null |
source | edk2 | /** @file
The Miscellaneous Routines for TlsDxe driver.
Copyright (c) 2016 - 2018, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include "TlsImpl.h"
/**
Encrypt the message listed in fragment.
@param[in] TlsInstance The pointer to the TLS instance.
... | NetworkPkg/TlsDxe/TlsImpl.c | null | null | null | null | null |
source | edk2 | /** @file
Header file of Miscellaneous Routines for TlsDxe driver.
Copyright (c) 2016 - 2018, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#pragma once
//
// Libraries
//
#include <Library/UefiBootServicesTableLib.h>
#include <Library/MemoryAllocationLib.h>
#includ... | NetworkPkg/TlsDxe/TlsImpl.h | null | null | null | null | null |
source | edk2 | /** @file
Implementation of EFI TLS Protocol Interfaces.
Copyright (c) 2016 - 2018, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include "TlsImpl.h"
EFI_TLS_PROTOCOL mTlsProtocol = {
TlsSetSessionData,
TlsGetSessionData,
TlsBuildResponsePacket,
TlsPro... | NetworkPkg/TlsDxe/TlsProtocol.c | null | null | null | null | null |
source | edk2 | /** @file
Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include "Udp4Impl.h"
//
// EFI Component Name Functions
//
/**
Retrieves a Unicode string that is the user readable name of the driver.
This function retrieves the user readable n... | NetworkPkg/Udp4Dxe/ComponentName.c | null | null | null | null | null |
source | edk2 | /** @file
Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>
Copyright (c) Microsoft Corporation
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include "Udp4Impl.h"
EFI_DRIVER_BINDING_PROTOCOL gUdp4DriverBinding = {
Udp4DriverBindingSupported,
Udp4DriverBindingStart,
Udp4DriverBindingS... | NetworkPkg/Udp4Dxe/Udp4Driver.c | null | null | null | null | null |
source | edk2 | /** @file
Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#pragma once
#include <Uefi.h>
#include <Library/BaseLib.h>
#include <Library/NetLib.h>
#include <Protocol/DriverBinding.h>
#include <Protocol/ServiceBinding.h>
/**
Test to see if thi... | NetworkPkg/Udp4Dxe/Udp4Driver.h | null | null | null | null | null |
source | edk2 | /** @file
The implementation of the Udp4 protocol.
Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include "Udp4Impl.h"
UINT16 mUdp4RandomPort;
/**
This function checks and timeouts the I/O datagrams holding by the corresponding
servic... | NetworkPkg/Udp4Dxe/Udp4Impl.c | null | null | null | null | null |
source | edk2 | /** @file
EFI UDPv4 protocol implementation.
Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#pragma once
#include <Uefi.h>
#include <Protocol/Ip4.h>
#include <Protocol/Udp4.h>
#include <Library/IpIoLib.h>
#include <Library/DebugLib.h>
#inc... | NetworkPkg/Udp4Dxe/Udp4Impl.h | null | null | null | null | null |
source | edk2 | /** @file
(C) Copyright 2014 Hewlett-Packard Development Company, L.P.<BR>
Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include "Udp4Impl.h"
EFI_UDP4_PROTOCOL mUdp4Protocol = {
Udp4GetModeData,
Udp4Configure,
Udp4Groups,
Udp4Routes... | NetworkPkg/Udp4Dxe/Udp4Main.c | null | null | null | null | null |
source | edk2 | /** @file
UEFI Component Name(2) protocol implementation for UDP6 driver.
Copyright (c) 2009 - 2018, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include "Udp6Impl.h"
//
// EFI Component Name Functions
//
/**
Retrieves a Unicode string that is the user-read... | NetworkPkg/Udp6Dxe/ComponentName.c | null | null | null | null | null |
source | edk2 | /** @file
Driver Binding functions and Service Binding functions for the Network driver module.
Copyright (c) 2009 - 2018, Intel Corporation. All rights reserved.<BR>
Copyright (c) Microsoft Corporation
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include "Udp6Impl.h"
EFI_DRIVER_BINDING_PROTOCOL gUdp6... | NetworkPkg/Udp6Dxe/Udp6Driver.c | null | null | null | null | null |
source | edk2 | /** @file
Driver Binding functions and Service Binding functions for the Network driver module.
Copyright (c) 2009 - 2016, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#pragma once
#include <Protocol/DriverBinding.h>
#include <Protocol/ServiceBinding.h>
#includ... | NetworkPkg/Udp6Dxe/Udp6Driver.h | null | null | null | null | null |
source | edk2 | /** @file
Udp6 driver's whole implementation.
Copyright (c) 2009 - 2018, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include "Udp6Impl.h"
UINT16 mUdp6RandomPort;
/**
This function checks and timeouts the I/O datagrams holding by the corresponding
servic... | NetworkPkg/Udp6Dxe/Udp6Impl.c | null | null | null | null | null |
source | edk2 | /** @file
Udp6 driver's whole implementation and internal data structures.
Copyright (c) 2009 - 2018, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#pragma once
#include <Uefi.h>
#include <Protocol/Ip6.h>
#include <Protocol/Udp6.h>
#include <Library/IpIoLib.h>... | NetworkPkg/Udp6Dxe/Udp6Impl.h | null | null | null | null | null |
source | edk2 | /** @file
Contains all EFI_UDP6_PROTOCOL interfaces.
Copyright (c) 2009 - 2018, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include "Udp6Impl.h"
EFI_UDP6_PROTOCOL mUdp6Protocol = {
Udp6GetModeData,
Udp6Configure,
Udp6Groups,
Udp6Transmit,
Udp6Recei... | NetworkPkg/Udp6Dxe/Udp6Main.c | null | null | null | null | null |
source | edk2 | /** @file
UEFI Component Name(2) protocol implementation for UefiPxeBc driver.
Copyright (c) 2009 - 2018, Intel Corporation. All rights reserved.<BR>
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#include "PxeBcImpl.h"
/**
Retrieves a Unicode string that is the user-readable name of the driver.
This ... | NetworkPkg/UefiPxeBcDxe/ComponentName.c | null | null | null | null | null |
source | edk2 | /** @file
Boot functions implementation for UefiPxeBc Driver.
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 "PxeBcImpl.h"
/**
Display the string of the boot ... | NetworkPkg/UefiPxeBcDxe/PxeBcBoot.c | null | null | null | null | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.