diff options
author | Curtis Larsen | 2014-08-05 20:27:10 +0200 |
---|---|---|
committer | Michael Brown | 2014-08-06 00:10:34 +0200 |
commit | 2ce1c70166e5bdcda6c17f184755b684fa1811c3 (patch) | |
tree | 0f70ea86cd222748357f130d3b47999f9b48b607 /src/image | |
parent | [efi] Open device path protocol only at point of use (diff) | |
download | ipxe-2ce1c70166e5bdcda6c17f184755b684fa1811c3.tar.gz ipxe-2ce1c70166e5bdcda6c17f184755b684fa1811c3.tar.xz ipxe-2ce1c70166e5bdcda6c17f184755b684fa1811c3.zip |
[efi] Try various possible SNP receive filters
The behavior observed in the Apple EFI (1.10) RecieveFilters() call
is:
- failure if any of the PROMISCUOUS or MULTICAST filters are
included
- success if only UNICAST is included, however the result is
UNICAST|BROADCAST
- success if only UNICAST and BROADCAST are included
- if UNICAST, or UNICAST|BROADCAST are used, but the previous call
tried (and failed) to set UNICAST|BROADCAST|MULTICAST, then the
result is UNICAST|BROADCAST|MULTICAST
Work around this apparently broken SNP implementation by trying
RecieveFilterMask, then falling back to UNICAST|BROADCAST|MULTICAST,
then UNICAST|BROADCAST, and finally UNICAST.
Modified-by: Michael Brown <mcb30@ipxe.org>
Tested-by: Curtis Larsen <larsen@dixie.edu>
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/image')
0 files changed, 0 insertions, 0 deletions