Functions and Variables Featured in This Chapter
Table 13-5 lists the main functions introduced in this chapter, together with the most important global variables and data structures.
Table 13-5. Functions and data involved in protocol handler management
|
Name |
Description |
|---|---|
|
Function | |
|
|
Add/remove a protocol handler. |
|
|
Register/unregister an 802.2 protocol. They are defined as wrappers around
|
|
|
Register/unregister a SNAP client. |
|
|
Create/remove an SAP. |
|
|
Used by Ethernet devices to extract the higher-layer protocol identifier and classify the frame as unicast/multicast/broadcast. |
|
Variables | |
|
|
Number of protocol sniffers registered. |
|
|
Pointer to the data structure containing the registered protocol handler. |
|
|
Same as |
|
|
List of SNAP clients. |
|
Data structure type | |
|
|
Used to store information about an |
|
|
Used to represent a SNAP protocol. |
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