aboutsummaryrefslogtreecommitdiffstats
path: root/src/usr/ifmgmt.c
diff options
context:
space:
mode:
authorMichael Brown <mcb30@ipxe.org>2015-06-25 14:37:18 +0100
committerMichael Brown <mcb30@ipxe.org>2015-06-25 15:28:42 +0100
commit7e7870984b4e63eeaf8416289c11bc386a77d5ba (patch)
tree5f62f7b0acc482038c08c176958577e5d8a536da /src/usr/ifmgmt.c
parent36817ea260331d7da9ea088f7e64d86ea9a1ac1d (diff)
downloadipxe-7e7870984b4e63eeaf8416289c11bc386a77d5ba.tar.gz
[ethernet] Add minimal support for receiving LLC frames
In some Ethernet framing variants the two-byte protocol field is used as a length, with the Ethernet header being followed by an IEEE 802.2 LLC header. The first two bytes of the LLC header are the DSAP and SSAP. If the received Ethernet packet appears to use this framing, then interpret the two-byte DSAP and SSAP as being the network-layer protocol. This allows support for receiving Spanning Tree Protocol frames (which use an LLC header with {DSAP,SSAP}=0x4242) to be added without requiring a full LLC protocol layer. Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/usr/ifmgmt.c')
0 files changed, 0 insertions, 0 deletions