From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-x22f.google.com (mail-wm0-x22f.google.com [IPv6:2a00:1450:400c:c09::22f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id E59E281CDC for ; Fri, 4 Nov 2016 11:27:46 -0700 (PDT) Received: by mail-wm0-x22f.google.com with SMTP id u144so13453822wmu.1 for ; Fri, 04 Nov 2016 11:27:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=semihalf-com.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id; bh=H6UX3x/Xf6L6lTEdqqpUPddmBDHhBi0F8kzr+1+G+rI=; b=YzuTP14Dh0byQPJ988zacWV27JLVCu7OjrmH0xCVFtfuu8ADxvligZZMJxMNbzQBrb sUj6ZzBLmdjyRwrLZ3uGLeLdc3q132xPQeS0r4jfuM6ir4gPJNu9VUbeNKwEB+Xk/nWT wQiHAm8SgCJvm3xf9a8zs+Agz6DpsynkRnKVlSH5sBRW8qGqLU3oyvqDR502PGryjrt6 fHOGj+jCaI11ds/cIJvh02s/mjWSKs1fb3o8+oMldlyk+iulfUKeNwkSjwY9r18DXBt+ tBbLX4EiGfeyL/4jQ8/oH31b3c9TYEtTAOxpshQlA6hmAMzigom4ZVg2vfQ7GTmZ8oaJ sqIg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=H6UX3x/Xf6L6lTEdqqpUPddmBDHhBi0F8kzr+1+G+rI=; b=Xy5DhsAxFsB8C7wjthEFxT4m0cmLRRDezgXjtsPmh227vGK2nVs+x5doUv6ANnEMph Wtp+KTuFina7azmAVGQKQhgupMf+gLv/FTF1KwUCuj/5NbRLcoGApWIiNgwp0VqpUMzK yoHv7HrpAWWTxso3ZuugbY1oeYiMSsKE3d8DwOIK0/ThiY6NcNo/g+9CSPvxLtkmTwRI KSBNh0Ni530OpAn0OMwjTnfHFBwbulDvO2CkhBbvdxLH9LrKhN+tikRfmofDJUTqZg3C vQvRsu8AjRC8ubPTXhgNWb6SLdjA8/OIb0Fq4I2lqglJsCBTrqYMyZlpq0SMIIgKaYWO mhKQ== X-Gm-Message-State: ABUngvftpf/kJq1kqcV3TMQbwaeKhed+rW0b5bkNjwasR/BYDIEFrNfkFOWoqx1mr07m4Q== X-Received: by 10.194.205.136 with SMTP id lg8mr12839019wjc.1.1478284067301; Fri, 04 Nov 2016 11:27:47 -0700 (PDT) Received: from enkidu.semihalf.local (31-172-191-173.noc.fibertech.net.pl. [31.172.191.173]) by smtp.gmail.com with ESMTPSA id jb2sm15552903wjb.44.2016.11.04.11.27.46 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 04 Nov 2016 11:27:46 -0700 (PDT) From: Marcin Wojtas To: edk2-devel@lists.01.org Cc: feng.tian@intel.com, michael.d.kinney@intel.com, liming.gao@intel.com, leif.lindholm@linaro.org, mw@semihalf.com, jsd@semihalf.com, bsz@semihalf.com Date: Fri, 4 Nov 2016 19:28:41 +0100 Message-Id: <1478284123-4355-1-git-send-email-mw@semihalf.com> X-Mailer: git-send-email 1.8.3.1 Subject: [PATCH 0/2] MAC address configuration from Shell X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Nov 2016 18:27:47 -0000 Hi, I present two commits that extend 'ifconfig' Shell command with ability to configure/reset MAC address of the network interfaces. For that purpose new routines were added to the NetLib. Details can be found in the commit logs. Any comments or remarks would be very welcome. Best regards, Marcin Marcin Wojtas (2): MdeModulePkg: NetLib: introduce MAC address handling helper routines ShellPkg/Ifconfig: Enable setting MAC address MdeModulePkg/Include/Library/NetLib.h | 83 +++++++++ MdeModulePkg/Library/DxeNetLib/DxeNetLib.c | 196 +++++++++++++++++++++ .../UefiShellNetwork1CommandsLib/Ifconfig.c | 54 ++++++ .../UefiShellNetwork1CommandsLib.uni | 12 +- 4 files changed, 343 insertions(+), 2 deletions(-) -- 1.8.3.1