Advanced Windows Network Programming: Unit 1 Frame Parser

Advanced Windows Network Programming: Unit 1 Frame Parser Prof. Lin Weiguo Copyleft © 2009~2015, College of Computing, CUC Sept. 2015 Topics }  ...
2 downloads 4 Views 799KB Size
Advanced Windows Network Programming: Unit 1

Frame Parser Prof. Lin Weiguo Copyleft © 2009~2015, College of Computing, CUC

Sept. 2015

Topics } 

Ethernet Frame Format

} 

Error Detection and Correction

2

Advanced Windows Network Programming

9/25/15

Ethernet Frame Format

Data Link Encapsulation Physical Encapsulation

Frame formats. (a) DIX Ethernet II (RFC 894) (b) IEEE 802.3 (RFC 1042) 3

Advanced Windows Network Programming

9/25/15

802.3 Frame Fields Definition(RFC 1042) } 

Field Definition:

Preamble == 7 bytes of 10101010 Start == 1 byte of 10101011 Destination == 6 bytes of MAC address multicast == sending to a group of stations. broadcast == (destination = all 1's) to all stations on network Source == 6 bytes of MAC address Length == number of bytes of data