From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by mx.groups.io with SMTP id smtpd.web12.5759.1612432585371171135 for ; Thu, 04 Feb 2021 01:56:25 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=LnERmGx+; spf=pass (domain: redhat.com, ip: 216.205.24.124, mailfrom: lersek@redhat.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1612432584; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=rI0L4fNUKQo3Ceqk3QAWyUp7k8Gv1zcFsG5A+4gPMvc=; b=LnERmGx+oTtF4WlMBHpbF4IPaq/Crq2xWDLxTvxCWu6Sq2GPrdNIkM21zAYq5pk7bJI0pt oec1YVv0F6eoCRhK3fpZyMw33aZfkSCnwNe30ia68yEl0Gq6tC7ymaJPA8MzWY5HMifeM4 KJXrNODWMIlUcbkW3W/Z+Tr2HbIPuRQ= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-243-sqMfYWsiOhOtqoF9emM0dA-1; Thu, 04 Feb 2021 04:56:20 -0500 X-MC-Unique: sqMfYWsiOhOtqoF9emM0dA-1 Received: from smtp.corp.redhat.com (int-mx01.intmail.prod.int.phx2.redhat.com [10.5.11.11]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 4DD8E801962; Thu, 4 Feb 2021 09:56:18 +0000 (UTC) Received: from lacos-laptop-7.usersys.redhat.com (ovpn-114-169.ams2.redhat.com [10.36.114.169]) by smtp.corp.redhat.com (Postfix) with ESMTP id C80CF722D9; Thu, 4 Feb 2021 09:56:15 +0000 (UTC) Subject: Re: [edk2-devel] How can I receive EAP packets? To: devel@edk2.groups.io, yufei.liang@jumple.com References: Cc: Maciej Rabeda , Siyuan Fu , Jiaxin Wu From: "Laszlo Ersek" Message-ID: Date: Thu, 4 Feb 2021 10:56:14 +0100 MIME-Version: 1.0 In-Reply-To: X-Scanned-By: MIMEDefang 2.79 on 10.5.11.11 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=lersek@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit On 02/03/21 04:20, 梁宇飞 wrote: > Hi,everyone, I am using edkii to write EAP certified loader, I use > EFI_ SIMPLE_ NETWORK.Transmit () to contract, want to use EFI_ > SIMPLE_ NETWORK.Receive () to receive packets. It is found that > ordinary IP packets can be received, but EAP packets cannot be > received. How can I receive EAP package? I think there is a saying of > hybrid mode in the program under windows. I want to know whether > there is such a saying under EDK. In addition, I think EDK provides > EFI_ EAP_ Protocol, I want to use this interface for user name and > password authentication, but look at EFI_ EAP_ Protocol interface, do > not know how to use, I would like to ask the relevant example code? I don't know anything about "EAP", but I've CC'd the NetworkPkg owners. Thanks Laszlo