Ethernet Versus IEEE 802.3 Frames
A number of protocols go under the loose term
Ethernet. The 802.2 and 802.3 standards are represented by the
protocols ETH_P_802_2 and ETH_P_802_3, respectively, but there are many other Ethernet protocols,
listed in Table 13-2, as well as the
LLC and SNAP extensions. The standards institute a couple of hacks to support all of these
variations (h_proto isdiscussed in the following
section).
Table 13-2. Valid Ethernet types (when h_proto > 1536)
|
Protocol |
Ethernet type |
Function handler |
|---|---|---|
|
a The reason why IP has two handlers has to do with the possibility for the kernel to retrieve the IP configuration by means of protocols like RARP/BOOTP. The ic_bootp_recv handler is used only at boot time to take care of the dynamic IP configuration, and it is uninstalled once the configuration has been retrieved. See net/ipv4/ipconfig.c. | ||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Ethernet was designed before the IEEE created its 802.2 and 802.3 standards. The latter are not pure Ethernet, even though they are commonly called Ethernet standards. Fortunately, the ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access