plen2mask() Function The plen2mask() function (Listing 1-7) is a subroutine called from the main part of the rtadd6 program. This function performs the straightforward conversion from an IPv6 prefix length to the corresponding bit mask. Listing 1-7 convertscope() Function The convertscope() function (Listing 1-8) is one of the most tricky parts of IPv6 routing programs […]