diff options
author | Curtis Larsen <larsen@dixie.edu> | 2014-08-05 19:27:10 +0100 |
---|---|---|
committer | Michael Brown <mcb30@ipxe.org> | 2014-08-05 23:10:34 +0100 |
commit | 2ce1c70166e5bdcda6c17f184755b684fa1811c3 (patch) | |
tree | 0f70ea86cd222748357f130d3b47999f9b48b607 /src/interface | |
parent | 7b3cc18462425ab816348103f1bfa2546d248d37 (diff) | |
download | ipxe-2ce1c70166e5bdcda6c17f184755b684fa1811c3.tar.gz |
[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/interface')
0 files changed, 0 insertions, 0 deletions