Utility Functions
There are two utility functions that are used from various locations in the Mobile IPv6 code. In this chapter, we discuss these utility functions. Table 12–1 contains the list of functions.
Table 12–1
Utility functions.
Name | Description |
mip6_create_ip6hdr() | Create an IPv6 header as a mbuf |
mip6_cksum() | Compute a checksum value for MH messages |
12.1 Global Variables
In the Mobile Internet Protocol version 6 (IPv6) code, the global variables listed in Table 12–2 are used.
Table 12–2
Global variables.
Name | Description (related node types) |
struct hif_softc_list hif_softc_list | The list of home virtual network entries (MN) |
struct mip6_bc_list mip6_bc_list | The list of binding cache entries (CN, HA) |
struct mip6_prefix_list mip6_prefix_list | The list of prefix ... |
Get Mobile IPv6 now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.